Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 



Sign in to follow this  
AlexCeed

Switching imagex versions without restart

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?

Share this post


Link to post
Share on other sites

You can't remove the wimfltr driver if it was started, without a reboot.

Why would you need both versions?

Share this post


Link to post
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

Share this post


Link to post
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

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×