Introduction
You can use the Microsoft® Web Platform Installer (Web PI) to easily install Internet Information Services (IIS), and applications that run on IIS. If you choose to install IIS 7.0 or IIS 7.5 (collectively known as IIS 7) manually, you can use this article for guidance.
Before You Begin
Ensure that you have installed one of the supported editions of Windows Vista® and Windows 7 before proceeding.
•Windows Vista® Ultimate
•Windows Vista® Home Premium
•Windows Vista® Business
•Windows Vista® Enterprise
•Windows® 7
Also be sure that you have administrative privileges on the computer. Note that by default, you do not have administrative privileges if you are logged on as a user other than the built-in administrator, even if you were added to the local Administrators group on the computer (this is a new security feature in Windows Server® 2008 called Local User Administrator). Log on either to the built-in administrator account, or explicitly invoke applications as the built-in administrator using the runas command-line tool.
Note that you can run runas /user:administrator cmd.exe so that every application you run from that command line will be elevated, eliminating the need to use the runas syntax from that command line.
If you are logged on to an account other than the built-in local administrator account, you may see the following security alert dialog box.
Figure 1: Windows® Security (User Account Control)
Install IIS 7
1. To open the Windows Features dialog box, click
Start, and then click
Control Panel.
Figure 2: Windows Vista Start menu
2. In the
Control Panel, double-click
Programs.
Figure 3: Control Panel Home
3. Click
Turn on or off Windows features.
Figure 4: Control Panel install options
4. You may receive the Windows Security warning. Click Allow to continue. The Windows Features dialog box will be displayed.
Figure 5: Windows Security dialog box
5. Double-click
Internet Information Services. Additional IIS features are displayed. Select the check box next to
Internet Information Services to choose the feature for installation.
Figure 6: Windows Features dialog box - IIS
6. To continue expanding features within the list, double-click the feature to see any sub-features. For example, double-click on
Web Management Tools to see which tools are installed by default.
Figure 7: Windows Features dialog box - IIS feature selection
7. To install just the IIS 7 default features, click
OK. If you are installing IIS 7 for evaluation purposes, you may want to select additional features within Internet Information Services for installation. Select the check boxes for all IIS features you want to install, and then click
OK to start installation.
Figure 8: Windows Features dialog box - Installation selection
8. The progress indicator displays.
Figure 9: Progress indicator
9. When the installation completes, the Windows Features dialog box closes and you are returned to the Control Panel Home page.
Figure 10: Control Panel Home page
10. IIS 7.0 is now installed with a default configuration on Windows Vista or Windows 7. Confirm that it works using
localhost
Figure 11: Default Web site
11. Next, you can use the Internet Information Services Manager to manage and configure IIS.
Figure 12: Default Web Site Home page
If you want to use ASP, Microsoft® ASP.NET, or PHP, install the modules needed to host these pages; this can be done during the installation of IIS or after the installation is complete.