
Windows Installer Editor Reference
128
Assembling an Installation
See
Creating a Win32 Assembly
on page 129.
To edit assembly settings for files
1. Do one of the following:
In Installation Expert: On the 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 Assembly tab.
The Assembly tab only appears for files that are keypaths to their components.
3. Complete the dialog box. If .NET is installed on this computer, some of these
options may be preconfigured. If you don’t have .NET, enable options below by
selecting .NET in Assembly Type.
Assembly Type
Specify whether this file is a .NET assembly, a Win32 assembly, or neither.
Manifest
.NET and Win32 assemblies require a manifest. Select the file that contains the
manifest for this assembly. For .NET assemblies, this often is the same as the
file you are editing, because most manifests are embedded in the assembly file
or in one of the files in a multifile assembly. For Win32 files, the manifest is
often an external file with the same name plus “.manifest”. (Example: The
manifest for My.exe would be named My.exe.manifest.)
See
Creating a Win32 Assembly
on page 129.
Assembly Attributes
This displays the assembly’s culture, name, publicKeyToken, and version
attributes.
If this information has not been pre-filled, click Add to enter it. Enter the Name
and Value for each of the assembly’s attributes.
For information on obtaining assembly attributes, see
Creating a .NET
Installation Without the .NET Framework
on page 243.
Show reference in Visual Studio .NET
Mark this to add a registry key that displays this assembly as a reference in
Visual Studio on the destination computer. (Visual Studio .NET 2002 or later
only.) This lets you pull the assembly into a Visual Studio project without having
to browse for it.
Execute Install method on this assembly
A .NET assembly can contain an install object that performs additional
installation functions unique to the assembly. Mark this to execute this
assembly’s install object after the file is installed.
Generate native-code version during installation
Mark this to run the Native Image Generator (ngen.exe) on the assembly after
it is installed. The Native Image Generator precompiles portions of the assembly
and caches it on the target computer so assemblies load and execute faster. For
details, search for “Native Image Generator” in the MSDN Library
(
msdn.microsoft.com/library/
).
4. Click OK.