cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Limiting The Number Of Files That May Be Installed

Limiting The Number Of Files That May Be Installed

Summary

How to change the limit of files an MSI can install.

Synopsis

There is a limit on the number of files that can be included into a MSI package by default.


Discussion

The maximum number of files that can be included in an MSI-based project is dependent upon the number of bits available in the Media table. The number of bits in the Media table is 15. By default, a maximum of 32,767 files can be added directly to a project. However, larger packages can be authored.

To author a larger package, follow these steps:

  1. Backup the following file: <EditorProductPath>\Support\0409\IsMsiPkg.itp.

    Note: By default, <EditorProduct Path> is the installed location of the MSI Editor (DevStudio, IS X, etc)

  2. Overwrite this file by renaming the file: <Product Path>Support\0409\IsMsiPkgLarge.itp to IsMsiPkg.itp

  3. Rebuild the project.

This uses the larger InstallShield template that allows more than 32,767 files to be included in the project.


Additional Information

The following Windows Installer Help Library topics discuss this further:

Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Dec 03, 2007 01:48 PM
Updated by: