You can install IIS by clicking Windows Features in Advanced Options under Programs in Control Panel.
Before you begin, first ensure whether your Windows 7 supports IIS or not. By default, you do not have administrative user rights 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 by using the run as command-line tool.
First of all, select the Control Panel.
Now, simply click on the features that are checked on the following screens and then hit the OK button.
A progress bar will appear.
Once the installation is over, to confirm it, simply type the following URL into your browser: http://localhost.
Now you can use Internet Information Services Manager to manage and configure IIS. To open IIS Manager, click Start, type inetmgr in the Search Programs and Files box, and then press Enter.