How to install IIS on Windows 7
By default, Windows 7 Pro/Ultimate does not come with IIS 7 installed. Here is how you can add this extra feature:
1. Go to Start->Control Panel-> Programs and Features.
2. Select "Turn Windows features On or Off".
3. In the window that opens next, make sure to check IIS box, and click OK to install it.
4. After the installation, you can view your home page in a web browser by typing ‘http://localhost’ into the address bar of your web browser. A default page with a big IIS 7 logo should open up.
You can install other optional features too. Also, note that you cannot install IIS 6 on Windows 7.