Installing an Application Automatically

You can use a third-party desktop computer installation application to copy a file from the installation site to a user's desktop computer. With this approach, the Application Manager automatically installs the application on the Windows CE–based device. If the Windows CE–based device is not connected, the Application Manager notes that the application has not been installed. When the device is subsequently connected, the Application Manager automatically completes the installation.

You can extract the full file name and path of the Application Manager from the default registry value of the HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\CEAppMgr.exe registry key. Because the returned value is the full file name and path of CEAppMgr.exe, you can remove the CEAppMgr.exe file name to get the desktop installation directory of Windows CE Services. You can use the desktop installation directory to copy files to the desktop computer. The location for your files will be the installation directory with your application's subdirectory appended.