Changing .ini File Data
InstallShield 2020 Express Edition
An initialization (.ini) file is a special text file that contains information that applications and the Windows system use to specify application options at startup or run time. Some .ini files, such as Boot.ini and Wininit.ini, are used by the operating system. You can store profile, configuration, language, font, and device driver information in an .ini file.
Note that it is recommended as a general rule that application settings be stored in the registry, instead of in .ini files.
Format of an .ini File
Information in .ini files is stored under section names enclosed within square brackets, and each item has the form keyname=value, as shown below:
[section name]
keyname1=value1
keyname2=value2
keyname3=value3
Key data can be a string value or an integer value.
InstallShield Projects and .ini Files
The INI File Changes view in InstallShield enables you to specify changes that should be made to .ini files on the target system during the installation of your product. Although you can edit any .ini file found on the target system, editing system .ini files is not recommended.
Editing an .ini file involves three steps:
1. | Create an .ini file reference or import an .ini file. |
2. | Add a section to the .ini file. |
3. | Add a keyword to the .ini file. |
See Also
Importing an Existing .ini File