Windows Installer Editor Reference
269
Advanced Installations
Prior to Windows Vista, Microsoft Internet Information Server (IIS) supported the
creation of new Web sites only on server operating systems, which excluded Windows
2000 Professional and Windows XP. For workstation operating systems that do not
support the creation of a Web site, you can let end users create a virtual directory
instead of a Web site. When you set the installation options for a Web installation, you
can select an option to install it as a virtual directory.
See
Setting Installation Options for a Web Installation
on page 274.
To create a Web site
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. If the Web installation requires a Web server restart, mark Restart IIS service
during installation. This check box does not appear when All Features is selected
above.
4. In the lower-left list box, select a parent node.
5. Click New and select New Web Site.
The New Web Site dialog box appears.
6. Complete the dialog box:
Description
Enter a description for the directory, which serves as an identifying name in
Internet Information Services.
Local Path
Specify the physical directory to which the Web site is mapped. You can browse
to any directory that has already been added to the installation. Example:
Change this to a directory under wwwroot to have this item reside under
wwwroot.
7. Click OK.
The site appears in the lower-left list box.
8. Select the new site and click Details.
The details dialog box appears with several tabs.
9. Click the Installation Settings tab and complete the tab:
Override Existing Settings
If an installation with the same name as this one is already on the destination
computer, specify whether to retain existing settings (None) or override
existing settings (All).
Support IIS 7.0 (Vista and later)
This option enables IIS 7.0, which is available only with Vista and later. If you
create a new installation, this check box is checked by default. If you open an
installation created with a previous version of Windows Installer Editor, it is not
checked. When this option is checked, a web.config file is added to the
installation although it is not saved until you save or compile the installation.
The web.config file contains the settings that you select on the Details dialog