summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Morgan <chris.morganiser@gmail.com>2010-03-08 22:18:54 +0000
committerChris Morgan <chris.morganiser@gmail.com>2010-03-08 22:18:54 +0000
commita0d5bd3c964a073469d9ced71c912a7a18754f30 (patch)
tree4d5ee30d2d1394f6675461f6f89c97c8428dc6d9
parentDon't snap to points which are off-screen (diff)
downloadinkscape-a0d5bd3c964a073469d9ced71c912a7a18754f30.tar.gz
inkscape-a0d5bd3c964a073469d9ced71c912a7a18754f30.zip
Fixed the Win32 uninstaller.
(bzr r9168)
-rwxr-xr-xpackaging/win32/inkscape.nsi5
1 files 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)"