(1) 打开 C:\Windows\INF\SYSOC.INF
(2) 在 [Components] 中,找到这一行
iis=iis.dll,OcEntry,iis.inf,hide,7
(3)将它改为
iis=iis2.dll,OcEntry,iis2.inf,,7
这是因为当我改变iis.dll时,ms caching机制就会把它修复;我可以把iis.dll改名,并且迅速建立一个隐藏的iis.dll目录来阻止它被还原,但是这样太麻烦,不如在设置里把改为iis2.dll来得方便。
(4) 从win2k Adv Server CD抓取iis.dl_和iis.in_。这种方法对W98、FP等都有效,因此我想在这里也是可以的。进入DOS命令状态,键入
EXPAND IIS.DL_ IIS2.DLL
EXPAND IIS.IN_ IIS2.INF
再把IIS2.INF拷到C:\WINDOWS\INF中,把IIS2.DLL拷到C:\WINDOWS\SYSTEM32\SETUP中。
(5) 现在到控制面板选“添加/删除程序”,现在有 IIS 选项,终于能安装了,好耶! - 只可惜我不能从XPpro CD里面安装。:(((
接下来照默认值安装(因为我只要其中的IIS Web 服务器)。
(6) 安装过程中,系统会提示你需要哪些文件。它们可以从 MS XP Home CD 、Adv Server CD 、C:\WINNT\SYSTEM32\INETSRV、C:\Windows\I386 等得到(它会告诉你文件名,你只要打开文件搜索就可以找到了,也许光盘中有你需要的全部文件)。
(7) 装完以后,你可以在控制面板的管理工具中设置IIS了。
我按照某个 index.html 所述的方法配置 IIS ,不行 :(((
我在 inetpub 文件夹上点右键,试着操作共享文件夹,不行 :(((
于是,我打开事件查看器,找到了上述操作中的错误。现在进入 IIS ,在Directory Security选项中,点 Edit ,Browse,选中笔记本上的设置文件。
(9) 太好了,终于见到了 http://localhost 的欢迎页面。
对上述解决方案,我不能提供任何技术支持,因为我是一个失业程序员,自己尚在求职中。
我买的 Toshiba 5005 笔记本预装有 XP home 版。后来我又买了 Win XP Professional 版。
我订阅了 MSDN ,并因此得到一大叠 CD 。然而我在 Internet 上却发现了很多矛盾的地方。
微软说 IIS 在 XP Professional 版才有。他们网站上的 q310090 还进行了专门阐述。
于是我尝试升级到 XP pro 版。然而进行到屏幕上出现 XP 的标志和动画时,笔记本当了。我发誓,别人那里也有类似的情况。或许这种笔记本无法升级到 XP pro 版吧!
(1) locate and edit the file C:\WINDOWS\INF\SYSOC.INF
(2) locate a section called [Components]
(3) find a line like this:
iis=iis.dll,OcEntry,iis.inf,hide,7
(4) change it to this (the iis cab in the i386 xp home folder looks to be nothing) iis=iis2.dll,OcEntry,iis2.inf,,7
(some sort of ms caching thing keeps sticking back iis.dll when I try to nuke it. quickly renaming and making hidden dir called iis.dll seems to thwart, but not worth it, so iis2.dll is good enough)
(5) I grabbed the iis.dl_ and iis.in_ from win2k advanced server cd.
I would guess similar techniques would work from W98, FP, etc. Use "EXPAND IIS.DL_ IIS2.DLL" from a command prompt Same for IIS2.INF, place IIS2.INF in C:\WINDOWS\INF and IIS2.DLL in C:\WINDOWS\SYSTEM32\SETUP
(6) Now when I did "add windows programs" from the control panel's add new programs, I had IIS options and I could even check em off. yippee - could not check em off from my xppro cd :(((
I just went with the defaulted ones though (all i needed was iis web server)
(7) It will prompt you for files. Get em from MS XP Home CDs, Adv Server CDs, C:\WINNT\SYSTEM32\INETSRV, C:\WINDOWS\I386, etc. (It will tell you the file it needs, you just need to have a searcher going, probably the CDs will have all you need)
(8) You can get to your IIS from Control Panel's Administrative Programs. I stuck in an index.html file and reconfigure IIS to work like this.
No go :(((
I right clicked on my inetpub folder and did something with shared folders.
No go :(((
I looked at the event viewer and saw the error of my ways. Go to IIS and goto Directory Security tab and click Edit button and Browse for the user setup on my laptop.
(9) Yippee, hello world from http://localhost
I won't support this solution unless paid to. I am an out of work developer looking for work.
I bought a Toshiba 5005 laptop which came with XP home. I then bought Win XP Professional. I have bunches of CDs from when I was a MSDN subscriber. From a general search on the internet I found contradictions.
Microsoft says you need professional XP to do IIS period. q310090 was yanked from their site which had the "workaround" for this.
When I tried to setup XP upgrade to pro, my laptop rebooted and hung on an xp logo with an animated graphic. I have verified this to be the case with others as well. Upgrading to xp pro isn't an option for this laptop."