92 lines
1.9 KiB
Plaintext
92 lines
1.9 KiB
Plaintext
;Request Exitcode of last Program
|
|
set $ExitCode$ = getLastExitCode
|
|
|
|
;Modify Loglevel
|
|
setLogLevel = 4
|
|
|
|
;Check ExitCode
|
|
|
|
if ($ExitCode$ = "0")
|
|
setLogLevel = 5
|
|
comment "ExitCode = "+$ExitCode$+" Success"
|
|
setLogLevel = 4
|
|
endif
|
|
|
|
if ($ExitCode$ = "-1")
|
|
logError "ExitCode = "+$ExitCode$+" General error"
|
|
isFatalError
|
|
endif
|
|
|
|
if ($ExitCode$ = "-2")
|
|
logError "ExitCode = "+$ExitCode$+" Invalid mode"
|
|
isFatalError
|
|
endif
|
|
|
|
if ($ExitCode$ = "-3")
|
|
logError "ExitCode = "+$ExitCode$+" Required data not found in the Setup.iss file"
|
|
isFatalError
|
|
endif
|
|
|
|
if ($ExitCode$ = "-4")
|
|
logError "ExitCode = "+$ExitCode$+" Not enough memory available"
|
|
isFatalError
|
|
endif
|
|
|
|
if ($ExitCode$ = "-5")
|
|
logError "ExitCode = "+$ExitCode$+" File does not exist"
|
|
isFatalError
|
|
endif
|
|
|
|
if ($ExitCode$ = "-6")
|
|
logError "ExitCode = "+$ExitCode$+" Cannot write to the response file"
|
|
isFatalError
|
|
endif
|
|
|
|
if ($ExitCode$ = "-7")
|
|
logError "ExitCode = "+$ExitCode$+" Unable to write to the log file"
|
|
isFatalError
|
|
endif
|
|
|
|
if ($ExitCode$ = "-8")
|
|
logError "ExitCode = "+$ExitCode$+" Invalid path to the InstallShield Silent response file"
|
|
isFatalError
|
|
endif
|
|
|
|
if ($ExitCode$ = "-9")
|
|
logError "ExitCode = "+$ExitCode$+" Not a valid list type (string or number)"
|
|
isFatalError
|
|
endif
|
|
|
|
if ($ExitCode$ = "-10")
|
|
logError "ExitCode = "+$ExitCode$+" Data type is invalid"
|
|
isFatalError
|
|
endif
|
|
|
|
if ($ExitCode$ = "-11")
|
|
logError "ExitCode = "+$ExitCode$+" Unknown error during setup"
|
|
isFatalError
|
|
endif
|
|
|
|
if ($ExitCode$ = "-12")
|
|
logError "ExitCode = "+$ExitCode$+" Dialogs are out of order"
|
|
isFatalError
|
|
endif
|
|
|
|
if ($ExitCode$ = "-51")
|
|
logError "ExitCode = "+$ExitCode$+" Cannot create the specified folder"
|
|
isFatalError
|
|
endif
|
|
|
|
if ($ExitCode$ = "-52")
|
|
logError "ExitCode = "+$ExitCode$+" Cannot access the specified file or folder"
|
|
isFatalError
|
|
endif
|
|
|
|
if ($ExitCode$ = "-53")
|
|
logError "ExitCode = "+$ExitCode$+" Invalid option selected"
|
|
isFatalError
|
|
endif
|
|
|
|
;Modify Loglevel
|
|
setLogLevel = 6
|
|
|