Web Publishing

This view allows you to publish a Web Deploy Package on local (IIS) or remote/cloud targets (e.g. Microsoft Azure Web Sites).

ImportantPublishing Web Deploy packages requires Microsoft Web Deploy 3.5 and PowerShell 2.0 (or later) to be installed on the target machine where the main installation runs.

General

Name

The friendly name of the Web Deploy Package.

Source

The source location on disk of the Web Deploy Package. It can be set only when adding the package from the disk. Later on this path cannot be edited.

Install Condition

You can set a condition for publishing the package. Edit this field using Smart Condition Edit Control.

Target

Specifies the target location where package will be published. For local and remote publishing the Remote Agent Service (MsDepSvc) will be used.

Local IIS Server

The package will be published on local machine where the main setup package is installing.

In the Site / WebApp field you should specify the existing web site/application name on target IIS Server in which the package will be published. The package can also be published in a web site/application installed by the main setup package. This field is of Formatted Type and can be edited using Smart Edit Control.

Create Website if it doesn't already exist option will automatically create the web site targeted by the web deploy if it does not exist.

Remote Server

Server - The remote server machine address.

Site / WebApp - The existing web site/application name on target IIS Server in which the package will be published. The package can also be published in a web site/application installed by the main setup package.

TipThe Server and Site / WebApp fields are of Formatted Type and can be edited using Smart Edit Control by inserting Windows Installer property references which will be resolved at install time.

User Name - The user name used by the remote connection. The user specified in this field must be an Administrator.

Password - The password used by the remote connection.

TipYou can set the User Name and Password fields using the [ ... ] button. The Property Picker Dialog will be displayed allowing you to choose a Windows Installer property.

Cloud

Publish Profile - Specify the publish settings file. The following options are available:

  • File: use profile from the package - this option allows you to add the settings file from the disk.
  • Property: use profile chosen at run time - this option allows you to specify the settings file at install time by using Windows Installer property references.

Profile Source - Specify the settings file path from the disk or a Windows Installer property which will be resolved at install time to the settings file path.

Error Policy

Action on error

Select the IIS configuration tool's desired behavior when an error is encountered during the Web Deploy Package publishing operation.

  • Skip item installation - when a publishing error is encountered the installer will automatically skip the item's installation and continue the setup.
  • Rollback installation - when a publishing error is encountered the installation will rollback with an error message.
  • Prompt user to skip item or rollback installation - when a publishing error is encountered the user will be prompted to choose whether to continue the installation skipping that item or to abort.