Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add WAU winget informations #736

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,18 @@ Instead you must escape **every** special character (notice the `%` escape too)

If `-ListPath` is set to **GPO** the Black/White List can be managed from within the GPO itself under **Application GPO Blacklist**/**Application GPO Whitelist**. Thanks to [Weatherlights](https://github.com/Weatherlights) in [#256 (reply in thread)](https://github.com/Romanitho/Winget-AutoUpdate/discussions/256#discussioncomment-4710599)!

### Use winget to install WAU
The following command will install WAU through winget itself in the newest version available.

```
winget install Romanitho.Winget-AutoUpdate
```

You can use [Winget-Install](https://github.com/Romanitho/Winget-Install) to deploy the package for example in Intune:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The thing is, I will not maintain that repo anymore, as winget-install is part of WAU now.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Am I wrong, but right now, not everything has been moved from winget-install to WAU, right?
"(Will be part of WAU - Work in progress)".

Therefore doesnt it make sense to start like this and then change the README again once everything has merged to WAU?

But of course, I can remove that part if you want to.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The script at Winget-Install.ps1 is part of WAU and is maintained here.

The main goal of this script is to install WAU and use it as a dependency for all your Winget packages. This way, you can create empty packages with the following command: "%systemroot%\sysnative\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass -File "C:\Program Files\Winget-AutoUpdate\Winget-Install.ps1" -AppIDs Adobe.Acrobat.Reader.64-bit

This way, Mods and stuff are also applied.

But i'm open to have a standalone repo with that. But double repo to maintain 😅

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks understood. Maybe you should then archive your old repo and make a link to WAU and the script there. For example I am using winget-install and WAU since your early days and I always thought that this is still WIP, havent noticed that Winget-install is already completly obsolete.

For me personally, those are two completely different things (WAU vs. winget-install) as we dont install apps with WAU, WAU is just for updating? But in the end it is how you want to handle your tools :) Have a look at the latest commit, I hope thats fine.

Until now my package at Microsoft hasnt been approved yet.

```
"%systemroot%\sysnative\WindowsPowerShell\v1.0\powershell.exe" -noprofile -executionpolicy bypass -file winget-install.ps1 -AppIDs "Romanitho.Winget-AutoUpdate --scope machine --override \"/qn RUN_WAU=YES USERCONTEXT=1 STARTMENUSHORTCUT=1 NOTIFICATIONLEVEL=SuccessOnly UPDATESINTERVAL=Daily""
```

**MODSPATH**<br>
Get Mods from external Path (**URL/UNC/Local/AzureBlob**) - download/copy to `mods` in Winget-AutoUpdate installation location if external mods are newer.<br>
For **URL**: This requires a site directory with **Directory Listing Enabled** and no index page overriding the listing of files (or an index page with href listing of all the **Mods** to be downloaded):
Expand Down
1 change: 1 addition & 0 deletions Sources/Winget-AutoUpdate/config/default_excluded_apps.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ Microsoft.Teams*
Mozilla.Firefox*
Opera.Opera*
TeamViewer.TeamViewer*
Romanitho.Winget-AutoUpdate