This action lets you write information to a text file; for example to set initial options for your program or store information about the package's execution, such as the user’s name or the destination directory. All variables can be stored into the text file (additional settings for your application for example). Property Name | Data Type | Description |
|---|
Contents | StringList | A list of strings seperated by the characters #13#10 (return carriage/line feed). To edit these list of strings, use the "..." button to open the editor: it works like Notepad. When writing the text file, the package will replace all occurrences of variable and resource strings by their values. See below. | | Filename | String | Points to the path+filename of the text file that the package should create (the filename does not necessary require the .txt extension). |

Notes: If the text file exists, it will be overwritten. The uninstaller will not remove this file unless you specify it.

Example: Imagine you enter this text in the Contents property: [MyProgram] FilesPath=%DESTPATH% Title=%APPTITLE% SetupPrompt=#SetupPrompt %RES1% In the text file the result will be: [MyProgram] FilesPath=C:\Windows\Temp\Setup000 Title=My package setup SetupPrompt=Are you sure you want to continue? 1 All existing variables and resource strings are replaced. |