Autolaunch – Micro Innovations M000174-19 User Manual

Page 72

Advertising
background image

Programs Windows

CE

72

M000174-19

7.14 A

UTO

L

AUNCH

Note:.
The Tool AutoLaunch is only available on XV100 devices.


The AutoLaunch.exe tool detects the insertion of an SD card and carries out one required action. It is
started by the OS and cannot be closed.

The \StorageCard\AutoLaunch.inf file is used to configure the tool. The following requirements must
be observed for the file entries:

• Only one entry is allowed per command. In case several are present, only the first one is

used.

• If a path is not given for the file to be executed, the file is automatically looked for in the

directory \StorageCard.

• The file stated is started with the program linked according to registry. The following file types

are supported: *.EXE, *.BAT, *.REG

• The command “open=…” cannot be used to assign parameters to a file.

(e.g. “test.reg –Q” or “delay.exe –t 5” are not possible!) These types of calls must be executed
in a batch file.

• The upper / lower case is ignored.



The following is an example of this type of file:

[AutoLaunch]
open=program.exe
RunOnBoot=0
[AutoLaunchBoot]
open=update.bat

[AutoLaunch]
The file stated at “open=” is:

• executed when an SD card is inserted.



RunOnBoot=0 / RunOnBoot=1

If the line is not present or RunOnBoot=0, the stated file is not executed on start.
If the value RunOnBoot=1, the stated file is executed when the panel is started. However, the
complete execution of the file before Autoexec.bat is started cannot be ensured.


[AutoLaunchBoot]
The file stated at “open=” is:

• called when the panel is booted before Autoexec.bat (Autoexec.bat is not run until the stated

file is executed completely).

not executed when an SD card is inserted.





Advertising