Reason: IIS cannot be installed because some program components (such as Windows XP Home or Lite version) are not installed in IIS.
Solution:
(1) download the IIS installation file first.
You can find on the Internet iis6.0 complete installation package xpSp1-3 full version and other IIS versions. After the download, decompress the package to the root directory of any drive letter (such as D: \, preferably the root directory to facilitate subsequent commands). The decompressed folder is similar to D: \ iisxpsp3 (may vary depending on the situation ).
(2) modify the sysoc. inf file configuration.
In "run" in the "Start" menu, enter "C: \ WINDOWS \ INF \ sysoc. inf". The system will automatically open the sysoc. inf file in notepad.
In sysoc. in INF, find the section "[components]". Because the home version is a simplified version of XP, there are very few items in it. Add this section in it: "IIS = iis2.dll, ocentry, iis2.inf ,, 7 ". Save and close.
(3) decompress the IIS. dll and IIS. ini component files to be extended to the relevant directory.
Enter "cmd" in the running process and press enter to start the command line mode. Enter the following two commands in the command line. After each command line ends, press enter (assume it is a D disk ):
Expand D: \ iisxpsp3 \ IIS. DL _ c: \ windows \ system32 \ Setup \ iis2.dll
Expand D: \ iisxpsp3 \ IIS. In _ c: \ windows \ INF \ iis2.inf
Note:
C: \ windows \ system32 \ Setup \ iis2.dll and c: \ windows \ INF \ iis2.inf are extended directories.
Note that if you extract the file to a directory, you can change d to a directory. At this time, you open the control panel-> Add/delete Windows Components, you will find that the Internet Information Service (IIS) installation options have appeared in the installation list.
(4) install IIS.
The subsequent things will be the same as the usual installation of IIS. You can select the directory you just decompressed for installation.