Code

Win32 uninstaller: MD5 checksums need string comparison rather than int comparison
authorChris Morgan <chris.morganiser@gmail.com>
Fri, 12 Mar 2010 08:59:16 +0000 (19:59 +1100)
committerChris Morgan <chris.morganiser@gmail.com>
Fri, 12 Mar 2010 08:59:16 +0000 (19:59 +1100)
packaging/win32/inkscape.nsi

index 8074a480f9e8d99ddf977ea843a4d55740286762..c7200772a8b69b930e58673c246931ff05f4044c 100755 (executable)
@@ -962,7 +962,7 @@ Section Uninstall ; do the uninstalling {{{
         ${Else}
           md5dll::GetMD5File /NOUNLOAD $filename
           Pop $5 ;md5 of file
-          ${If} $3 = $5
+          ${If} $3 == $5
             StrCpy $3 1 ; yes
           ${ElseIf} $6 != never
             ; the md5 sums does not match so we ask