How to add mouse driver to PE 3.1 (64-bit) Rescue Media


Author
Message
NotOnSugarMountain
NotOnSugarMountain
New Member
New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)
Group: Forum Members
Posts: 3, Visits: 20

Since it's not being added automatically to the Devices & Drivers, I'd like to manually add a driver (*.inf, *.sys, etc) for a specialized mouse (Contour) to my Windows PE 3.1 (64-bit) Rescue Media CD. Is that possible?

If there is a way to inject it, please provide step by steps because in Advanced/Devices & Drivers there's no "Add Driver" button, only an "Update" button.

I've tried adding a "Mouse" folder under c:\boot\macrium\Drivers but I'm not getting anywhere that way.

I'm running Windows 7 64-bit on an HP workstation.


jphughan
jphughan
Macrium Evangelist
Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)
Group: Forum Members
Posts: 14K, Visits: 85K
Try putting the driver into its own folder (e.g. Contour) and then placing that folder inside one of the existing subfolders of C:\boot\Macrium\Drivers rather than creating a new top-level "Mouse" folder directly in that folder.  If that doesn't work either, then my guess is that either a) Reflect doesn't load drivers for that type of device class, and/or b) Windows PE itself doesn't support drivers for that type of device class.  Out of curiosity, how does the Contour behave in Windows PE without a driver?  Does it not even perform basic left and right clicks?

Edited 1 November 2019 2:26 PM by jphughan
NotOnSugarMountain
NotOnSugarMountain
New Member
New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)
Group: Forum Members
Posts: 3, Visits: 20

Thanks, jphughan, for your suggestion. Tried placing the folder with the *.ini and *sys Contour Mouse files in the "USB" folder under c:\boot\macrium\drivers. Also, edited the paths in the "SearchPaths.txt to point to the c:\windows folder with the Contour Mouse drivers.

In the Macrium Rescue Media Builder 7.2 Advanced Options/Devices & Drivers, the Contour Mouse device is not being added.

Is there another step to "add" it? When I hold down Ctrl, the "Build" button gives me the option to "Skip WIM Rebuild" No other choices. Is there a way I'm missing to force RM Builder to check its SearchPaths.txt file or to rebuild?

Maybe the problem is your "a" and "b" theories above.

Out of curiosity, how does the Contour behave in Windows PE without a driver?  Does it not even perform basic left and right clicks?


Nothing. Not even basic left and right clicks. If I unplug it and plug in any standard mouse into that same USB port, that mouse immediately works. Unplug it and plug back in the Contour Mouse and it's unseen by Windows PE 3.1 64-bit.



jphughan
jphughan
Macrium Evangelist
Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)
Group: Forum Members
Posts: 14K, Visits: 85K
I believe (but am not certain) that the SearchPaths.txt file is only read when the Rescue environment loads, not when Rescue Media Builder is creating Rescue Media.  I wouldn't recommend adding C:\Windows to the search paths.  First of all, the Windows folder in Windows PE will be X:\Windows, but it will already have loaded its own driver library anyway, so having Reflect go through that entire folder might increase your Rescue Media load time significantly.  As for adding other drivers, I don't know of a way to do that for devices not listed under Advanced > Devices & Drivers other than manually copying the desired driver folder directly to the Drivers folder as we've been discussing.  And in terms of getting drivers loaded in the Rescue environment itself, the only way I know for doing that is to use the Unsupported Devices interface, but that I believe only lists network, storage, and USB controllers -- and any drivers already in the Drivers folder would've been automatically scanned when Rescue started anyway.  That wizard is in case you need to load a driver from a different location, perhaps because the Rescue Media you're using didn't already have it.

Very strange, and obviously unfortunate, that the Contour mouse can't operate with even basic functionality using generic mouse drivers, but there might not be a fix for that in this situation.  Sorry I don't have another suggestion!

NotOnSugarMountain
NotOnSugarMountain
New Member
New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)
Group: Forum Members
Posts: 3, Visits: 20
I wouldn't recommend adding C:\Windows to the search paths.

Thanks. I've removed the editing I did to the "SearchPaths.txt" which pointed to the c:\windows folder with the Contour Mouse drivers.
Sorry I don't have another suggestion!

