Using Mark's work, trial and error, and detective work, I was able to install the IIS web service that is an optional component of Windows XP *AFTER* XP is installed.

**STEP-1: Make sure XP source files are available.**
XP must be able to find it's setup files by itself. If you need to enter a password or something to connect to the XP source files, do so before running the CMD script.

[Components]
; IIS 5.1 (XP) Components to be installed
;aspnet = off ;Unknown if available in XP version
iss_common = on
iis_ftp = on
fp_extensions = on
iis_inetmgr = on
iis_nntp = off
iis_smtp = on
tswebclient = on
;iis_webdav = off ;Unknown if available in XP version
iis_www = on
iis_doc = on
iis_www_vdir_scripts = on
iis_www_vdir_printers = on
iis_www_parent = on

[InternetServer]
; OPTIONAL: Set the FTP and WWW server root folders - both are required to prevent the
; creation of C:\Inetpub, even if set to off in [Components]
;PathFTPRoot = C:\Data
;PathWWWRoot = C:\Data

**STEP-4: test it**
-Place both files in the same folder and launch iissetup.CMD
-Should take about 5 minutes

If you need to create an unattended installation of IIS 5 follow instructions on TechNet article Q222444. Create an unattended file, for example iis5.txt pasted below and run the following command inside a script:

sysocmgr.exe /i:c:\winnt\inf\sysoc.inf /u:c:\winnt\IIS5.TXT

Sample IIS5.TXT:

[Components]
;following includes 3 remmed out components
iis_doc = on
;iis_common = on
;iis_inetmgr = on
;iis_www = on
;next one is debugger
iisdbg = on
iis_ftp = on
iis_nntp = on

; following is only valid for server install

;iis_htmla = on
iis_nntp_docs = on
iis_pwmgr = on
iis_smtp = on
iis_smtp_docs = on
fp = on

Inventory Records (1)

Internet Information Server IIS SDK

Version

5.2.3790.0

Comments

To Update/Uninstall this SDK or provide feedback, click the Support Information link. To remove SDK Update components from your system if you do not have a live Internet connection, go to the root directory of the SDK Update CD and select default.htm.