Jump to content

Recommended Posts

Posted

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.inf

That 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\SourcePath

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Installation Sources

Any suggestions?

Thanks,

elegault


Posted

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.txt

Any suggestions? Thanks.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...