Jump to content

Switching imagex versions without restart


Ulaiphur

Recommended Posts

I don't know if this is the correct sub-forum for this so please don't bite my head off.

I'm working on a batch file that will need to switch between imagex 2.0 and 1.1. It does that by first uninstalling the previous version (whichever it may be) by removing the following keys from HLKM:

wimfltr
legacy_wimfltr
wimmount
legacy_wimmount

Then it removes the folowing services using sc.exe delete:

wimfltr
wimmount

And finally removes the folowing from system32:

WimFltr.sys
wimmount.sys
wimserv.exe

I left the wimgapi.dll unchanged in the system32 folder.

And finally installs imagex by running the below command:

[b]InfDefaultInstall.exe "full_path\wimfltr.inf" or InfDefaultInstall.exe "full_path\wimmount.inf"[/b]

The problem is that, it always gives me a pop-up saying it imagex cannot be installed.

Restarting does not help me because everything is automated and cannot be interrupted. But it does help.

I know the two services depend on fltmgr.sys. Should it be stoped before installing?

What are the correct steps in switching versions (remove old ver. install new.) without restarting?

Link to comment
Share on other sites


Well, I need to do all my edits with 2.0 but vlite only works with 1.1 so I'll need to switch. Not to mention that some packages on 7 will not be visible if i'm using 1.1

Edited by AlexCeed
Link to comment
Share on other sites

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