Windows Installer Editor Reference
251
Advanced Installations
To map an existing physical directory to a virtual directory
Use this procedure if you have already created a directory on the Files page or a Web
folder on the Web Files page, and you now want to map that directory to a virtual
directory.
1. On the Web Files page, in the lower-left list box, select a parent node.
2. Click New and select New Virtual Directory.
The New Virtual Directory dialog box appears.
3. Complete the dialog box:
Alias
Enter an alias for the directory. This appears in the URL to this Web resource.
Local Path
Browse to the existing directory to be mapped to a virtual directory.
4. Click OK.
To delete a virtual directory
z
On the Web Files page, in the lower-left list box, select a virtual directory and click
Delete.
A message asks if you want to delete the corresponding physical directory and files.
On the Files page, you cannot delete a physical directory that is linked to a virtual
directory.
To change a virtual directory to a Web site
z
On the Web Files page, in the lower-left list box, right-click a top-level virtual
directory and select Change to Web Site. (You cannot change a child virtual
directory.)
Any Web dialog boxes in this installation are regenerated.
Settings on the details dialog box that do not apply to Web sites are unavailable.
However, if you change this back to a virtual directory, those settings are retained.
See
Setting Installation Options for a Web Installation
on page 252 and
About the Web
Site Details Dialog
on page 255.
See also:
About Web Installations
on page 245
Creating a New Web Folder
To create a new Web folder
1. Select Installation Expert > Web Files page.
If you don’t see the Web Files page, select All from the Page Views drop-down list.
2. From Current Feature, select a feature or condition. (Because any item you add
must be assigned to a specific feature, you cannot add an item when All Features
is selected.)
3. In the lower-left list box, select a Web site or virtual directory.