Windows Installer Editor Reference
127
Assembling an Installation
Editing Self-Registration Settings for Files
Many files support self-registration (examples: many .OCXs and some .DLLs). You can
edit these files so that they self-register during installation.
To edit self-registration settings for files
1. Do one of the following:
In Installation Expert: On the Files or Web Files page, double-click a file.
In Setup Editor: On the Components or Features tab, double-click a file.
The File Details dialog box appears.
2. Click the Self-registration tab.
3. Complete the dialog box:
Registration Method
Do not register
Unordered (normal Windows Installer behavior)
Select this if the file does not require that other files in the installation be
registered first for it to self-register properly.
Use order specified below
(Not available in a merge module.)
Select this if this file requires that other files in the installation be registered
first for it to self-register properly. This enables the Registration Order
field.
Registration Order
This section lists files you selected for self-registration with the Use order
specified below method. Arrange files in the order in which they need to self-
register. You can only move the file for which you are viewing details.
Generate COM interop registry keys for .NET Assembly
If this installation contains both .NET and COM elements, mark this to register
.NET assemblies so that they can be called as though they were COM elements.
This check box is enabled only if you have the .NET Framework installed on your
computer, and if the file you are viewing is an assembly that was written to
allow COM interop. When the Application Type on the Product Details page is
Mixed (.NET and Win32), this check box is marked by default.
4. Click OK.
Editing Assembly Settings for Files
Use the Assembly tab on the File Details dialog box to enter and edit information about
.NET and Win32 assemblies. Windows Installer Editor uses this information to register
the assembly files.
z
For a .NET assembly, use the Assembly tab to enter the assembly attributes. If the
.NET Framework is installed on your computer, this information is filled in from the
assembly manifest and you should not have to change it. Also use the Assembly tab
to specify whether to display the .NET assembly as a reference in Visual Studio .NET
on the destination computer.
z
For a Win32 assembly, use the Assembly tab to create and edit a manifest.