Windows Installer Editor Reference
149
Assembling an Installation
information on formatted text strings, see Formatted in the Windows Installer SDK
Help.
See
Editing Existing Tables
on page 383.
Creating and Editing .INI Files
Note
When you change an .INI file and then view its contents, the lines within the changed
section might not be in the same order as before the change. This is not a problem
because the entries in an .INI file are not order dependent.
To create and edit an .INI file from Installation Expert
1. Select INI Files page.
2. From Current Feature, select a feature or condition. (Because any item you add
must be assigned to a specific feature, you cannot add an item when All Features
is selected.)
Items that you add to a feature are installed on the destination computer only if the
feature is installed.
Items that you add to a condition are installed only if the feature is installed and the
condition is true.
3. To create a new folder for the INI file, click New Folder, enter a folder name, and
click OK.
4. In the left pane, select a folder and click New File.
The INI File Details dialog box appears.
5. Complete the dialog box; see below.
6. Click OK.
The INI File entry appears in the right list box. To edit it, double-click its name. To
delete it, use the right-click menu.
To create and edit an .INI file from Setup Editor
1. On the Components or Features tab, expand a component or feature.
2. To create a new folder for the INI file, right-click the INI Files icon or one of its
subfolders and select New > Folder. Rename the folder.
3. Right-click a folder and select New > INI File.
Note
Add the .INI file immediately after creating the folder, because if you create the
folder, but fail to put an .INI file entry inside it, the folder is deleted from the
installation the next time you save it.
The INI File Details dialog box appears.
4. Complete the dialog box; see below.
5. Click OK.
The INI File entry is added to the selected feature or component and appears in the
upper-right pane. To edit it, double-click its name. To delete it, use the right-click menu.