- Timestamp:
- Dec 5, 2024 2:53:26 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsExternal.nsh
r106061 r107237 45 45 46 46 ; Check that the options are valid. 47 ${If Not} ${options} != "exitcode=0"48 ${AndIf Not} ${options} != "ignore-exitcode"47 ${If} ${options} != "non-zero-exitcode=log" 48 ${AndIf} ${options} != "non-zero-exitcode=abort" 49 49 Abort "Internal error in _cmdExecute: options=${options} cmdline=${cmdline}" 50 50 ${EndIf} … … 58 58 Pop $0 ; Return value (exit code) 59 59 Pop $1 ; Stdout/stderr output (up to ${NSIS_MAX_STRLEN}) 60 ${LogVerbose} " $1"60 ${LogVerbose} "exit code=$0: $1" 61 61 ${Else} 62 62 nsExec::ExecToLog "${cmdline}" … … 69 69 ; Check if it failed and take action according to the 2nd argument. 70 70 ; 71 ${If} $0 <> 0 72 ${If} ${options} == "exitcode=0" 71 ${If} $0 <> 0 72 ${OrIf} $0 == "error" ; Issued by the nsExec plugin if the DLL call failed (messy handling within nsExec, sigh). 73 ${If} ${options} == "non-zero-exitcode=abort" 73 74 ${LogVerbose} "Error excuting $\"${cmdline}$\" (exit code: $0) -- aborting installation" 74 75 Abort "Error excuting $\"${cmdline}$\" (exit code: $0) -- aborting installation"
Note:
See TracChangeset
for help on using the changeset viewer.