2022-01-22 08:48:33 +00:00
# Winget-AutoUpdate
Scripts to create scheduled tasks to daily update apps as system and notify connected users.
2022-01-16 22:59:37 +00:00
2022-01-22 15:58:44 +00:00
![image ](https://user-images.githubusercontent.com/96626929/150645599-9460def4-0818-4fe9-819c-dd7081ff8447.png )
2022-01-21 08:36:07 +00:00
## Intallation
2022-01-22 08:48:33 +00:00
Just download project, unzip, run install.bat as admin.
2022-01-18 08:53:53 +00:00
2022-01-21 08:36:07 +00:00
## Info
2022-01-22 08:04:18 +00:00
### Keep some apps out of Winget-AutoUpdate
2022-01-22 08:48:33 +00:00
You can exclude apps from update job (for instance, apps you want to keep at a specific version or apps with built-in auto-update):
2022-01-23 22:23:31 +00:00
Add the apps' ID you want to disable autoupdate to 'sample-excluded_apps.txt' and rename it to 'excluded_apps.txt'. (File must be placed in scripts' installation folder, or re-run install.bat).
2022-01-22 08:04:18 +00:00
### Default install location
2022-01-28 00:21:51 +00:00
By default, scripts and componants will be placed in ProgramData location (inside a Winget-autoupdate folder). You can change this with scripts argument.
2022-01-22 08:08:06 +00:00
### Notification language
2022-01-22 09:02:13 +00:00
You can easily translate toast notifications by creating your locale xml config file (and share it with us :) ).
2022-01-22 08:48:33 +00:00
### When does the script run?
Scheduled task is set to run:
- At user logon
- At 6AM eveyday (with the -StartWhenAvailable option to be sure it is run at least once a day)
2022-01-22 09:02:13 +00:00
This way, even without connected user, powered on computers get updated anyway.
### Log location
You can find logs in install location, in log folder.
2022-01-21 08:36:07 +00:00
## Optimization
2022-01-28 00:21:51 +00:00
As scripting is not my main job, feel free to give us any suggestions or optimizations in code.