Text File Changes View
Project:The Text File Changes view is available in the following project types:
This view is not available in InstallScript projects; however, the InstallScript language includes string functions for finding and modifying string variables and literals.
The Text File Changes view is where you 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.
Configuring text file changes involves the following steps:
Note:Each text change set must be associated with a component in your project. Therefore, before you can create a text change set, your project must have at least one component. If no components exist when you are creating a text change reference, the Create a New Component dialog box is displayed, enabling you to create a component.
Tip:The Text File Changes view enables you to modify XML files without using MSXML (which is a run-time requirement if you use the XML File Changes view to modify XML files).
For details about each of the settings that you can configure for text file changes, see:
Creating a Text Change Set
Specifying a Change for a Text File
Changing the Order in Which Text File Changes Are Made
Using Windows Installer Properties to Dynamically Modify Text Files
Specifying the Code Page that Should Be Used for Opening ANSI Text Files