Got it.  In-work...

Nice work. 
So we have "code freeze" now?
Cool, now I can get to work on some serious code optimization.
I've noticed some functionality duplication so I'm going to try moving some sections into call-able functions.
I hope to have something by tonight but if not then by the end of the week.

I'll add a check for NT5 to see if it's being called during setup or from a working desktop.  If it's run from setup then no user/password call is needed because the system is already in an elevated state.

I like it.  My only concern is that this method won't work under NT5. 
I'm not a big vbs scripter, but won't ShellExecuteEx() do the same thing but with NT5 compatibility?
http://msdn.microsoft.com/en-gb/library … s.85).aspx

I'd love to be able to extend the "runas" function to NT5.

Hmm, interesting take on an old problem.  I like how it doesn't depend on the scripts being present in the \bin folder and just builds them dynamically.

I'm chasing a bug where the commandline switches aren't being passed through the elevate function when run under normal user.  I'll have something soon.

On logging...how much more info does everyone want?  At the moment it only logs successful driver installs.  I'm open to suggestions.

Done!
http://www.mediafire.com/?nm81bymr6zxdaag

:: Changelog:
:: v130420 v3.0 (Erik Hansen)
:: Fixed bug in :Elevate section where commandline switches were not passed to utility when run as a normal user.
:: Fixed bug where utility would try to delete itself after complete.
:: Minor fixes to :Cleaningphase section and :Usage verbiage.

:: v130419 v3.0 (Erik Hansen)
:: Fixed file copy error for *.ins file.
:: Added code to skip NT6 folder cleanup for NT5 systems.
:: Fixed Log file missing error.

:: v130418 v3.0 (Erik Hansen)
:: Merged codebase between Erik Hansen and SteveDun
:: Merged many separate functions to save compute space.
:: Pruned excess conditional statements to speed processing.
:: General-level code optimization

I'm doing some testing now to make sure everything works after a few minor changes.
@Steve, keep in mind that I changed the filenames of the dpinst archives for easier extraction.  My filename mods are \bin\32\dpinst-NT5.7z (etc.)
Your latest archive changed them back which broke the script.

Here's the corrected version.  I think I still have more fixes for the log section, but at least it works now.  Tested in MCE.
http://www.mediafire.com/?gsn8004eqqlc432

LOL, I haven't uploaded anything yet! big_smile
Gimme a minute to do a quick test in XP MCE and upload.

SteveDun wrote:

@ mr_smartepants....why does the script look for *.ins file in the nt5/x86/ folder for xp systems?  There is no such file located at the root of x86 folder.
error system cannot find file specified.

ok to not show the error above I added a IF EXIST and did the same for removing extra os drivers just so it doesnt say error system cannot find the specific file.
also added a if nt5 then to goto begin2 so not to try and delete the nt6 drivers which arent there for nt5 systems.

Actually, on XP iso built with DriverPacks BASE then the .ins file does exist in the same directory as the DriverPacks.  But I was sloppy and your "if exist" fixes that.  Nice catch on the NT5 exception for folder-clean.

SteveDun wrote:

I have noticed since inserting a ping after the log file creation that it errors out saying cannot find specified file.  There for I take it the log isnt being created? Or is it looking for a log file that isnt created yet?  Everything I got working without errors.  The log is the only thing left but I am dumbfounded as to what the problem could be.  I need your help on that.  lol

Here is corrected cmd file only (with log error still....add a ping or a pause after it to see the error):
http://www1.datafilehost.com/d/4d89924e

OK, this next one should fix it.  I forgot to declare where the log file goes. sad
Gimme a minute to do a quick test and upload.

Here's my optimized version of your codebase.  I have NOT tested it, but it passes code validation (love the new sublime-text!)
I have some more changes, but I'm not going to get any time until next week.
Total savings of just over 40 lines.
http://www.mediafire.com/?taq36yi73a8tqpm

Yeah, my wife calls me many names. wink

