Lets start from the beginning.
You need to be logged in as an Administrator
No Group Policy can be in place preventing the installation.
You need to goto add remove programs
Click Add Remove Windows Components
You will see the Windows XP Setup Please Wait Screen
Then the components screen comes up choose IIS and check the box next to it
Make sure ANY windows XP install disks (SAME SERVICE PACK) is in the drive.
Then click next.
Windows will install your component and prompt you to reboot.
That’s it! Let me know if something goes wrong or you can not proceed.
If that is the case check your event log by going to:
Right Click My Computer
Choose Event Log
Look for any red X’s – and post them here. This is a pretty straight forward setup.
If you do not have the SP2 CD and only have a SP1 CD follow these instructions:
I tried to install Internet Information Service (IIS) on my Windows XP Service Pack 2. The setup failed and kept asking for Windows XP SP2 CD. I only had Windows XP SP1 CD and the Service Pack 2 Service Pack 2 installation package.
I tried to find an existing solution on the Internet using Google. I read and attempted many solutions including a complicated one from Microsoft Support (support.microsoft.com/?kbid=894351) and some simple solutions “Installing IIS after Service Pack 2″. None of those solutions I found actually worked, or the instruction was too complicated to follow
Finally I had to solve by myself. Here is what I did: I had unpacked the SP2 installation file using WinRar a while ago and compiled a CD image file from it. I mounted this CD image onto a virtual CD. I install and use this Virtual CD to supply the missing files which are somewhere inside the I386 folder.
Here are the steps you can follow to install IIS without having a Windows XP SP2 CD:
1. Download the XP SP2 installation file (www.softwarepatch.com/windows/xpsp2.html) if you do not already have.
2. Extract the content of the file into a folder using WinRar (www.win-rar.com) or similar compression software;
3. Start installing IIS using standard procedure (Control Panel > Add and Remove Programs > Windows Components)
4. When it prompts for source folder, browse for the I386 folder that you extracted earlier
5. When it prompts for missing files, browse I386 and its sub-folders for them.
The solution was easier than it look. You do not need to riskily alter the Windows security folder. You do not need to spend time merging SP2 into Windows XP CD. All you need to do is to use what were already there.