Turning Path Variable Substitution On And Off; Creating A User-Defined Path Variable - Symantec WINDOWS INSTALLER EDITOR 8.0 Reference

Hide thumbs Also See for WINDOWS INSTALLER EDITOR 8.0:
Table of Contents

Advertisement

Turning Path Variable Substitution On and Off

Creating a User-Defined Path Variable

Windows Installer Editor Reference
Use to Replace Substrings
You can also use path variables to replace any matching substring in a path. Example: If
files are in C:\Development\Application\Version1.0, you could create a path variable
named Version and set it to Version 1.0. Each time an instance of "Version 1.0" was
found in a path, it would be replaced with [Version].
Options for Creating a Path Variable
Creating a User-Defined Path Variable
Creating a Path Variable Based on an Environment Variable
Creating a Path Variable Based on a Registry Value
The Path Variables page lets you define variables to replace commonly-used source
paths. Once these variables are defined, you can turn them on and off.
To turn path variable substitution on and off
1.
Select Installation Expert > Path Variables page.
2.
Mark or clear the check box in the Replace column.
Turning substitution off does not remove the path variable from paths for files added
previously; it only affects paths for files added subsequently.
See also:
About Path Variables
on page 315
You can create a user-defined path variable that is set to a directory on your computer.
To create a user-defined path variable
1.
Select Installation Expert > Path Variables page.
2.
Click Add at the right of the page and select User-Defined Path Variable.
The User-Defined Path Variable Details dialog box appears.
3.
Complete the dialog box:
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 paths of files
that are pulled from the directory that appears in Current Value.
Current Value
(Read-only) This displays what you enter in Defined Value.
Defined Value
Specify the directory to replace with a variable. When you add a file from this
directory, the variable name replaces the path.
Working With Source Paths
on page 316.
on page 317.
on page 317.
316

Advertisement

Table of Contents
loading

Table of Contents