Windows Installer Editor Reference
360
Working With Source Paths
To see a file’s path, go to the Files, Web Files, or Visual Studio Solution page and double-
click a file in the lower-right list box. The File Details dialog box appears, which displays
the path for the file in the Source Pathname field. If this field only displays a file name
or is blank, then you are working in an .MSI that was compiled from a .WSI. If files do
not have paths, you can either double-click on each file and define a path, or convert the
.MSI to a .WSI by using MSI to WSI Conversion.
See also:
Changing Source Directories
on page 360
Converting to Relative Source File Paths
on page 361
Converting to UNC-Based Source File Paths
on page 361
Changing the Source Directory Dynamically During Compile
on page 362
Changing Source Directories
When you change source directories, you can specify a new path for a selected directory
or for multiple directories.
To change source directories
1. Select Tools menu > Convert Source Paths.
In Visual Studio: Project menu > Convert Source Paths.
The Convert Source Paths dialog box appears with a list of all the directories that are
referenced in the installation.
2. Select a directory from the list.
To change multiple directories, select a high-level directory so that you can change
all of its subdirectories.
3. Click Change Selected Path.
The Change Selected Path dialog box appears.
4. Complete the dialog box:
Change to
Specify the new path.
Change Sub-Directories
Mark this to change the subdirectories of the current directory.
5. Click OK.
The Change Source Directories to column displays the new path. If you marked
Change Sub-Directories, all directories that start with the same name as the one
you changed are renamed.
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.