Topic: Easy DISM  (Read 26241 times)

0 Members and 1 Guest are viewing this topic.

Re: Easy DISM
« Reply #80 on: January 03, 2017, 02:31:34 AM »

ChrisR

  • Win7PE SE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 2786
Nice, thanks for all your work done on Easy_DISM  :thumbsup:
As you are  working on the driver export tab, an idea if you have some time:
It would be good to have the dism extracted drivers organized in sub-folders. As DoubleDrivers does, using I guess: [version] Class = Net in inf files
Only an idea, be free to take it or not  :wink:

 

Re: Easy DISM
« Reply #81 on: January 03, 2017, 09:20:34 PM »

trashy

  • Code Baker
  • Chef
  • ***
  • Location: US
  • Date Registered: Feb 2013
  • Posts: 134
Hey Chris great Idea!
The way driver folders get named it's hard to know what's what.
Using the Class ID from inf file should be able to make a few directories and move some folders around.

Re: Easy DISM
« Reply #82 on: January 04, 2017, 10:06:20 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 6742
"There can be only one" No spaces in path to program folder.

just an idea to keep in mind.

You may use "shortpath" feature provided by windows.
If you decide: I advice first test if "shortpath" enabled and operational.  :wink:
                         Keep in mind, "shortpath" enabled as default, but rarely disabled by end users...... (so better test)
                                We use this "shortpath test method" on some plugins  :wink:

not required, only idea to keep in mind if you need one day.

:turtle:

Re: Easy DISM
« Reply #83 on: January 05, 2017, 02:57:36 PM »

trashy

  • Code Baker
  • Chef
  • ***
  • Location: US
  • Date Registered: Feb 2013
  • Posts: 134
@Lancelot
Not familiar with shortpath so I Googled it.
With my limited knowledge afraid to try.

It would be nice to run Easy_Dism from "Program Files".
Fixed all the problems of spaces in file path except for Easy_DISM folder itself.
It is annoying but I can deal with it.


I want to post Easy_DISM to the AutoIt forum for 2 reasons.
1: More Exposure ,want to give the other DISM GUIs some competition (see who is the best).
2: Need some help\advice. See if this last space in file path can be fixed
    I have questions about some of the recent additions made, got to be a better way.
    Currently working on what Chris suggested.
    Read the .inf file strip White spaces from required string create new folder structure
    using class name and provider. Haven't tried moving files to new folder yet.
    Recursive search for .inf, DISM assigns folder names including .inf.
    Example: nv_dispiwu.inf_x86_neutral_a49377ab801ab8a9.
    Will I first have to strip .inf from folder names?

Like I said need some advice!
« Last Edit: January 05, 2017, 03:29:54 PM by trashy »

Re: Easy DISM
« Reply #84 on: January 07, 2017, 09:25:56 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 6742
@Lancelot
With my limited knowledge afraid to try.
my post was only an info
    Good choice, better not to use.  :thumbsup:



Re: Easy DISM
« Reply #85 on: January 08, 2017, 09:20:27 PM »

trashy

  • Code Baker
  • Chef
  • ***
  • Location: US
  • Date Registered: Feb 2013
  • Posts: 134
Much thanks to Subz at AutoIt for showing me the power of using an array!

DISM driver export sorted to class name, provider name, original folder.

Example folder structure : x:\drivers\display\nvidia\blahblahblah\driver files
When naming folders microsoft can come up with some whoppers!

All credit goes to Subz he wrote the script all I had to do was make a few minor changes.
May be a couple days before I get a chance to add it to Easy_DISM but I have tested and works perfect!
Any request for changes before I do?

Re: Easy DISM
« Reply #86 on: January 09, 2017, 05:09:54 AM »

ChrisR

  • Win7PE SE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 2786
I read your exchange with Subz. Great  :thumbsup:
The code could also be included (or same in PB) in Drivers integration for the export function.
Good integration, with a pre-selected option or by default directly, as you wish, into Easy_DISM  :thumbsup:
 

Re: Easy DISM
« Reply #87 on: January 09, 2017, 08:13:02 PM »

trashy

  • Code Baker
  • Chef
  • ***
  • Location: US
  • Date Registered: Feb 2013
  • Posts: 134
The celebration may be premature after putting the process through rigorous testing running into some serious problems. My initial test was with an online Windows when I test from PE on an offline Windows partition only copies about half the drivers. Also using [SourceDiskFiles] read from .inf to copy driver files not working well with older drivers.

The process as it is now would work nicely to export drivers from online Windows to import to a PE build but not a solution for my situation.
« Last Edit: January 09, 2017, 08:14:02 PM by trashy »

Re: Easy DISM
« Reply #88 on: January 09, 2017, 11:18:22 PM »

trashy

  • Code Baker
  • Chef
  • ***
  • Location: US
  • Date Registered: Feb 2013
  • Posts: 134
Subz to the rescue!!! I need to do some more testing but think this time it is perfect.

I can tweak folder depth now it's classname\originalfolder\driverfiles or
would you prefer classname\providername\originalfolder\driverfiles.

 

Powered by EzPortal