From 64827a6aa9b057930ddbf4f6ed75655164ad578c Mon Sep 17 00:00:00 2001 From: Romain <96626929+Romanitho@users.noreply.github.com> Date: Wed, 18 Sep 2024 12:57:39 +0200 Subject: [PATCH] Update Update-WAU.ps1 --- Sources/Winget-AutoUpdate/functions/Update-WAU.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Winget-AutoUpdate/functions/Update-WAU.ps1 b/Sources/Winget-AutoUpdate/functions/Update-WAU.ps1 index 8fa2cc2..f294bb9 100644 --- a/Sources/Winget-AutoUpdate/functions/Update-WAU.ps1 +++ b/Sources/Winget-AutoUpdate/functions/Update-WAU.ps1 @@ -18,7 +18,7 @@ function Update-WAU { #Update WAU Write-ToLog "Updating WAU..." "Yellow" - Start-Process msiexec.exe -ArgumentList "/i $MsiFile /qn /L*v ""$WorkingDir\logs\WAU-Installer.log"" RUN_WAU=YES" -Wait + Start-Process msiexec.exe -ArgumentList "/i $MsiFile /qn /L*v ""$WorkingDir\logs\WAU-Installer.log"" RUN_WAU=YES INSTALLDIR=""$WorkingDir""" -Wait #Send success Notif Write-ToLog "WAU Update completed. Rerunning WAU..." "Green"