DefaultInstall (Windows CE 5.0)

Windows CE 5.0
Send Feedback

The [DefaultInstall] section is required and describes the default installation of your application.

Note   If you want to use the .inf file to target multiple processors or platforms that you specify, append an unique label that indicates the platform to the section name to distinguish the sections. For more information, see CEDevice.
[DefaultInstall]
CopyFiles=copyfile_list_section[,copyfile_list_section]
AddReg=add_registry_section[,add_registry_section]
[CEShortcuts=shortcut_list_section[,shortcut_list_section]]
[CESetupDLL=setup_DLL]
[CESelfRegister=self_reg_DLL_filename[,self_reg_DLL_filename]

Parameters

shortcut_list_section
String that identifies one more sections which define shortcuts to a file.

For more information about the syntax to use, see CEShortcuts.

setup_DLL
Optional string specifying a Setup.dll file, which must be specified in the [SourceDisksFiles] section. This file must contain customized functions for operations during installation and removal of the application.
self_reg_DLL_filename
String which identifies files that self-register on the target device at installation time. You must also specify these files in the [SourceDisksFiles] section.

At installation time on the target device, the installer automatically loads the DLL and calls the DllRegisterServer Component Object Model (COM) function. If this function call fails, then the installation fails.

At uninstall time, the uninstaller automatically calls the DllUnregisterServer COM function.

The following code example uses this format:

[DefaultInstall]
CopyFiles = CopyToInstallDir,CopyToWindows
AddReg = RegSettings
CEShortcuts = Shortcuts
CESetupDLL = SetupDLLFileName.dll
CESelfRegister = SelfRegDLLFileName.dll

See Also

Information File | CAB Wizard | CopyFiles | AddReg | CEShortcuts


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show: