This shows you the differences between two versions of the page.
userspace:a_master_copy_for_inserting_scripts_-_eine_vorlage_um_einstellen_von_scripten [2014/08/25 14:39] GEI |
userspace:a_master_copy_for_inserting_scripts_-_eine_vorlage_um_einstellen_von_scripten [2021/08/23 08:37] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | \\ | ||
- | ====== check_install4j-exitcode.ins ====== | ||
- | |||
- | |||
- | Tested with opsi 4.0.1\\ | ||
- | requiredWinstVersion >= 4.11.3.6\\ | ||
- | By // | ||
- | |||
- | |||
- | |||
- | === check_install4j-exitcode.ins === | ||
- | <code winst> | ||
- | ; Exitcodes from: | ||
- | ; http:// | ||
- | |||
- | ; ExitCode from called installers | ||
- | set $ExitCode$ = getLastExitCode | ||
- | |||
- | setLogLevel = 4 | ||
- | if ($ExitCode$ = " | ||
- | comment " | ||
- | else | ||
- | if ($ExitCode$ = " | ||
- | logError " | ||
- | IsFatalError | ||
- | else | ||
- | if ($ExitCode$ = " | ||
- | logError " | ||
- | IsFatalError | ||
- | else | ||
- | logError " | ||
- | endif | ||
- | endif | ||
- | endif | ||
- | setLogLevel = 6 | ||
- | </ | ||
- | |||
- | ==== Steps ==== | ||
- | - save this script to %ScriptDrive% or %ScriptPath% | ||
- | - call this check with Sub " | ||
- | - Install4j-Setup-Installer used by Java-Programs example Spark (Messenger) | ||
- | |||
- | [[opsiscript templates|check_install4j-exitcode.ins]] | ||
- | |||
- | |||