Vbscript / Operating System / Add Remove Windows Xp Components
Use the command line tool "sysocmgr" specifying a file with the component definitions as shown below:
sysocmgr /i:%windir%\inf\sysoc.inf /u:c:\SystemTools\Install\ocm.txt
The file ocm.txt would look something like the example below: [Components] Netoc = on Reminst = on Paint = off pinball = off Solitaire = off
[NetOptionalComponents] lpdsvc = 1 SimpTcp = 1 wins = 1
See http://support.microsoft.com/kb/222444 for full details.
Please note that a disclaimer applies to any code on this page.
|