diff options
Diffstat (limited to 'packaging')
| -rwxr-xr-x | packaging/win32/inkscape.nsi | 5 |
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)" |