Swapping the mouse out is not the end of the world.

I am curious about the behavior of the Ctrl + "Build" button: When I held down Ctrl, the "Build" button gave me the option to "Skip WIM Rebuild."  Is the default behavior of clicking the Build button to first re-search for drivers before rebuilding the WIM? Or what?

What actions would I take to get the "Force WIM Rebuild" option when pressing the Ctrl + Build, instead of the "Skip WIM Rebuild"

I hate to say it, but I found the old Rescue Wizard to be easier to use (and to wrap my mind around) Tongue.

jphughan
jphughan
Macrium Evangelist
Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)
Group: Forum Members
Posts: 14K, Visits: 85K
Ah, sorry I forgot to address the WIM question.  First a bit of background information.  If you look at your Rescue Media, you'll find a file called Boot.wim.  That contains a disk image that has the full Windows PE environment, including Reflect and the other utilities that are included with Rescue Media.  When your system boots from Rescue Media, the contents of that WIM file are extracted into RAM and mounted as a virtual disk that gets assigned drive letter X, which if you explore you'll find contains directories like Program Files, Windows, etc.

Rescue Media Builder always keeps a cached Rescue Media file set in order to build Rescue Media more quickly and also to enable the "recovery boot menu option" for users who want to use that.  If Rescue Media Builder determines that the Rescue Media it would need to build at a given time matches what's already been built and cached, then a Rescue Media build is a simple file copy operation to the specified target.  But if Rescue Media Builder determines that something about how new Rescue Media would be built at the current time would be DIFFERENT from the cached file set, then it will have to rebuild the WIM to incorporate those changes.  Conditions that can trigger this need include doing any of the following since the last time the cached file set was generated: having installed a newer Reflect version, having changed certain Rescue Media build preferences (in the Advanced section), the Windows RE file set having been updated (typically due to you updating to a new Windows 10 release), having new/updated drivers that need to be incorporated into Rescue Media, and probably some other conditions I'm not thinking of at this exact moment.  When Reflect detects that a WIM rebuild is necessary, the reason will typically be indicated in the Status readout near the top of the interface.  If there's more than one reason, I believe only one will be shown.

If Reflect determines that a rebuild is NOT necessary because the cached file set seems to be appropriate based on the current state, then you can choose to force the WIM rebuild anyway even though Reflect would normally just copy the cached files to the target.  This shouldn't normally be necessary, but sometimes PCs act like PCs and you need to override their "intelligence".

The need for the opposite scenario of SKIPPING a WIM rebuild when Reflect considers it necessary should be even more rare, but it's a feature that I actually suggested that Macrium add while I was beta testing Rescue Media Builder.  The scenario I described to advocate for this option was the following: A user built Rescue Media at one point, then updated Reflect and found that the updated version contained a bug that broke their Rescue Media.  They don't want to roll back their entire system to just to return to the previous Reflect version, but they don't have an installer for a previous Reflect version either (and Macrium doesn't offer them).  But since they've been backing up their system on a regular basis, they DO have an earlier version of the C:\Boot\Macrium folder that contains a cached Rescue Media file set from the previous, working Reflect version.  They can extract those files from their backup, but then there's the matter of actually BUILDING Rescue Media from that older file set, because normally Rescue Media Builder would immediately say, "The WIM needs to be rebuilt because the cached Rescue Media file set comes from an older version of Reflect than is installed."  But in this situation the user specifically WANTS to build with that old file set as-is and NOT use the new Reflect version, so I suggested that Rescue Media Builder offer a way to build Rescue Media using the cached file set as it sits, without making any changes that it would normally consider necessary/appropriate.  Thus arrived the Skip WIM Rebuild option. Smile

I actually find the new Rescue Media Builder much more intuitive and efficient.  In most cases Rescue Media can be built with a single click, which definitely wasn't possible before, and I find that the interface for configuring the advanced options is much more logically laid out and makes those features more discoverable.  If you want all the documentation on the new Rescue Media Builder though, that's available here.

Edited 2 November 2019 3:22 AM by jphughan
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Login

Explore
Messages
Mentions
Search