Creating A .Net Installation Without The .Net Framework - Symantec WINDOWS INSTALLER EDITOR 7.0 SP2 - REFERENCE FOR WISE INSTALLATION EXPRESS V1.0 Installation Manual

Table of Contents

Advertisement

Creating a .NET Installation Without the .NET
Framework
Windows Installer Editor Reference
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
3.
Add assemblies to the installation, using the Files page.
Be sure to add all files in multifile assemblies.
See
Adding .NET Assemblies to the Installation
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 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 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
5.
If the installation contains both .NET and Win32 components, register the .NET
components for COM interop.
a.
Use a computer that has the .NET Framework installed and has the assemblies.
This typically is a development computer.
b.
For each .NET assembly, run the Assembly Registration tool (regasm) from the
Visual Studio command prompt. Run regasm with the argument /regfile and
specify a file name.
Example: regasm AssemblyFileName /regfile:RegFileName.reg.
on page 91.
on page 122.
on page 134.
Advanced Installations
237

Advertisement

Table of Contents
loading

This manual is also suitable for:

Windows installer editor 7.0 sp2

Table of Contents