Project Description
AutoLaunch component for Windows Embedded CE 6.0 and Windows Embedded Compact 7


A Windows Embedded Compact device is developed as a standalone device to perform a set of designated task. Typically, a Windows Embedded Compact device is designed to automatically launch one or more application when the device power on.
The AutoLaunch component is created to simplify the tasks needed to launch one or more application during start up.
When included to the OS design, in addition to including the AutoLaunch.exe executable to the OS image, the following registry entries are also added to launch the AutoLaunch.exe executable during start up:

[HKEY_LOCAL_MACHINE\init]
"Launch99"=AutoLaunch.exe
"Depend99"=hex:14,00, 1e,00
To configure the AutoLaunch component to launch your application during start up, you need to add the following registry entries to the OS design project’s OSDESIGN.REG (For CE 6.0, add the entries to PROJECT.REG):

[HKEY_LOCAL_MACHINE\Startup]
"Process0"=”App1.exe”
"Process0Delay"=dword:00001388
;
"Process1"=”App2.exe”
"Process1Delay"=dword:00002710
;
"Process2"=”App3.exe”
"Process2Delay"=dword:00003A98
Based on the above registry entries, the AutoLaunch component launches App1.exe after Windows Embedded Compact 7 boot up with a 5 seconds delay, App2.exe with 10 seconds delay and App3.exe with 15 seconds delay.

1388Hex = 5000 (Representing 5000ms or 5 seconds)
2710Hex = 10000 (Representing 10000ms or 10 seconds)
3A98Hex = 15000 (Representing 15000ms or 15 seconds)

Note: The delay time in the above entries are randomly selected and not required.

Last edited Jan 28, 2011 at 7:01 AM by Samuelphung, version 2