.ini File Settings

InstallShield 2024 » INI File Changes View » .ini File

Project: The INI File Changes view is available in the following project types:

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

When you add an .ini file to your project, configure the following settings:

.ini File Settings

Setting

Description

Display Name

Enter the name of the .ini file, including the file extension, that you would like to edit—for example, INIFile.ini.

When you type a value for this setting, you are creating a string entry and setting its initial value for all of the languages that are currently in the project. As an alternative to typing a new value, you can click the ellipsis button (...) in this setting to select an existing string. For more information, see Using String Entries in InstallShield.

Note:The display name is of the Windows Installer Filename data type. If the display name that you enter is not already in the 8.3 format, InstallShield uses the ShortName|LongName format for this setting. For example, if you enter My File Name.ini as the value in this setting, InstallShield sets the value to MyFile~1.ini|My File Name.ini, or something similar, so that a short name is available at run time if needed.

Component

Select the component with which you want to associate this .ini file by using one of the following methods:

To select from a list of components that are already in your project, click the arrow.
To browse to the component that you want to use or to create a new component for the .ini file changes, click the ellipsis button (...).

If the selected component is installed at run time, the .ini file is changed. The .ini file is not modified if the component is not installed.

Target

Specify the location of the .ini file on the target system. Instead of entering a hard-coded path, you can select a Windows Installer folder property from the list.

Tip:Do not separate subfolders from the folder property with a backslash, but separate further levels of subfolders with a backslash—for example, [ProgramFilesFolder]MyCompany\Subdirectory.

See Also