Windows Installer Editor Reference
265
Advanced Installations
About Microsoft .NET Technology
on page 548
Requirements for Creating a .NET Installation
on page 552
Frequently Asked Questions About Microsoft Windows Installer
on page 546
Creating a .NET Installation Without the .NET Framework
on page 265
Setting a Requirement on the System Requirements Page
on page 187 (for information
on setting the required .NET Framework version)
Creating a .NET Installation Without the .NET
Framework
¾
Windows Installer 2.0 or later only.
You can build an installation for a .NET application even if you do not have the .NET
Framework installed on your computer. Perhaps your company’s development computers
have the .NET Framework, but the computer you use to build installations does not. If
you do not have the .NET Framework, you must do manually what the .NET Framework
normally does automatically.
To create a .NET installation without the .NET Framework
1. Select Installation Expert > Product Details page.
2. In Application Type, select either .NET Application or Mixed (.NET and
Win32).
This designates the installation as .NET and determines how Windows Installer
Editor handles COM interop registry entries.
See
Product Details Page
on page 102.
3. Add assemblies to the installation, using the Files or Web Files page.
Be sure to add all files in multifile assemblies.
See
Adding .NET Assemblies to the Installation
on page 137.
4. Add attributes and dependencies for each assembly.
a. Use a computer that has the .NET Framework installed and has the assemblies.
This typically is a development computer.
b. For each assembly, run the ildasm tool from the Visual Studio command
prompt. When you run ildasm, you select an assembly and the program displays
the assembly’s attributes. Write down the assembly’s culture, name,
publicKeyToken, and version, as well as any dependencies.
c.
On the Files or Web Files page, add the dependency assemblies to the same
directory as the assembly that has the dependencies. Repeat for each assembly.
d. In the lower right pane of the Files or Web Files page, double-click an assembly
to display the File Details dialog box. Click the Assembly tab. Click Add to add
the Name and Value of the assembly’s culture, name, publicKeyToken, and
version. Repeat for each assembly.
See
Editing Assembly Settings for Files
on page 149.
5. If the installation contains both .NET and Win32 components, register the .NET
components for COM interop.