IISscan.exe

InstallShield 2016

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

The IIS scanner (IISscan.exe) is a 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. Then you can modify the settings as needed.

When you use IISscan.exe to scan a Web site, you must place the IISscan.exe file on the machine that contains the IIS Web site.

Note • IISscan.exe requires administrative privileges. Therefore, you may need to launch it from an elevated Command Prompt window.

IISscan.exe is installed in the following location:

InstallShield Program Files Folder\System

Syntax

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

Parameters

Command-Line Parameters for IISscan.exe

Parameter

Description

-website

Specify the name of the Web site on the IIS server that you want to scan.

-outfile

Specify the full path and name of the XML file that you want the scanner to create.

This parameter is optional. If you do not pass this parameter, the IIS scanner records the IIS settings in a file called iisscan.xml in the same directory that contains the IIS scanner.

 

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