Settings for .ini File Keywords

InstallShield 2020 Express Edition

A keyword is the lowest level of organization in an .ini file. The keywords store data that must persist between uses of an application. The settings for keywords are described below.

.ini File Keyword Settings

Setting

Description

Action

Select the action that you would like to perform. Valid options are:

Replace Old Value—The existing value is replaced with the value that you enter in the Data Value setting. If the value does not exist, the installation creates it.
Do Not Overwrite—Your value is added to the .ini file if the keyword does not already exist. No changes are made if the keyword is already present in the .ini file.
Append Tag—The installation appends your new value to that of the existing value. The new value is separated from the existing value by a comma. If the keyword to which you would like to append a tag does not exist, no changes are made.
Remove Whole Value—The keyword and its value are both removed from the .ini file. If the specified keyword does not exist, no changes are made. If you select this option, leave the Data Value setting blank.
Remove Tag—Multiple values for a keyword are known as tags. Tags are separated by commas. To remove a tag from a keyword’s value, select this option. In the Data Value setting, enter the tag that you want to be removed.

Data Value

Enter the value for the keyword. If you are adding or appending a value, enter the new value. If you are removing a tag, enter the tag that you would like to remove. If you are removing the keyword and value, leave this setting blank.

You can use Windows Installer properties in your keyword’s value. To do this, surround the property with square brackets—for example, [INSTALLDIR].

See Also