Jump to content

Recommended Posts

Posted (edited)

Is there a way to add windows components after windows is installed that have been removed by jdeboeck's routine or nLite?

http://jdeboeck.msfnhosting.com

http://nliteos.com

I am not familiar with nLite because I stuck with jdeboeck's routine. Jdeboeck routine leaves files it removes into organized folders along with the corresponding *.inf files. I have tried to install windows management instrumentation by right clicking on the wbemoc.inf file and selecting "install", but nothing happens (1). Files that should be copied over to windows in the inf file do not get copied. I'm not sure what to try next, except perhaps to manually carry out what the inf file does, but there has to be a better way than this.

If there has been some posts on this, I apologize, but I'm not sure what keywords to use. I found this article from march earlier this year:

http://www.msfn.org/board/index.php?showtopic=41241

(1) I should add that I DID expand all files in the folder, of course.

Edited by mraeryceos

Posted (edited)

It has been a while and I had forgotten since the time I used gosh's method:

rundll32.exe setupapi,InstallHinfSection WBEM 132 wbemoc.inf

I think you have to include the path to wbemoc.inf. Changing the working directory in the command interpreter doesn't seem to make a difference for some reason. All that the error says is "installation failed", thanks to the genius that is microsoft.

One thing you can do to make it easier is create a [DefaultInstall] section that has the same instructions as the [WBEM] section. The DefaultInstall section will allow you to right-click the inf file and select "Install", if you have the following in your registry:

[HKEY_CLASSES_ROOT\inffile\shell\Install\command]

@="%SystemRoot%\System32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %1"

type is REG_EXPAND_SZ

Edited by mraeryceos

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