Sunday, June 12, 2005
how to run IIS 5.0 on XP Home (and then ASP.NET)
thanks to http://www.webthang.co.uk/Tuts/tuts_server/iis_xph/pippo_xp.asp
Most of the hacks posted leave out a key module: IISsuba.dll
General HOWTO for setting up and running IIS in Windows XP Home Edition using Win 2000 Pro.
by Randall Smith PMI – PMP,
- adapted from Richard Sandoz - Certified Java Programmer
1) Locate and edit the file C:\WINDOWS\INF\SYSOC.INF
2) Find a line which should look like this (should be in section called [Components]):
iis=iis.dll,OcEntry,iis.inf,hide,7
3) Change it to this (the iis cab/folder in the i386 xp home folder appears to be nothing):
iis=iis2.dll,OcEntry,iis2.inf,,7
à (If you try to delete this line, some sort of ms caching thing will keep sticking back “iis.dll”. Another strategy of quickly renaming and making hidden dir called iis.dll seems to thwart the caching, but the effort is not worth it, so using iis2.dll is good enough)
4) Copy iis.dl_ , iis.in_ and IISsuba.dl_ from \i386 directory of Win2k Pro cd to a work-directory of your hard drive (e.g. c:\temp\). From the Run dialog type (note the outputs for the first two modules are renamed versions):
EXPAND c:\temp\IIS.DL_ c:\temp\IIS2.DLL
EXPAND c:\temp\IIS.IN_ c:\temp\IIS2.INF
EXPAND c:\temp\IISsuba.dl_ c:\temp\IISsuba.dll
5) Copy IIS2.DLL to c:\Windows\System32\Setup.
Copy IIS2.INF to c:\Windows\INF
Copy IISsuba.dll to c:\Windows\System32
6) Open the Control Panel. Select the “Add Windows Programs”. IIS and its options should now appear. If it does not, check the SYSOC.INF file and confirm the “hide” keyword was removed during the edit.
7) When you close the dialog, it will prompt you for necessary files from both the WinXP CD and the Win2000 CD. In one case, it may ask for the WinXP Pro CD, but it will accept the WinXP Home CD.
8) You can get to your Internet Services Manager (IIS control) from Control Panel's Administrative Tools.
9) Test the program by creating “hello world” from http://localhost .
10) install asp.net by running C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i
- folder - v1.1.4322 corresponds to ASP.NET 1.1
modify it as appropriate.
Most of the hacks posted leave out a key module: IISsuba.dll
General HOWTO for setting up and running IIS in Windows XP Home Edition using Win 2000 Pro.
by Randall Smith PMI – PMP,
- adapted from Richard Sandoz - Certified Java Programmer
1) Locate and edit the file C:\WINDOWS\INF\SYSOC.INF
2) Find a line which should look like this (should be in section called [Components]):
iis=iis.dll,OcEntry,iis.inf,hide,7
3) Change it to this (the iis cab/folder in the i386 xp home folder appears to be nothing):
iis=iis2.dll,OcEntry,iis2.inf,,7
à (If you try to delete this line, some sort of ms caching thing will keep sticking back “iis.dll”. Another strategy of quickly renaming and making hidden dir called iis.dll seems to thwart the caching, but the effort is not worth it, so using iis2.dll is good enough)
4) Copy iis.dl_ , iis.in_ and IISsuba.dl_ from \i386 directory of Win2k Pro cd to a work-directory of your hard drive (e.g. c:\temp\). From the Run dialog type (note the outputs for the first two modules are renamed versions):
EXPAND c:\temp\IIS.DL_ c:\temp\IIS2.DLL
EXPAND c:\temp\IIS.IN_ c:\temp\IIS2.INF
EXPAND c:\temp\IISsuba.dl_ c:\temp\IISsuba.dll
5) Copy IIS2.DLL to c:\Windows\System32\Setup.
Copy IIS2.INF to c:\Windows\INF
Copy IISsuba.dll to c:\Windows\System32
6) Open the Control Panel. Select the “Add Windows Programs”. IIS and its options should now appear. If it does not, check the SYSOC.INF file and confirm the “hide” keyword was removed during the edit.
7) When you close the dialog, it will prompt you for necessary files from both the WinXP CD and the Win2000 CD. In one case, it may ask for the WinXP Pro CD, but it will accept the WinXP Home CD.
8) You can get to your Internet Services Manager (IIS control) from Control Panel's Administrative Tools.
9) Test the program by creating “hello world” from http://localhost .
10) install asp.net by running C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i
- folder - v1.1.4322 corresponds to ASP.NET 1.1
modify it as appropriate.
