Finding and Replacing in the Direct Editor

InstallShield 2024

Project: This information applies to the following project types:

Basic MSI
DIM
InstallScript MSI
Merge Module
MSI Database
MSM Database
QuickPatch
Transform

The Direct Editor includes support for standard find-and-replace functionality. This functionality may be useful if you want to search for specific data or strings in your project or database and replace them with revised data or strings.

Finding Data in the Direct Editor

To find data in the Direct Editor:

1. In the View List under Additional Tools, click Direct Editor.
2. In the Tables explorer, select one of the tables that you want to search.
3. Click the Find String button. The Find dialog box opens.
4. In the Find what box, type the string that you want to find.
5. Select any other options that you want.

To search only the selected table, select the Search in current table only check box. To search all tables in the Direct Editor, clear this check box.

6. Click Find Next.

InstallShield finds the first instance of the string that you specified.

Finding and Replacing Data in the Direct Editor

To find and replace data in the Direct Editor:

1. In the View List under Additional Tools, click Direct Editor.
2. In the Tables explorer, select the table in which you want to find and replace data.
3. Click the Find and Replace button. The Replace dialog box opens.
4. In the Find what box, type the string that you want to replace.
5. In the Replace with box, type the new string.
6. Select any other options that you want.
7. Click Find Next, Replace, or Replace All.

InstallShield replaces strings as needed.

See Also