Converting To Relative Source File Paths - Symantec WINDOWS INSTALLER EDITOR 8.0 Reference

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

Advertisement

Converting to Relative Source File Paths

Windows Installer Editor Reference
Example: If you change C:\Program Files\Application\Manual to C:\Program
Files\Application\Online Manuals, all the directories that begin with C:\Program
Files\Application\Manuals are changed.
6.
To make additional changes, repeat the preceding steps.
7.
To set the path type for files that you add to the installation later, make a selection
from Path Type on the Convert Source Paths dialog box.
You can set paths to absolute, relative, or UNC-based.
8.
Click OK.
All parts of the installation that reference these directories are updated.
See also:
Source Paths in an Installation
You can convert the paths of source files to relative paths. You might do this to keep all
your source files in a central version and source control system. (Example: Microsoft
Visual SourceSafe. In Microsoft Visual SourceSafe, if you copy the installation files to a
different directory each time you do a Get, you can use this feature to ensure that the
paths are always valid, even though the directory structure changes.)
A relative path uses .\ in the path to indicate the current directory, and it uses ..\ to
indicate one directory up. All paths are relative to where the .WSI or .MSI file is located.
Example: If the path to the .WSI is C:\Development\Application.wsi, and you add the
file C:\Program Files\Application.ini, the relative path of Application.ini is ..\Program
Files\Application.ini.
To convert to relative source file paths
1.
Select Tools menu > Convert Source Paths.
The Convert Source Paths dialog box appears.
2.
Click Change All Paths to Relative.
The Change Source Directories to column displays the new paths.
A one-time conversion of the paths in the installation is performed. To change the
directories back to absolute paths, select high-level directories and change the
paths.
See
Changing Source Directories
Paths to files that are not on the same drive as the installation file are not
converted, because they cannot be written as relative paths. Predefined paths, such
as [ProgramFiles], cannot be changed to relative paths.
3.
To convert all directories you add to the installation later to relative paths, select
Relative Paths from Path Type.
4.
Click OK.
on page 318
on page 319.
Working With Source Paths
320

Advertisement

Table of Contents
loading

Table of Contents