Skip to content

Commit 9cc5266

Browse files
committed
Removed reinstall feature since it causes issues and is not needed anymore anyhow
1 parent ea7e252 commit 9cc5266

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Refresh-WingetConfiguration.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,8 +437,8 @@ if ( ($configuration | ConvertTo-Json -Depth 1 -Compress) -ne $previousCommandLi
437437
Invoke-WAURefresh -configuration $configuration;
438438

439439
if ( $configuration.ReinstallOnRefresh ) {
440-
& "$scriptlocation\Winget-Autoupdate\config\WAU-MSI_Actions.ps1" -InstallPath "$($scriptlocation)\Winget-Autoupdate" -Uninstall;
441-
Write-LogFile "Removed WAU for Reinstall." -Severity 1
440+
# & "$scriptlocation\Winget-Autoupdate\config\WAU-MSI_Actions.ps1" -InstallPath "$($scriptlocation)\Winget-Autoupdate" -Uninstall;
441+
Write-LogFile "Reinstall not supported anymore." -Severity 1
442442
}
443443

444444
& "$scriptlocation\Winget-Autoupdate\config\WAU-MSI_Actions.ps1" -InstallPath "$($scriptlocation)\Winget-Autoupdate";

0 commit comments

Comments
 (0)