The following examples illustrate a few uses of system variables:
Instead of specifying the entire path and filename, you could create a system variable. For example, the name of the variable could be “OpenOffice INI” and the value could be the full path to the file. Now, instead of specifying the full path and filename when you are creating the action, you could type ${OpenOffice INI} in the field.
An advantage of using a system variable rather than typing the full path and filename is that you could specify this particular .ini file in many different types of actions. Suppose that the location of the .ini file changes. Instead of editing the path in each action, you can edit the path in the system variable and all the actions would still point to the correct path.
You could generalize the path even more by creating a system variable named “ProgramFiles” with the value of C:\program files. In the future, when you specify a path, you can type ${ProgramFiles} and then specify the remaining path to the specific file. For example, ${ProgramFiles}\OpenOffice 2.0\program\setup.ini. Again, if the path to the C:\program files directory changes in the future, you only need to change the path in the system variable, rather than in each bundle that uses that location in a path.
You could use a system variable when creating one bundle, and depending on the location of the targeted device object in the folder hierarchy, the value could be different.
For example, suppose that all of your applications are installed in C:\program files except for specific applications used by the accounting department, which are installed in D:\program files. You could define the “ProgramFiles” variable at the Management Zone level to point to C:\program files. For the accounting applications, you could create a device folder, called Accounting Department, to contain the devices in the accounting department. You could set the value for the “ProgramFiles” variable to D:\program files on the Accounting Department device folder level. When the same bundle is applied to devices, the path to the program files directory would be on the C:\ drive for all targeted devices except for those contained in the Accounting Department device folder. For those devices, the program files directory would point to the D:\ drive.