User Guide
324
About Path Variables
Creating a Path Variable Based on a Registry Value
You can create a path variable that is set to a registry value. For information on using
variables for source paths, see About Path Variables on page 322.
When a registry path value is displayed on the Path Variables page, a double slash
precedes the value name. This is normal. (You might have to scroll to the right to see
this value in the Defined Value column.)
1. Select Installation Expert > Path Variables page.
2. Click Add at the right of the page and select Registry Path Variable.
The Registry Path Variable Details dialog appears.
3. Complete the dialog:
• Variable Name
Enter any name, but do not use special characters or spaces. Because this is not
a Windows Installer property, you do not need to follow Windows Installer
property naming conventions. This variable is inserted into the pathnames of
files that are pulled from the directory that appears in Current Value.
• Current Value
(Read-only.) This shows the current data of the registry value specified below.
•Reg. Key
Specify the complete key name of the registry value that contains a directory
path. The registry browser that appears shows only key names (folder icons).
You specify the value in Reg. Value below.
•Reg. Value
Select the value to pull a directory name from. This list shows the values
contained in the key you selected above.
• Replace When Matched
Mark this to activate this path variable. If this is cleared, this path variable has
no effect on files you add to the installation.
4. Click OK.