Skip to content

Commit

Permalink
fix(nsis): regression since 20.40.0 - nsis uninstaller is not silent
Browse files Browse the repository at this point in the history
Close #3813
  • Loading branch information
develar committed Apr 6, 2019
1 parent 4ee4be6 commit 4d92abf
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,11 @@ Function uninstallOldVersion
StrCpy $0 "$0 --updated"
${endif}

ExecWait '"$uninstallerFileName" /KEEP_APP_DATA $0 _?=$installationDir' $R0
ExecWait '"$uninstallerFileName" /S /KEEP_APP_DATA $0 _?=$installationDir' $R0
${if} $R0 != 0
DetailPrint `Aborting, uninstall was not successful. Uninstaller errorcode: $R0.`
DetailPrint `Aborting, uninstall was not successful. Uninstaller error code: $R0.`
SetErrorLevel 5
Abort "Can not uninstall"
Abort "Cannot uninstall"
${endif}
Done:
FunctionEnd
Expand Down

0 comments on commit 4d92abf

Please sign in to comment.