Add Response File Info
Previous Topic  Next Topic 

This action is used to add virtual text variables to the list of variables to saved to a response file when writing.  If the user has passed --save-response-file on the command line, signifying that they want to save the responses from the installer to a file on exit, only virtual text which has been designated to save will be saved.  Use this action to add virtual text to the list of what to save.


Note

The default virtual text variables saved with every response are:

CreateDesktopShortcut

CreateQuickLaunchShortcut

InstallDir

InstallMode

InstallType

LaunchApplication

ProgramFolderName

SelectedComponents

ViewReadme



Standard Properties 

See Standard Action Properties.



Advanced Properties


Virtual Text

This is a list of virtual text variables separated by ;.  Each virtual text can also be specified with a type that will tell the installer how it should be saved to a file and read back in.  The current types supported are described below


boolean

the virtual text will be saved as "Yes" or "No" depending on its current value

list

the virtual text is considered a valid Tcl list and will be saved as a comma-separated list


When specifying your list of virtual text, you can specify the type by adding it after the virtual text name.


Example


Virtual Text: Foo; Bar list; MyBool boolean


This would add the three virtual text variables: Foo, Bar and MyBool to the list of variables to be stored in the response file.  Foo would be stored as-is with no interpretation.  Bar would be stored as a list, which means that <%Bar%> contains a valid Tcl list, and it will be stored as a comma-separated list in the response file.  MyBool is a boolean, so the installer will take whatever value is in <%MyBool%> and determine if it is true or false and convert it's value in the response file to Yes or No.  Any boolean value is perfectly valid within a response file, but Yes and No are used to make it easier on the user to read the file.