From: Chris Morgan Date: Mon, 8 Mar 2010 22:18:54 +0000 (+1100) Subject: Fixed the Win32 uninstaller. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=42fe2bb464565e5ebcb35adb7d84eb1bd1f9f893;p=inkscape.git Fixed the Win32 uninstaller. --- diff --git a/packaging/win32/inkscape.nsi b/packaging/win32/inkscape.nsi index 18a9a258f..be0b9e33d 100755 --- a/packaging/win32/inkscape.nsi +++ b/packaging/win32/inkscape.nsi @@ -959,8 +959,9 @@ Section Uninstall ; do the uninstalling {{{ ${Else} md5dll::GetMD5File /NOUNLOAD $filename Pop $5 ;md5 of file - ${If} $3 != $5 - ${AndIf} $6 != never + ${If} $3 = $5 + StrCpy $3 1 ; yes + ${ElseIf} $6 != never ; the md5 sums does not match so we ask messagebox::show MB_DEFBUTTON3|MB_TOPMOST "" 0,103 \ "$(FileChanged)" "$(Yes)" "$(AlwaysYes)" "$(No)" "$(AlwaysNo)"