diff options
author | Gerd Weiss <gm@openoffice.org> | 2007-05-10 10:05:41 +0000 |
---|---|---|
committer | Gerd Weiss <gm@openoffice.org> | 2007-05-10 10:05:41 +0000 |
commit | e92e989a660efee2672d3b82a81eb7298d8cf42c (patch) | |
tree | b879e8c7672df1dcdba94e248846bd1938915c7f /setup_native/source/win32/nsis | |
parent | f4477fecec8c367f4741d626054914bec1216330 (diff) |
INTEGRATION: CWS native82 (1.7.86); FILE MERGED
2007/05/04 10:24:43 is 1.7.86.2: #i75394# return values also for nsis
2007/05/04 09:51:03 is 1.7.86.1: #i75394# return values also for nsis
Diffstat (limited to 'setup_native/source/win32/nsis')
-rw-r--r-- | setup_native/source/win32/nsis/downloadtemplate.nsi | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/setup_native/source/win32/nsis/downloadtemplate.nsi b/setup_native/source/win32/nsis/downloadtemplate.nsi index edeae48ca..6da17b90c 100644 --- a/setup_native/source/win32/nsis/downloadtemplate.nsi +++ b/setup_native/source/win32/nsis/downloadtemplate.nsi @@ -275,13 +275,15 @@ Section -Post StrCmp $2 "ON" postremovesilent nopostremovesilent nopostremovesilent: - ExecWait "$INSTDIR\setup.exe -lang $LANGUAGE $3 /qr -ignore_running" + ExecWait "$INSTDIR\setup.exe -lang $LANGUAGE $3 /qr -ignore_running" $0 + SetErrorLevel $0 Quit GoTo onPostDone postremovesilent: - ExecWait "$INSTDIR\setup.exe -lang $LANGUAGE $3 /qr -ignore_running" + ExecWait "$INSTDIR\setup.exe -lang $LANGUAGE $3 /qr -ignore_running" $0 RMDir /r $INSTDIR RMDir $INSTDIR + SetErrorLevel $0 Quit GoTo onPostDone @@ -298,9 +300,10 @@ Section -Post Quit GoTo onPostDone postremove: - ExecWait "$INSTDIR\setup.exe -lang $LANGUAGE $3" + ExecWait "$INSTDIR\setup.exe -lang $LANGUAGE $3" $0 RMDir /r $INSTDIR RMDir $INSTDIR + SetErrorLevel $0 Quit GoTo onPostDone |