INI file – Insert text
This command inserts all of the entered text into a section of an ini file. There is no check for the existence of specified keys. This command is useful when you need to duplicate several keys with different values in an ini file. To delete the added block in deinstallation, you can use command Delete lines from file.
Optionally, you may add comments here describing the purpose of this element.
Choose a path to an INI-file.
APPLICATION DATA PATH - Program subfolder in Application Data folder.
CDROM PATH - CD or DVD drive.
CUSTOM PATH - The path must be defined in the filename control.
INSTALL PATH - Default installation path.
SETUP FILE PATH - The path to where setup executable file is running.
SYSTEM PATH - Windows system directory.
TEMPORARY PATH - The temporary folder of the installation #tempinstpath#. It is a subfolder genteeXX in the default temporary user's folder #temppath#.
WINDOWS PATH - Windows directory.
Name of the INI-file. If you use a CUSTOM PATH, the full path to the file must be specified.
The name of the section of the ini file where you want to insert the specified text.
Checked this checkbox if the INI-file has UTF-8 encoding.
Enter the text you want to insert. If you plan on deleting it during deinstallation using the command Delete lines from file, bound the text with unique comments.
;my begin path=#setuppath# val=34 ;my end
INI file – Insert text command
Insert at beginning
By default, the text is inserted at the end of the section. If you want to insert text at the beginning of the section, check this box.
You can specify a condition that should be met for the action to be performed. If the condition is false then the command is skipped. See How to use If Condition for more details.