Modifying Text Files

InstallShield 2018

Project • This information applies to the following project types:

Basic MSI
DIM
InstallScript MSI
Merge Module
MSI Database
Transform

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.

InstallShield enables you to configure search-and-replace behavior for content in text files—for example, .txt, .htm, .xml, .config, .ini, and .sql files—that you want to modify at run time on the target system. The text files can be part of your installation, or they can be files that are already present on target systems.

The Text File Changes view is where you define the changes that you want to be made to the text files. This view lets you do the following:

Add one or more text change sets to your project. A text change set is a reference to one or more text files that you want to search at run time.
Add one or more text change items to a text change set. A text change item identifies the search-and-replace criteria.

To configure text file changes:

1. Create a text change set.
2. Specify the change for the text file.

For more information on how to modify a text file at run time, consult this section of the documentation.

See Also