check exit status from extract

This commit is contained in:
Mario Fetka
2013-03-15 05:54:00 +01:00
parent 93a90dd821
commit f58f38039e

View File

@@ -79,10 +79,11 @@ else
if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only")
Message "Installing " + $ProductId$ + " "+ $VERSION$ + "-" + $CREATOR_TAG$ + $RELEASE$ + " 32 Bit..."
ChangeDirectory "%SCRIPTPATH%"
comment "Extract the setup programm"
Winbatch_extract_32
Sub_check_exitcode
comment "Start setup program"
ChangeDirectory "%SCRIPTPATH%"
Winbatch_install_32
Sub_check_exitcode
comment "Copy files"
@@ -95,10 +96,11 @@ else
if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only"))
Message "Installing " + $ProductId$ + " " + $VERSION$ + "-" + $CREATOR_TAG$ + $RELEASE$ + " 64 Bit..."
ChangeDirectory "%SCRIPTPATH%"
comment "Extract the setup programm"
Winbatch_extract_64
Sub_check_exitcode
comment "Start setup program"
ChangeDirectory "%SCRIPTPATH%"
Winbatch_install_64
Sub_check_exitcode
comment "Copy files"