I am about halfway done optimizing your code.  I trimmed about 15 lines by converging method5 and method6 and chopped the dpinst extraction routine from 20 down to 3 lines.
I should have some untested code ready in the next hour or so.

SteveDun wrote:

If there is anything I can do to help just let me know.

You are already doing it!  Thanks.
I wasn't planning on any GUI, but if you feel up to it then go for it.  My original intent was to improve the first SAD script to support NT6 OS's.
I'm going to try and find time today to go through your code line-by-line and see if I can make any improvements.

Yeah, but I got distracted like a kitten with a butterfly!
I'm not sure whether to start with my old codebase or yours now.  I haven't started comparing them yet.

SteveDun wrote:

This is why mr_smartepants is working on a new method which we all await.

Am I?  I guess I better get started then! wink

165

(1 replies, posted in BartPE - UBCD4Win - WinPE)

adamcybulski wrote:

"dism /image:c:\winpe_x86\mount /add-driver"%mypath%x64\Win7\L" /recurse"

But this fails out every time.

Your command is incomplete.  It should be:
DISM /image:"c:\winpe_x86\mount" /Add-Driver /driver:"%mypath%x64\Win7\L" /recurse

Also, make sure the variable %mypath% is defined.

I can't remember why we don't use devcon.  I think it's because there's no "automatic" functionality in devcon and I'm just lazy. wink
http://support.microsoft.com/kb/311272
http://social.technet.microsoft.com/wik … n-exe.aspx

SteveDun wrote:

here is updated version 2.8

Why is your 2.8 compiled to an .exe?

Bump!
Has anyone made any further tests with this .dll?
Is it safe to distribute with any new DriverPacks BASE builds?  We don't want to break anything. wink

Sorry for my absence.  I had a business trip then a quick turn into a family vacation in Greece (weather was awesome for April!)  I'll try and find time to run this through the ringer.
Thanks Steve for your contributions!

You're right, the Vista 96.85 drivers should work.  But that card is so old, I don't know if it's worth supporting.

TechDud wrote:

  I wish i could remember which post it was that mr_smartepants detailed the order and certification levels which NT5 prefers it's drivers.  Please refresh my memory.  Search hasn't helped so far.

Do you mean this?
http://forum.driverpacks.net/viewtopic. … 833#p47833
The reference is for NT6 but NT5 works the same way.

171

(4 replies, posted in Windows 8 Discussion)

Windows 8 is already supported in the "Vista/7" DriverPacks.  Our site admin needs to update the headers on the main download pages.

klhpraise wrote:

What is warez... ?

http://en.wikipedia.org/wiki/Warez
http://forum.driverpacks.net/viewtopic.php?id=3741

1a.  We do not support warez or pirated installs.  Our definition of this is:  Did you obtain your license from Microsoft or an authorized OEM vendor?  Do you have a legal hologram-ed disc?  If the answers to both of those questions is "Yes", please continue.  Otherwise, go legit or go home.  Warez is a support nightmare for the DriverPacks staff.  99% of the DriverPacks failures are caused by the idiot who modified/released the pirated OS source in the first place because they didn't know what they were doing.

173

(12 replies, posted in Other)

TechDud wrote:

Have you seen the comet?   http://apod.nasa.gov/apod/ap130318.html

Cool.  I can't even see the tree across the street it's so foggy! sad

Marking as "solved".
This has already been identified as a known fault in the AMD Filter driver changelog:
http://driverpacks.net/driverpacks/wind … lter/11.10

WARNING!
This 3rd Party DriverPack will cause BSOD if integrated into systems with Intel Graphics hardware.  It is meant for AMD/ATI systems ONLY.  Use at your own risk

You need to restore the factory installed Windows 7.
Then install XP in either Microsoft XP Mode (VirtualPC) or in VirtualBox.  Both are free.
HD audio won't work properly without SP3 and even then Toshiba needs to support it.