From 42fe2bb464565e5ebcb35adb7d84eb1bd1f9f893 Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Tue, 9 Mar 2010 09:18:54 +1100 Subject: [PATCH] Fixed the Win32 uninstaller. --- packaging/win32/inkscape.nsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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)" -- 2.30.2