Substitute Variables in Files

Substitute Variables in Files

Replaces variables like #varname# within files. This command replaces all variables of the #varname# type with their values in the specified files.

Description
Optionally, you may add comments here describing the purpose of this element.
Path
Choose the path to a 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 where setup executable file is run.
SYSTEM PATH - Windows system directory.
TEMPORARY PATH - Windows temporary directory.
WINDOWS PATH - Windows directory.
Filename or Wildcard
The name or the wildcard of the files to be replaced. If you use a CUSTOM PATH, the full path to the file should be specified.
*.txt
Variable Character
You can specify any variable character instead of '#'. For example, if you specify $ then variables like $varname$ will be replaced.
If Condition
You can specify a condition that should be met for the action to be performed. See If Condition for Wizard for more details. If the condition is FALSE then the command is skipped. See How to use If Condition for more details.