Skip to content

Commit

Permalink
Fix Uninstall
Browse files Browse the repository at this point in the history
The Uninstall would throw an error using the MSI method, changing to EXE and updating the silentArgs to VERYSILENT fixes the issue from what I can see.
  • Loading branch information
ScottMonolith committed Jan 3, 2024
1 parent 61772b6 commit 2dc40f6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

$packageName = 'lenovo-thinkvantage-system-update'
$softwareName = 'Lenovo System Update'
$installerType = 'MSI' # Installed as .exe, but uninstall as .MSI!
$installerType = 'EXE'

$silentArgs = '/qn /norestart'
$silentArgs = '/VERYSILENT'
$validExitCodes = @(0, 3010, 1605, 1614, 1641)
if ($installerType -ne 'MSI') {
}
Expand Down

0 comments on commit 2dc40f6

Please sign in to comment.