Re: Stand Alone Driverpack utility for all OS (XP, 2k3, 2k8, Vista, Win7)

I still cant figure out how to correct the keep other OS drivers in clean phase of script.....no matter what, it is broken.  Even if I set clean=n it still removes them.  Plus I think some of the silent=y then do something isnt working either.  Something change with the script being rewritten.  Think it is bed time for me now.  Good nite.

As you see from above post I too cant figure that out yet since the code has been optimized.  Will need mr_smartepants help for that I think for I havent found a solution to that yet but I am busy with school today so wont have much time, sorry.

Re: Stand Alone Driverpack utility for all OS (XP, 2k3, 2k8, Vista, Win7)

Should be quite simple to fix the cleaning phase (at least in non-silent mode - it should still go through as normal in silent mode..)
On version v13.04.28, replace line 310:

IF /I "%option%"=="Y" SET "CLEAN=Y"

with:

IF /I "%option%"=="Y" (SET "CLEAN=Y") ELSE (SET "CLEAN=N")

haven't tested yet but no reason why it shouldnt work.

Edit: Just noticed that it was meant to be fixed in 13.04.26 - I couldn't see a fix in .28, but ignore if it's already working!

Last edited by thatwill (2013-05-01 03:29:07)

Re: Stand Alone Driverpack utility for all OS (XP, 2k3, 2k8, Vista, Win7)

SteveDun wrote:

As you see from above post I too cant figure that out yet since the code has been optimized.  Will need mr_smartepants help for that I think for I havent found a solution to that yet but I am busy with school today so wont have much time, sorry.

Don't worry, tomorrow never die lol

Have a good night!

Re: Stand Alone Driverpack utility for all OS (XP, 2k3, 2k8, Vista, Win7)

@thatwill,
it should work but doesnt....have tried many combos without success.  waiting for mr_smartepants to get his advice.

Re: Stand Alone Driverpack utility for all OS (XP, 2k3, 2k8, Vista, Win7)

OK, I've finished testing and here's v130501
http://www.mediafire.com/?97bu3hoemk9abcw
I'm also uploading 3 HID test packs as proof-of-concept for the removals...but the uploads are going slow.

SteveDun wrote:

I still cant figure out how to correct the keep other OS drivers in clean phase of script.....no matter what, it is broken.  Even if I set clean=n it still removes them.  Plus I think some of the silent=y then do something isnt working either.  Something change with the script being rewritten.  Think it is bed time for me now.  Good nite.

As you see from above post I too cant figure that out yet since the code has been optimized.  Will need mr_smartepants help for that I think for I havent found a solution to that yet but I am busy with school today so wont have much time, sorry.

I made some changes to the code, but I didn't see what you guys were seeing in testing.  So maybe I fixed it and didn't know it? wink

Read BEFORE you post.  HWID tool   DriverPacks Tutorial   DONATE!
http://driverpacks.net/userbar/admin-1.png
Not all heroes wear capes, some wear Kevlar!

Re: Stand Alone Driverpack utility for all OS (XP, 2k3, 2k8, Vista, Win7)

If you don't want to wait for my HID testpack uploads, you can make your own by creating a text file inside the \D\ folder (NT5) or in the root of the .7z archive (NT6) using the following format:

Known-problems-{name_of_dps}.txt

; The following drivers are known to cause problems during automatic integration.
; If your device is not installed during automatic installation, you can try these folders manually.
x64\All\3\Touchpad_Mouse\Alps\2\Apfiltr.inf
x64\All\3\Touchpad_Mouse\Alps\3\Apfiltr.inf
x64\All\3\Touchpad_Mouse\Alps\4\Apfiltr.inf
x64\All\3\Touchpad_Mouse\Alps\5\Apfiltr.inf
x64\All\3\Touchpad_Mouse\Elantech\1\ETD.inf
x64\All\3\Touchpad_Mouse\Elantech\2\ETD.inf
x64\All\3\Touchpad_Mouse\Elantech\3\ETD.inf
x64\All\3\Touchpad_Mouse\Cypress\1\cykbfltr.inf
x64\All\3\Touchpad_Mouse\Cypress\1\cymfltr.inf
Read BEFORE you post.  HWID tool   DriverPacks Tutorial   DONATE!
http://driverpacks.net/userbar/admin-1.png
Not all heroes wear capes, some wear Kevlar!

