Specifying a Change for a Text File

InstallShield 2020

Project:This information applies to the following project types:

Basic MSI
InstallScript MSI
Merge Module
MSI Database

This information does not apply to InstallScript projects; however, the InstallScript language includes string functions for finding and modifying string variables and literals. You can use these functions in InstallScript projects.

Once you have specified the text file that you would like to edit, you can move onto the next step of configuring text file changes: specifying the search-and-replace criteria. Each set of criteria is known as a change item.

To specify the change that you want to be made for a text file:

1. In the View List under System Configuration, click Text File Changes.
2. In the Text File Changes explorer, right-click the change set item whose text changes you want to define, and then click Add Change.

InstallShield adds a new change item with a default name.

3. Enter a new name, or right-click it later and click Rename to give it a new name.

The name is not displayed at run time; it is an internal name that is used to differentiate between various change items in your project.

4. In the right pane, configure the settings for the change. For details about each setting, see Change Set Settings.

To modify additional strings in the text file, add additional change items to the change set in this view—one for each string change.

Tip:You can use Windows Installer public properties to specify the search strings and the replacement strings. This enables you to use data that end users enter in dialogs, or other configuration information that is determined at run time, when your product’s text files are modified at run time. To learn more, see Using Windows Installer Properties to Dynamically Modify Text Files.

See Also