PryGuy Posted August 26, 2005 Posted August 26, 2005 Hello all!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!
Nologic Posted August 26, 2005 Posted August 26, 2005 If you can unselect the component during normal install...then you can write an AutoIt script in which to automate the same process.
PryGuy Posted August 26, 2005 Author Posted August 26, 2005 But, well, I believe one can do it using the typical Windows commands not with AutoIt
Sonic Posted August 26, 2005 Posted August 26, 2005 If I remember, .NET 2k3 is packaged into MSI no ? if yes, you can edit/tune the .msi file to select jsut what you want ...Goodbye.
PryGuy Posted October 11, 2005 Author Posted October 11, 2005 (edited) The thing is that the IIS is a component of Windows itself, one can add/remove it using Control Panel - Add or Remove Programs - Add/Remove Windows Components - Internet Information Services (IIS). I do not want to install IIS if the VS.NET is not chosen to be installed. There has to be some way to add/remove components using command line or something! Edited October 11, 2005 by PryGuy
ironside Posted October 11, 2005 Posted October 11, 2005 (edited) If its a windows component you can add or remove it in your winnt.sif[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 = OnOn=Install by defaultOff=Do Not install by Default Edited October 11, 2005 by ironside
PryGuy Posted October 11, 2005 Author Posted October 11, 2005 (edited) Thank you, I know about that, the question is, is it possible to install the Windows Components on demand, during the post-install unattended software installation phase? Edited October 11, 2005 by PryGuy
MindMaster Posted October 16, 2005 Posted October 16, 2005 You can do this using sysocmgr.exe which should be in your path.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=On2. Run the following command:sysocmgr /i:%windir%/inf/sysoc.inf /u:WindowsComponents.txtI hope this helps.Mark Michealishttp://mark.michaelis.net
joshljoshl Posted April 15, 2009 Posted April 15, 2009 I'd just like to say THANKS to MindMaster and this old thread. I was looking for a way to remove the update root certs component of W2K3 from the command line and this was the inspiration I needed. I thought I would take it one step further and integrate the creation of the .txt file into the batch file. This batch file will uninstall root cert updates in one fell swoop. Feel free to modify for whatever components you may be trying to remove. Cheers! @echo offclsecho Creating %windir%\inf\removerootupdates.txt...echo [Components] > %windir%\inf\removerootupdates.txtecho RootAutoUpdate=off >> %windir%\inf\removerootupdates.txtecho: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 failsysocmgr /i:%windir%/inf/sysoc.inf /u:%windir%/inf/removerootupdates.txtgoto end:failecho Could not create/locate %windir%\inf\removerootupdates.txtecho Please check permissions or remove manually.:endecho Script Complete. Exiting...rem the following command creates a few second pause so you can read the window before it closesping 1.1.1.1 > nul
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now