DefaultInstall

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

[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 section that defines shortcuts to a file, as defined in the [CEShortcuts] section.

  • setup_DLL
    Optional string that specifies a Setup.dll. It contains customized functions for operations during installation and removal of the application. The file must be specified in the [SourceDisksFiles] section.

  • self_reg_DLL_filename
    String that identifies files that self-register by exporting the DllRegisterServer and DllUnregisterServer Component Object Model (COM) functions. You must specify the files in the [SourceDisksFiles] section.

    During installation, if installation on the device fails to call the exported DllRegisterServer function of the file, the exported DllUnregisterServer function of the file will not be called during removal.

The following code example uses this format.

[DefaultInstall]
CopyFiles = CopyToInstallDir,CopyToWindows
AddReg = RegSettings
CEShortcuts = Shortcuts

See Also

Creating an .inf File | CAB Wizard Overview | CAB Wizard Syntax

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.