in

Blog By Bob

Blog by Bob

Add Remove Windows Components and IIS Longhorn (Vista) style

So, you saw the screen shot of Add/Remove Windows Components working on Longhorn. Now for alittle more information on getting this working.

The first thing you'll need is several files, this first list is geared towards installing IIS, but will give you enough information to copy the files you need for any other components as well. Before you get too excited, no, I don't have IIS working. IIS 6 installs but is missing one or more dependent services, and I haven't had time to sort them out yet, but wanted to get this post up (who knows, one of you smarter people might finish that part for me).

You will need a machine with Windows 2003 Server installed, or the install disk if you want to manually move the files out of the install cabs. Add/Remove Windows components will also work from XP, but IIS 5.1 does not seem to like Longhorn at all.

From the system32 directory you will need ocmanage.dll and sysocmgr.exe

From the system32\setup directory you will need the IIS.dll file (the other files can be copied across to have other options besides IIS in the Add/Remove menu.

From the system/inf folder you will need sysoc.inf/pnf and iis.inf/pnf (I don't know if you need the pnf files or not, but they are small and liked being copied, so I obliged...)

Open your sysoc.inf file and remove all the components entries except the one for IIS (this of course would be different if you wanted to install other components and 2 exception I found to installing other components were the dtc and inetprint lines which still break even copying the whole system32\setup folder. They may be located else where or not, but they weren't my concern so I just deleted them).

At this point, you only need to click Start|run and type in sysocmgr /i:sysoc.inf (thanks Seth!) to launch the Add/Remove Component snap in.

I will most likely work on IIS further this weekend, IIS 6 seems the more promising for several reasons.

  • Since the WinHec build, Longhorn has been based on the Windows 2003 code base
  • IIS 6 installs, though it sometimes stalls during install and just needs installed again, but is missing dependent components, which should be easily enough remedied
  • IIS 5.1 complains it can not be installed on an OS other than XP or greater (I would have thought Longhorn was greater...). I tried removing the OS dependency in the iis.inf file and that did not help. I tried using the 2003 server iis.inf file with the IIS 5.1 iis.dll and still saw the same behavior, so it would seem to be burned into the dll itself

Good luck, and if anyone gets IIS working, let me know!

Published Aug 13 2005, 04:30 AM by Bob

Comments

No Comments

Leave a Comment

(required)  
(optional)
(required)  
Add
Copyright © :: BlogByBob.com
Powered by Community Server (Non-Commercial Edition), by Telligent Systems