Specifying a Section in an .ini File

Project:This information applies to the following project types:

Basic MSI
DIM
InstallScript MSI
Merge Module
MSI Database
MSM Database
Transform

This information does not apply to InstallScript projects; however, the InstallScript language includes .ini file functions for modifying .ini file data. You can use these functions in InstallScript projects.

Once you have specified the .ini file that you would like to edit, you can move onto the second step: specifying which section of that file you want to change. The .ini files are divided into sections, with each section containing keywords. Sections are identified by the square brackets surrounding them—for example, [SectionName].

To specify an .ini file section:

1. In the View List under System Configuration, click INI File Changes.
2. Create a reference to an .ini file if it does not exist.
3. In the INI Files explorer, right-click the .ini file that should contain the section and click Add Section.

InstallShield adds a section to the INI Files explorer. Configure the section’s settings in the right pane. For details about each setting, see Section Settings for an .ini File.

After you have specified a section in your .ini file, you can add a keyword.