This is an old revision of the document!
This is a master copy. Click on <edit this page> and copy the contents under “snipp”. Then create the page for your own script, paste the content to the editor and modify it as you need it.
Tested with opsi 4.0.1
requiredWinstVersion >= 4.11.3.6
By GEI 2014/08/24 18:08
; Exitcodes from: ; http://resources.ej-technologies.com/install4j/help/doc/indexRedirect.html?http&&&resources.ej-technologies.com/install4j/help/doc/helptopics/installers/errors.html ; ExitCode from called installers set $ExitCode$ = getLastExitCode setLogLevel = 4 if ($ExitCode$ = "0") comment "ExitCode = "+$ExitCode$+" Normal execution (no error)" else if ($ExitCode$ = "1") logError "ExitCode = "+$ExitCode$+" Installation fails" IsFatalError else if ($ExitCode$ = "83") logError "ExitCode = "+$ExitCode$+" failed - installer could not find a suitable JVM to run" IsFatalError else logError "ExitCode = "+$ExitCode$+" unknown error" endif endif endif setLogLevel = 6