Skip to content

Commit

Permalink
(GH-296) add 1605 for valid MSI exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
ferventcoder committed Jun 4, 2015
1 parent 0dc79e3 commit c1ff5e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public class ChocolateyUninstallTemplate
# Uninstall-ChocolateyPackage msiargs (facepalm).
$silentArgs = ""$msiProductCodeGuid /qn /norestart""
# https://msdn.microsoft.com/en-us/library/aa376931(v=vs.85).aspx
$validExitCodes = @(0, 3010, 1614, 1641)
$validExitCodes = @(0, 3010, 1605, 1614, 1641)
# Don't pass anything for file, it is ignored for msi (facepalm number 2)
# Alternatively if you need to pass a path to an msi, determine that and use
# it instead of $msiProductCodeGuid in silentArgs, still very first
Expand Down

0 comments on commit c1ff5e1

Please sign in to comment.