Code

Fixed the Win32 uninstaller.
authorChris Morgan <chris.morganiser@gmail.com>
Mon, 8 Mar 2010 22:18:54 +0000 (09:18 +1100)
committerChris Morgan <chris.morganiser@gmail.com>
Mon, 8 Mar 2010 22:18:54 +0000 (09:18 +1100)
packaging/win32/inkscape.nsi

index 18a9a258fbfcd400e0b0966a810124fa9c480ed4..be0b9e33da4ef804abd814f6d0a60f8d639ff80e 100755 (executable)
@@ -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)"