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

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

Open
Purple-Tentacle opened this issue Nov 20, 2024 · 2 comments
Open

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

Purple-Tentacle opened this issue Nov 20, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Purple-Tentacle
Copy link

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

@Purple-Tentacle Purple-Tentacle added the bug Something isn't working label Nov 20, 2024
@FaserF
Copy link
Contributor

FaserF commented Nov 24, 2024

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
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants