Variables offer a lot of flexibility. You can use variables in the following ways:
You can use them to receive user input on screens with edit fields, list boxes, radio buttons, check boxes, and buttons.
You can use them to receive information from the Registry with a Read from Registry action, or to receive information from an INI file with a Read from INI File action.
You can use them in conditional expressions to set up run-time install conditions that determine whether individual files are installed.
You can use variables in the messages that get displayed on screens.
You can use them in screen conditions that determine whether individual screens are displayed.
You can use variables as temporary storage when manipulating strings with string actions.
You can use them in conditional expressions to set up conditional blocks and loops with IF and WHILE actions.
You can load the contents of a text file into a variable using a Read Text File action.
You can use actions to write their values to the Registry, to INI files or to text files.
You can use them in expressions to perform calculations on data retrieved from the user's system.
You can use them wherever you need to provide a path.
Basically, anywhere that you can enter text, you can use variables.
See Also: Variables, Defining Variables with Actions, Defining Variables with Screens