Windows Installer Editor Reference
275
Advanced Installations
Virtual Directory
Mark this to let end users install Web resources to a virtual directory. If you
select only this option, then this Web site will be installed as a virtual directory.
Install as Virtual Directory on Workstation
This applies only if the New Web Site option above is marked, and the
installation is installed to an operating system whose IIS version does not
support creation of a new Web site. This option ensures that end users can
install to a virtual directory even if you did not mark it above. Otherwise, the
installation will fail because it is trying to force a Web site to be created when
the IIS version disallows it.
6. Complete the New Web Site Prompts section.
These options are enabled if you mark New Web Site above. Mark the items that
the end user should be able to configure during installation. These items correspond
to options on the properties dialog box in IIS.
See
About the Web Site Details Dialog
on page 276.
7. Click OK.
Note
Clicking OK on the details dialog box regenerates the Web dialog boxes in the
installation.
See also:
About Web Installations
on page 266
Setting Installation Options for a Child Virtual Directory
An important part of setting up a Web installation is specifying the installation options
that will be available to the end user at run time. To do so, use the Virtual Directory UI
tab, which appears on the details dialog box for child virtual directories. If the virtual
directory is directly under Destination Computer, then see
Setting Installation Options
for a Web Installation
on page 274.
You set options for each Web site or virtual directory you added on the Web Files page.
Setting installation options adds Web (IIS) dialog boxes to the installation. If you omit
the procedure below, no Web dialog boxes appear to the end user, and the installation
tries to apply the defaults for all items.
Warning
Do not edit the Web (IIS) dialog boxes, except to change their order (as a group) in the
installation sequence. Editing the Web dialog boxes might cause unexpected,
undesirable behavior, including damage to the installation. Also, any operation within
this product that affects the installation’s user interface will regenerate the Web dialog
boxes, therefore, any changes you make to them will be lost.
To set installation options
1. Select Installation Expert > Web Files page.
2. In the lower-left list box, select a child virtual directory and click Details. If you don’t
see the item you want, make sure you have the correct feature selected in Current
Feature.