Re: Stand Alone Driverpack utility for all OS (XP, 2k3, 2k8, Vista, Win7)

I am a lil confused on this part...name_of_dps so I will just wait on that for now....will test tomorrow and report findings.  Thanks and glad you are back online.  smile
It's late here so going to bed.  Take care and thanks mr_smartepants.
Love the concept though!  smile

Note:  Just looking at the script and it should now if choosen n to clean then it should skip that part since you set defaults at the beginning of the script.  Will test in the morning to make sure though.

Last edited by SteveDun (2013-05-02 18:25:18)

Re: Stand Alone Driverpack utility for all OS (XP, 2k3, 2k8, Vista, Win7)

@ mr_smartepants

I just finish a new test in VM (Host Win7 Pro French on desktop: HP Pro 3400 series MT).
After install, I've the executable file below:

%PROGRAMFILES%\Cypress\Trackpad\CyDIFxKbFltr.exe

But nothing about Cypress TrackPad appear in Add/Modify a prog CPL.
I know it's related to TouchPad_HID driverpack.

Any idea why only this file remains in system?

Last edited by Ken@fri (2013-05-02 22:30:15)

Re: Stand Alone Driverpack utility for all OS (XP, 2k3, 2k8, Vista, Win7)

Ken@fri wrote:

Any idea why only this file remains in system?

Well, probably because I haven't uploaded the modified HID Third Party DriverPacks. wink

Here's the modified NT5 HID Third Party DriverPack.
http://www.mediafire.com/file/e626s4ft3 … _1209b1.7z

Here's the modified 32-bit NT6 Third Party DriverPack.
http://www.mediafire.com/file/cg1itmmai … _1203b1.7z

Here's the modified 64-bit NT6 Third Party DriverPack.
http://www.mediafire.com/file/5vi7mirxl … _1203b1.7z

Read BEFORE you post.  HWID tool   DriverPacks Tutorial   DONATE!
http://driverpacks.net/userbar/admin-1.png
Not all heroes wear capes, some wear Kevlar!

Re: Stand Alone Driverpack utility for all OS (XP, 2k3, 2k8, Vista, Win7)

@mr_smartepants
Worked perfect....installed my correct lappy touchpad driver and everything (no extra installs of other touchpad drivers now).  Great solution!!!
Cleaning phase working also like it should.  wink 
Thanks

I did add the other build version for win 8.1 build 9374 to the win 8 builds just for gp.

Question:  Will those driverpacks be avail. from the torrent side or will we need to add those txt files to it and rebuild in 7z format?  Thought I would ask before others do.  lol

Last edited by SteveDun (2013-05-03 15:23:49)

Re: Stand Alone Driverpack utility for all OS (XP, 2k3, 2k8, Vista, Win7)

Well, adding the text file to the DriverPacks and adding code to support that function was just a proof of concept.  It still needs further testing before we re-release new DriverPacks with the "known-problems*" file (not all DriverPacks will need it).
This current version of SAD will work fine if those files are not present (IF EXIST...).
I'm glad it worked for you!  Whew!

Read BEFORE you post.  HWID tool   DriverPacks Tutorial   DONATE!
http://driverpacks.net/userbar/admin-1.png
Not all heroes wear capes, some wear Kevlar!

Re: Stand Alone Driverpack utility for all OS (XP, 2k3, 2k8, Vista, Win7)

further testing before we re-release new DriverPacks with the "known-problems*" file

agreed.

not all DriverPacks will need it

yes, i agree.

IF EXIST

seen that and that is perfect.

I'm glad it worked for you!  Whew!

me too.  lol

In theory, couldnt you have the script add the txt file after extraction of driverpacks then no need to add to driverpacks 7z files that you created for testing?  I know this is beta still (testing phase).  Just curious.

Last edited by SteveDun (2013-05-03 16:56:05)

Re: Stand Alone Driverpack utility for all OS (XP, 2k3, 2k8, Vista, Win7)

Yeah, but again that would be "hard-coding" SAD with those known problems.  What if they're solved in future DriverPacks?  We'd be removing valid drivers from a working pack when we don't have to.  Having the .txt file within each DriverPacks allows for greater flexibility, dontcha think?

Read BEFORE you post.  HWID tool   DriverPacks Tutorial   DONATE!
http://driverpacks.net/userbar/admin-1.png
Not all heroes wear capes, some wear Kevlar!

Re: Stand Alone Driverpack utility for all OS (XP, 2k3, 2k8, Vista, Win7)

