InstallAware for Windows Installer
 

Generate Native Images

This command generates or deletes native images for a .NET assembly. Native images remove the need for just in time compilation and therefore improve performance for .NET applications. Native images are typically generated for assemblies installed into the Global Assembly Cache using the Install Assembly command.

Beginning with .NET 2.0, this command can be used with .NET 2.0 executables as well. When used with .NET 2.0 executables, this command generates native images for all assemblies associated with the executable (without manually requiring to specify each assembly).

Assembly Path or Full Name

Enter the physical path to the assembly on the target system here, OR enter the full name of the assembly here.

With .NET 2.0, you may also enter the physical path on the target system to an executable, which will generate native images for all assemblies associated with that executable.

Generate Native Images

Generates native images to improve runtime performance.

Delete Native Images

Deletes previously generated native images to recover disk space.

 Notes

  • If you are installing into the GAC, it will be easier to enter the full name of the assembly, instead of the physical path on the target machine which can be difficult to determine. To obtain the full name of the assembly, click the Browse button, then choose the assembly file located on your local system. This will automatically obtain the full name of the assembly for you. If you attempt to enter the full name of the assembly yourself, be sure to enter the precise, correct name, otherwise the Generate Native Images command will fail to locate the assembly.
  • If you are not installing into the GAC, it will be easier to enter the full path to the assembly on the target system instead, such as $TARGETDIR$\assemblies\mylibrary.dll. In this case do not use the Browse button.