Share via


Installing a Custom Shell

Once you have developed your custom shell, install the shell on your target device through the registry. The following example shows the registry key for installing a shell called MyShell.exe.

[HKEY_LOCAL_MACHINE\Init]
    Launchxx = "MyShell.EXE"
    Dependsxx = hex:14, 00, 1e, 00

If you created your custom shell by modifying the source code for the standard shell, then your shell executable is named Shell.exe and the default registry settings provided in Common.reg load your shell automatically.

When Windows CE starts, it executes the Launchxx keys in order. Make your shell the last item numbered. Then add a Dependsxx key, which lists the dependencies on previous launch components. The value of this key is a sequence of DWORD values that lists the sequence numbers of dependent components.

Windows CE waits for dependent components to run and initialize before launching the Launchxx keys with the matching number. For example, if you register your shell as Launch60, you should have a Depends60 key that lists the components that must be initialized before your shell is launched. Before executing the Launch60 key, Windows CE waits for all components listed in the Depends60 key to be executed and initialized.

See Also

Creating a Custom Shell | How to Customize the Shell

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.