Import a Package through IIS Manager

By Faith A

October 29, 2008

This quick guide will help you install a package of your Web application using the IIS Manager, including a SQL database. To create a package, see Export a Package through IIS Manager.

Prerequisites

This guide requires the following prerequisites:

  • .NET Framework 2.0 SP1 or greater
  • Web Deployment Tool 1.0
  • IIS 7.0 or above, or IIS Remote Manager

Note: If you have not already installed the Web Deployment Tool, see Installing the Web Deployment Tool.

Prerequisites if you're using SQL

Note: The second and third prerequisites will be installed if you install the Web Deployment Tool using the Web Platform Installer

  • SQL Server Express or Standard
  • SQL Server 2008 Management Objects (SMO) - x86 or x64
  • SQL CLR Types - x86 or x64

Import a Package

1. Always make a backup prior to changing your system. Run the following command to backup an IIS 7.0 or above server:

%windir%\system32\inetsrv\appcmd add backup "PreMsDeploy"

2. Open the IIS Manager by clicking Start > Run and typing inetmgr.

3. In IIS Manager, expand the Server node and the Sites node, then select the Default Web Site.

4. In the right-hand Actions pane, click the Import Application... link to launch the packaging wizard.

5. Select the package that you created in the previous quick guide, MyApplication.zip, or any other package.

6. In the Install an Application Package dialog, you will see the application and the database.

7. On the Parameters page, enter a new application name if desired and enter a SQL connection string.

8. Click Next to install the package.

9. The Summary page will provide a high-level overview of some items that were installed from the package. The Details tab will give a lot of detail of exactly what was added.

Summary

Congratulations! You have now installed a package. It contains the content files, a SQL database and an IIS application.



Discuss in IIS Forums