Import a Package through IIS Manager
by Faith A
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.
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
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"
- Open the IIS Manager by clicking Start > Run and typing inetmgr.
- In IIS Manager, expand the Server node and the Sites node, then select the Default Web Site.
- In the right-hand Actions pane, click the Import Application... link to launch the packaging wizard.
- Select the package that you created in the previous quick guide, MyApplication.zip, or any other package.
- In the Install an Application Package dialog, you will see the application and the database.
- On the Parameters page, enter a new application name if desired and enter a SQL connection string.
- Click Next to install the package.
- 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.
Congratulations! You have now installed a package. It contains the content files, a SQL database and an IIS application.