Romanitho / Winget-AutoUpdate

WAU daily updates apps as system and notify connected users. (Allowlist and Blocklist support)
MIT License
1.19k stars 141 forks source link

[Bug]: Do not understand Installation with Intune #769

Open Purple-Tentacle opened 6 days ago

Purple-Tentacle commented 6 days ago

The problem

Hi,

I am a bit confused on how to install WAU with Intune. Here you explained the process, this is the commandlline: "%systemroot%\sysnative\WindowsPowerShell\v1.0\powershell.exe" -noprofile -executionpolicy bypass -file "C:\Program Files\Winget-AutoUpdate\Winget-Install.ps1" -AppIDs "Romanitho.Winget-AutoUpdate --scope machine --override \"/qn RUN_WAU=YES USERCONTEXT=1 STARTMENUSHORTCUT=1 NOTIFICATIONLEVEL=SuccessOnly UPDATESINTERVAL=Daily""

From my understanding, the Winget-Install.ps1 must already be in the Program Files directory? So we install WAU with the install script and the install script is installed together with WAU? Am I missing something? Am I misunderstandingt something?

Thanks!

What version of WAU has the issue?

all

What version of Windows are you using (ex. Windows 11 22H2)?

Windows 11 23H2

What version of winget are you using?

v1.9.25200

Log information

When using the commandline, it seems the script is not starting, there are no logs created.

Additional information

No response

FaserF commented 1 day ago

You will have to deploy WAU manually first, deploy it with winget on the systems (winget install Romanitho.Winget-AutoUpdate) or with the MSI file. Afterwards you can use C:\Program Files\Winget-AutoUpdate\Winget-Install.ps1 to install other winget apps with Winget-Install

KnifMelti commented 1 day ago

Here you explained the process, this is the commandlline

That entry in the README is wrong, it can only be used to install other WinGet packages, not WAU itself.