@mr_smartepants

Yeah! I can confirm:All work perfectly cool.
Great job, man (once again).

You (OverFlow, SteveDun & U) are my HEROES.

Last edited by Ken@fri (2013-05-04 04:51:20)

Re: Stand Alone Driverpack utility for all OS (XP, 2k3, 2k8, Vista, Win7)

@ mr_smartepants
Now that I think about it you are correct....I need to think long term.  lol

Re: Stand Alone Driverpack utility for all OS (XP, 2k3, 2k8, Vista, Win7)

Hi there!

I have some problems during installation.
I'm using setupcompleted.cmd

@echo off
WMIC USERACCOUNT WHERE "Name='Admin'" SET PasswordExpires=FALSE
START %systemdrive%\D\SAD2\DP_Install_Tool.cmd /s
for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\sources\install.wim set CDROM=%%i:
echo Found CD-Rom as drive %CDROM%
::Begin hotfix install

:MRT
echo MRT
IF EXIST %SystemRoot%\SysWOW64 start /wait %CDROM%\Soft\mrt.exe /q
.....

During drivers installation i get an error "\device\harddisk2(3-4-5-6)\dr2(3-4-5-6)" not found
I have five cardreaders port in my workstation. I guess that the problem is due to them.
When I delete this line
for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\sources\install.wim set CDROM=%%i:
the problem disappears. But then the software is not installed (
Pls help smile

Re: Stand Alone Driverpack utility for all OS (XP, 2k3, 2k8, Vista, Win7)

Change your "for %%i" line to read as follows and it WILL work:

FOR %%i IN (C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF /I EXIST %%i:\sources\install.wim SET "CDROM=%%i:"

The main difference is the inclusion of "IF /I", the /I makes the query case-insensitive meaning that "BlAh" is the same as "blah".  Also get in the habit of enclosing your SET variables in quotes to eliminate stray spaces.
I know this works because I use the exact same line in my .cmd.

I always use IF /I EXIST unless I'm looking for a very specific case-spelling.

Read BEFORE you post.  HWID tool   DriverPacks Tutorial   DONATE!
http://driverpacks.net/userbar/admin-1.png
Not all heroes wear capes, some wear Kevlar!

Re: Stand Alone Driverpack utility for all OS (XP, 2k3, 2k8, Vista, Win7)

Here's the latest version: v130507
http://www.mediafire.com/file/2dqtuw948 … -130507.7z

:: Changelog:
:: v130507 v3.0 (Erik Hansen)
:: Fixed bug where KTD option was not set when /CR switch is used.
:: Changed folder delete code to incorporate array processing.
:: Cleaned up user choice code, standardized variable names to X_CamelCase method.
:: Examples: C_Blah (user Choice variable), D_Blah (Directory variable), F_Blah (Function variable), O_Blah (Object variable), T_Blah (Temp/disposable variable)

To-Do: Increase data output to log.

I really need to find the time to update the first post...

Read BEFORE you post.  HWID tool   DriverPacks Tutorial   DONATE!
http://driverpacks.net/userbar/admin-1.png
Not all heroes wear capes, some wear Kevlar!

294

Re: Stand Alone Driverpack utility for all OS (XP, 2k3, 2k8, Vista, Win7)

cactus wrote:

I have some problems during installation.

During drivers installation i get an error "\device\harddisk2(3-4-5-6)\dr2(3-4-5-6)" not found
I have five cardreaders port in my workstation. I guess that the problem is due to them.

Yes, 'if exist' gives this error at a empty cardreader.
Use 'dir &&' instead. This avoid error at empty cardreader.

To be adjusted

setlocal EnableExtensions EnableDelayedExpansion

for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do (
  set InstallWIM=%%i:\sources\install.wim
  dir !InstallWIM! >nul 2>&1 && (
      echo. &echo found Install.wim !InstallWIM!
      set CDROM=%%i:
      goto :Found_CDRom)
  )
)
echo. &echo error: \sources\install.wim not found
pause
goto :eof

:Found_CDRom
echo Found CD-Rom as drive %CDROM%
::Begin hotfix install

Re: Stand Alone Driverpack utility for all OS (XP, 2k3, 2k8, Vista, Win7)

Thanks cdob,

that is the same suggestion you made years ago for the same issue we were having with empty card readers in our PreSetup.cmd file that we use for automating the NT5 (XP,  2K and 2K3) installs. I guess mr_smartepants forgot about that.

Of course we use a simpler implementation.

SET TAGFILE=\OEM

FOR %%i IN (C D E F G H I J K L M N O P Q R S T U V W X Y) DO DIR %%i: && IF EXIST "%%i:%TAGFILE%" SET CDDRIVE=%%i:& GOTO DPsFound

:DPsFound

The IF EXIST command fails / crashes if an empty card reader is encountered, the DIR command does not.

Thanks for the reminder... and drat you beat me to it big_smile.

DP BartPE Tutorial   DP_BASE Tutorial   HWID's Tool     Read BEFORE you post    UserBars!
http://driverpacks.net/userbar/admin-1.png
The DriverPacks, the DP_Base program, and Support Forum are FREE!.

Re: Stand Alone Driverpack utility for all OS (XP, 2k3, 2k8, Vista, Win7)

Thanks cdob!  I had forgotten about that.

Read BEFORE you post.  HWID tool   DriverPacks Tutorial   DONATE!
http://driverpacks.net/userbar/admin-1.png
Not all heroes wear capes, some wear Kevlar!

Re: Stand Alone Driverpack utility for all OS (XP, 2k3, 2k8, Vista, Win7)

Sorry I have been real busy with finals this week.  I will be back for testing later this week but college comes first.

Re: Stand Alone Driverpack utility for all OS (XP, 2k3, 2k8, Vista, Win7)

That HID pack can be a bit of a briar patch, neh?

Here's an oddball i found in a Satellite A70.

Installed along with the proper Synaptics TouchPad software (with the icon nicely disabled, thank you - how can i do that with ATi? wink ) mistakenly was Elan Microlelectronics's "ETDWare PS/2-x86 v11.6.4.001_WHQL.  In addition, it added a new tab in "Control Panel\Mouse" which had all options greyed out.

PS/2 Keyboard  -  ACPI\PNP0303\4&102A0DBB&0

Logicool was listed as manufacturer, SynTP was the upper-filter's name, and i8042prt being the service name.

I was able to uninstall the utility via A&RProgs., yet had to "roll-back" the PS/2 Mouse driver from the unexpected plain-jane MS driver, to the previously installed Synaptics driver (v16.2).  The Control Panel\Mouse extension was missing.

To add to that, there were 23 files dated Sept 5th 2007 from DP_HID\D\3\H\A\ installed in my Program Files folder, including an Alps utility.  In another Satellite A70, i see an Alps TouchPad installed.  I will check with Toshiba Support's Drivers page to see if both Alps & Synaptics are listed &/or included on support page.

Not a complaint, just observation.  Wondering if other models may be effected as this one was on XP?


Also, wondering if SAD3 would better discriminate Sound drivers better than Setup/DPfinisher11.09.012?

Last edited by TechDud (2013-05-11 00:26:09)

Re: Stand Alone Driverpack utility for all OS (XP, 2k3, 2k8, Vista, Win7)

Just an update.  Looked up OEM's driver page for that particular model, and it has listed Alps only.  Synaptics "Pressure Graph" app states that the program requires a Synaptics TouchPad.     That would explain why the control panel & Animated SystemTray icon don't work right.  Driver v16.2.10.20 was installed.  Mind you, these are results with legacy hardware, NT5 & DP_HID, so maybe it's not of issue to NT6 DP_TouchPad_Mouse users.
I'll do what i can to test with NT6 & report back.
Would a touchpad mfg possibly be listed in acpi, for instance?

Last edited by TechDud (2013-05-13 16:19:46)

Re: Stand Alone Driverpack utility for all OS (XP, 2k3, 2k8, Vista, Win7)

TechDud wrote:

Would a touchpad mfg possibly be listed in acpi, for instance?

Well, most touchpads are on the ACPI bus anyway.  Sometimes their mfg can be divined from the HWID but not always.

%*sny9001.DeviceDesc%= MouFilter_Inst9001,*SNY9001,ACPI\SNY9001		;Alps Pointing-device

The above touchpad is declared as an "Alps" but the HWID contains "SNY" which indicates "Sony".
There are other indicators; "IBM" or "LEN" for Lenovo, "DLL" for Dell, etc.

Read BEFORE you post.  HWID tool   DriverPacks Tutorial   DONATE!
http://driverpacks.net/userbar/admin-1.png
Not all heroes wear capes, some wear Kevlar!