Overview of InstallScript .cab and .hdr Files

InstallShield 2016

Project • This information applies to the following project types:

InstallScript
InstallScript Object

When you build an InstallScript installation, InstallShield may create an InstallScript cabinet file (.cab) called data1.cab, plus additional .cab files if necessary. InstallShield also creates an InstallScript header file called data1.hdr. Depending on your project’s release settings, these files may be left uncompressed, or they may be or streamed into the Setup.exe file.

An InstallScript .cab file is a compressed file that contains the files that your installation installs on an end user’s system. Cabinet files serve as a container for files that you directed your installation to install, either through InstallShield or through your script. Cabinet files also contain information and files about language and system dependencies. In addition, they store other files—such as the InstallScript engine—that InstallShield adds to your installation at build time.

The data1.hdr file is an InstallScript header file (.hdr) is a file that references the corresponding data1.cab file. It contains general information that you entered in your installation project. It also includes information about each of the files, components, features, and other data in your installation.

Important • You can open data1.cab and data1.hdr files in the InstallShield Cabinet and Log File Viewer. Although InstallShield may create other .cab files such as data2.cab for your installation, the viewer can open only the data1.cab and data1.hdr files. Note that the data1.cab file, the data1.hdr file, and all other .cab files that are part of an InstallScript installation must be in the same folder when you are using the InstallShield Cabinet and Log File Viewer.

See Also