elegault Posted August 7, 2008 Posted August 7, 2008 Hey now...Right now, for all my Windows Server 2003 installs, I need to manually install the WMI Windows Provider Installer. I do this by opening the Control Panel, going to Add/Remove Windows Components, opening Management and Monitoring Tools, and then selecting WMI Windows Installer Provider.Well, I would like to eliminate this manual step to server deployments and want to add it to an unattended installation. But for the life of me, I can't figure out how to do so on the command line.I came across this: rundll32 setupapi,InstallHinfSection WBEMMSI 128 %SystemRoot%\inf\wbemmsi.infThat starts the installation procedure but I am prompted for the Windows CD everytime and have to manually point it to the installation files. That is depsite the fact that the following two registry keys are pointed to the correct path to the i386 folder:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SourcePathHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Installation SourcesAny suggestions?Thanks,elegault
elegault Posted August 7, 2008 Author Posted August 7, 2008 UPDATE:I am now using SYSOCMGR.exe to add the component. But I'm still getting prompted for the setup files. Here's the command I'm using:sysocmgr /i:%windir%\inf\sysoc.inf /u:c:\answerfile.txtAny suggestions? Thanks.
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