Scanning an IIS Web Site and Importing Its Settings into an InstallShield Project

InstallShield 2019

Edition • The ability to import IIS data into an InstallShield project is available only in the Premier edition of InstallShield.

Project • This information applies to the following project types:

Basic MSI
DIM
InstallScript
InstallScript MSI
Merge Module

InstallShield includes support for scanning an existing IIS Web site, recording IIS data about the Web site, and importing those settings into the Internet Information Services view of an InstallShield project. Once you have imported the data into a project, you can make changes to the IIS settings as needed, and build an installation that creates or maintains an IIS Web site.

The IIS scanner (IISscan.exe) is a command-line tool that scans an IIS Web site and records the values of the settings that you can configure in the Internet Information Services view in InstallShield. IISscan.exe creates an XML file that contains all of the values. You can use this XML file to import the values into the Internet Information Services view.

IISscan.exe is installed in the following location:

InstallShield Program Files Folder\System\iisscan.exe

To scan an existing Web site and record all of the IIS data that can be configured in the Internet Information Services view:

1. Place the IISscan.exe tool on the server that has the IIS Web site that you want to scan.
2. At the command prompt, enter the command-line statement that launches the IIS scanner to scan a specific Web site. Following is a sample statement:

iisscan.exe -website "Site Name" -outfile "C:\PathToFile\FileName.xml"

For more information about IISscan.exe, see IISscan.exe.

The IIS scanner creates an XML file that contains the IIS data for the specified Web site.

To import the data from the XML file into an InstallShield project:

1. Obtain the XML file that the IIS scanner created, and place it in a location that can be accessed from the machine that has InstallShield.
2. In the View List under Server Configuration, click Internet Information Services.
3. Right-click the Web Sites explorer and click Import Web Site. The Open dialog box opens.
4. Select the XML file that the IIS scanner created, and then click Open.

InstallShield imports the Web site and its settings into the Internet Information Services view. All of the Web site’s settings, virtual directories, and applications are configured in this view during the import.

Tip • InstallShield lets you configure filters if you want to prevent certain IIS data—such as Web sites, applications, virtual directories, application pool, or any of their settings—from ever being imported into the Internet Information Services view. To learn more, see Filtering IIS Data When Importing a Web Site and Its Settings into an InstallShield Project.

See Also