In view of using LAUNCHER Office as a Windows service, it may be useful to launch commands with LAUNCHER Office Service initialisation.
Modified launcher.ini file as follow in order to set on a start-up script :
[service]
StartupScript=c:\program files\launcher<X>\startup.cmd
(assuming a startup.cmd file in c:\program files\launcher<X> directory)
Any commands can be included in this file (other scripts launch, executable, network reading device, mapping, ..). Being line processed, this script must not contain script language (if, goto, …). Using such script types requires to call them from the main script.
If this option is activated a remainder appears in the LAUNCHER Office trace.
Example :
Processing the service Start up Script c:\program files\launcher400\startup.cmd
If one line fails, the line text will appear in the trace together with an error message.
If the script stacks, service will not start. It is very important that the script be tested separately before being put into place (example : using the LAUNCHER Office SHELL command).
N.B. : The script will only be run if Launcher is in Service Mode (Otherwise the option will be ignored).