Add/Remove Windows Components? Is it possible to do it unattended?
#1
Posted 26 August 2005 - 03:27 AM
I have a problem, I want to make ability to install Visual Studio .NET 2003 on my unattended DVD. But I do not want to install components such as IIS during the ordinary installation, so it should look this way: if one wants to install VS .NET later he just runs the CMD file that installs the necassary components before the VS. NET unattended installation.
Please tell me is it possible? Thank you!
#2
Posted 26 August 2005 - 03:45 AM
#3
Posted 26 August 2005 - 05:03 AM
#4
Posted 26 August 2005 - 04:00 PM
Goodbye.
#5
Posted 11 October 2005 - 05:12 AM
This post has been edited by PryGuy: 11 October 2005 - 05:13 AM
#6
Posted 11 October 2005 - 06:11 AM
[Components] Iis_asp = On Iis_common = On Iisdbg = On Iis_ftp = On Iis_htmla = On Iis_doc = On Iis_inetmgr = On Iis_internetdataconnector = On Iis_nntp = On Iis_pwmgr = On Iis_serversideincludes = On Iis_smtp = On Iis_smtp_docs = On Iis_webadmin = On Iis_webdav = On Iis_www = On Iis_www_vdir_printers = On Iis_www_vdir_scripts = On Iis_www_vdir_terminalservices = On
On=Install by default
Off=Do Not install by Default
This post has been edited by ironside: 11 October 2005 - 06:14 AM
#7
Posted 11 October 2005 - 06:14 AM
This post has been edited by PryGuy: 11 October 2005 - 06:16 AM
#8
Posted 16 October 2005 - 04:52 PM
For example, you can install IIS as follows:
1. Create a file listing the components. (I call mine file WindowsComponents.txt)
[Components] Fp_extensions=Off fp_vdir_deploy=Off Iis_common=On iis_www=On iis_asp=On iis_inetmgr=On iis_www_vdir_scripts=On
2. Run the following command:
sysocmgr /i:%windir%/inf/sysoc.inf /u:WindowsComponents.txt
I hope this helps.
Mark Michealis
http://mark.michaelis.net
#9
Posted 15 April 2009 - 05:38 PM
@echo off cls echo Creating %windir%\inf\removerootupdates.txt... echo [Components] > %windir%\inf\removerootupdates.txt echo RootAutoUpdate=off >> %windir%\inf\removerootupdates.txt echo: echo Running sysocmgr to process %windir%\inf\removerootupdates.txt. echo You may see a dialog box pop up which may be ignored. echo Please wait a few moments... echo: if not exist %windir%\inf\removerootupdates.txt goto fail sysocmgr /i:%windir%/inf/sysoc.inf /u:%windir%/inf/removerootupdates.txt goto end :fail echo Could not create/locate %windir%\inf\removerootupdates.txt echo Please check permissions or remove manually. :end echo Script Complete. Exiting... rem the following command creates a few second pause so you can read the window before it closes ping 1.1.1.1 > nul



Help
Back to top








