Welcome to DriverPacks!
Are you having a problem caused by SAD2?  Or are you asking what is wrong with your autoit script?
SAD2 doesn't have any dependencies in Windows since everything it needs is contained in the archive.

For the record, here's a copy of the setupcomplete.cmd that we use in our company Win7 builds.

@ECHO off & setlocal EnableDelayedExpansion
SET "LOGFILE=%systemdrive%\install.log"
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 (DIR %%i: && IF /I EXIST %%i:\sources\install.wim SET "CDROM=%%i:") >nul 2>&1
ECHO>>"%LOGFILE%" 2>>&1 Found CD-Rom as drive %CDROM%

:PROCESSOR
REM :: Detect OS bit-ness on running system.  Assumes 64-bit unless 64-bit components do not exist. 
SET "ARCH=64" & SET "ARCHP=x64"
IF /I NOT EXIST "%SystemRoot%\SysWOW64\cmd.exe" (
    IF NOT DEFINED PROCESSOR_ARCHITEW6432 (SET "ARCH=32" & SET "ARCHP=x86")
) 
ECHO>>"%LOGFILE%" 2>>&1 System architecture is %ARCH% bit.
:PROCESSOR_end

:Malicious_Software_Removal_Tool
IF /I NOT EXIST "%CDROM%\updates\Windows-KB890830*.exe" GOTO Malicious_Software_Removal_Tool_end
ECHO>>"%LOGFILE%" ......................
ECHO>>"%LOGFILE%" 2>>&1 Installing Malicious Software Removal Tool
FOR %%X IN ("%CDROM%\updates\Windows-KB890830-%ARCHP%-*.exe") DO (
  Start /wait %%X /Q
  ECHO Executed %%X
  ) >>"%LOGFILE%" 2>>&1
  ECHO>>"%LOGFILE%" 2>>&1 Completed Malicious Software Removal Tool
:Malicious_Software_Removal_Tool_end

:Windows_Update_Agent_Update
IF /I NOT EXIST "%CDROM%\updates\WindowsUpdateAgent30*.exe" GOTO Windows_Update_Agent_Update_end
ECHO>>"%LOGFILE%" ......................
ECHO>>"%LOGFILE%" 2>>&1 Installing Windows Update Agent Update
%CDROM%\updates\WindowsUpdateAgent30-%ARCHP%.exe /quiet /norestart >>"%LOGFILE%" 2>>&1
ECHO>>"%LOGFILE%" 2>>&1 Completed Windows Update Agent Update
:Windows_Update_Agent_Update_end

:DirectX
IF /I NOT EXIST "%CDROM%\updates\DirectX-Full.exe" GOTO DirectX_end
ECHO>>"%LOGFILE%" ......................
ECHO>>"%LOGFILE%" 2>>&1 Updating DirectX
%CDROM%\updates\DirectX-Full.exe >>"%LOGFILE%" 2>>&1
ECHO>>"%LOGFILE%" 2>>&1 Completed DirectX
:DirectX_end

:SilverLight
IF /I NOT EXIST "%CDROM%\updates\Silverlight\Silverlight*.exe" GOTO SilverLight_end
ECHO>>"%LOGFILE%" ......................
ECHO>>"%LOGFILE%" 2>>&1 Installing SilverLight update
%CDROM%\updates\Silverlight\Silverlight-%ARCHP%.exe /q >>"%LOGFILE%" 2>>&1
ECHO>>"%LOGFILE%" 2>>&1 Completed SilverLight update
:SilverLight_end

:NET_Framework_45
IF /I NOT EXIST "%CDROM%\updates\NET45\dotnetfx45_full_x86_x64.exe" GOTO NET_Framework_45_end
ECHO>>"%LOGFILE%" ......................
ECHO>>"%LOGFILE%" 2>>&1 Installing .NET 4.5 Framework
%CDROM%\updates\NET45\dotnetfx45_full_x86_x64.exe /passive /norestart >>"%LOGFILE%" 2>>&1

ECHO>>"%LOGFILE%" 2>>&1 Installing any .NET 4.5 updates
FOR %%X IN ("%CDROM%\updates\NET45\NDP45-KB*-%ARCHP%.msp") DO (
  Start /wait %%X /quiet /norestart
  ECHO Executed %%X
  ) >>"%LOGFILE%" 2>>&1
ECHO>>"%LOGFILE%" 2>>&1 Completed .NET 4.5 Framework installation
:NET_Framework_45_end

REM ::Begin hotfix install
:Hotfix_install
IF /I NOT EXIST "%CDROM%\updates\Hotfixes\Windows6.1-*%ARCHP%.msu" GOTO Hotfix_install_end
ECHO>>"%LOGFILE%" ......................
ECHO>>"%LOGFILE%" 2>>&1 Installing required HotFix updates
FOR %%X IN ("%CDROM%\updates\Hotfixes\Windows6.1-*%ARCHP%.msu") DO (WUSA %%X /quiet /norestart) >>"%LOGFILE%" 2>>&1
IF /I EXIST "%CDROM%\updates\Hotfixes\rvkroots.exe" (%CDROM%\updates\Hotfixes\rvkroots.exe /Q) >>"%LOGFILE%" 2>>&1
ECHO>>"%LOGFILE%" 2>>&1 Completed HotFix updates
:Hotfix_install_end

:Calendar
REM ::Requires .NET 4 to be installed first.
IF /I NOT EXIST "%CDROM%\updates\Calendar\WinCal-Win7*.exe" GOTO Calendar_end
ECHO>>"%LOGFILE%" ......................
ECHO>>"%LOGFILE%" 2>>&1 Installing Super Calendar
%CDROM%\updates\Calendar\WinCal-Win7-%ARCHP%-en-us.exe /S /v/qb >>"%LOGFILE%" 2>>&1
ECHO>>"%LOGFILE%" 2>>&1 Completed Super Calendar
:Calendar_end

:Pinball
IF /I NOT EXIST "%CDROM%\updates\WinPinball-en-us.exe" GOTO Pinball_end
ECHO>>"%LOGFILE%" ......................
ECHO>>"%LOGFILE%" 2>>&1 Installing Pinball
%CDROM%\updates\WinPinball-en-us.exe /S /v/qb >>"%LOGFILE%" 2>>&1
ECHO>>"%LOGFILE%" 2>>&1 Completed Pinball
:Pinball_end

:Defender_Definitions
IF /I NOT EXIST "%CDROM%\updates\WinDefUpdate\mpas-fe*.exe" GOTO Defender_Definitions_end
ECHO>>"%LOGFILE%" ......................
ECHO>>"%LOGFILE%" 2>>&1 Installing Windows Defender Definition updates
IF "%ARCH%"=="64" ( 
	%CDROM%\updates\WinDefUpdate\mpas-fex64.exe -Q >>"%LOGFILE%" 2>>&1
  ) ELSE ( 
  %CDROM%\updates\WinDefUpdate\mpas-fe.exe -Q >>"%LOGFILE%" 2>>&1
)
ECHO>>"%LOGFILE%" 2>>&1 Completed Windows Defender Definition updates
:Defender_Definitions_end

:Security_Essentials
IF /I NOT EXIST "%CDROM%\updates\MSSE\mseinstall-*.exe" GOTO Security_Essentials_end
ECHO>>"%LOGFILE%" ......................
ECHO>>"%LOGFILE%" 2>>&1 Installing Microsoft Security Essentials
IF "%ARCH%"=="64" ( 
	%CDROM%\updates\MSSE\mseinstall-amd64fre-en-us.exe /s /q /o /runwgacheck >>"%LOGFILE%" 2>>&1
	%CDROM%\updates\MSSE\mpam-fex64.exe -Q >>"%LOGFILE%" 2>>&1
	%CDROM%\updates\MSSE\nis_fullx64.exe -Q >>"%LOGFILE%" 2>>&1
  ) ELSE ( 
  %CDROM%\updates\MSSE\mseinstall-en-us-x86.exe /s /q /o /runwgacheck >>"%LOGFILE%" 2>>&1
  %CDROM%\updates\MSSE\mpam-fe.exe -Q >>"%LOGFILE%" 2>>&1
  %CDROM%\updates\MSSE\nis_full.exe -Q >>"%LOGFILE%" 2>>&1
)
ECHO>>"%LOGFILE%" 2>>&1 Completed Microsoft Security Essentials
:Security_Essentials_end

:Adobe
IF /I NOT EXIST "%CDROM%\updates\Adobe\AdbeRdr*.exe" GOTO Adobe_end
ECHO>>"%LOGFILE%" ......................
ECHO>>"%LOGFILE%" 2>>&1 Installing Adobe Acrobat Reader and Adobe Flash
FOR %%X IN ("%CDROM%\updates\Adobe\AdbeRdr11*.exe") DO (
  Start /wait %%X /sPB /rs
  ECHO Executed %%X
  ) >>"%LOGFILE%" 2>>&1
%CDROM%\updates\Adobe\install_flash_player_ax.exe -install >>"%LOGFILE%" 2>>&1
ECHO>>"%LOGFILE%" 2>>&1 Completed Adobe Acrobat Reader and Adobe Flash
:Adobe_end

:Live_Essentials
IF /I NOT EXIST "%CDROM%\updates\wlsetup-all.exe" GOTO Live_Essentials_end
ECHO>>"%LOGFILE%" ......................
ECHO>>"%LOGFILE%" 2>>&1 Installing Windows Live Essentials
Start /wait %CDROM%\updates\wlsetup-all.exe /silent /noceip /nolaunch /notoolbarceip /nostrict >>"%LOGFILE%" 2>>&1
ECHO>>"%LOGFILE%" 2>>&1 Completed Windows Live Essentials
:Live_Essentials_end

:Java
IF /I NOT EXIST "%CDROM%\updates\Java\jre_%ARCHP%\*.msi" GOTO Java_end
ECHO>>"%LOGFILE%" ......................
ECHO>>"%LOGFILE%" 2>>&1 Installing Java Runtimes
IF "%ARCH%"=="64" ( 
FOR /F %%X IN ('DIR /B /S "%CDROM%\updates\Java\*.msi"') DO (
  msiexec /i %%X /qb /NoRestart ADDLOCAL=ALL IEXPLORER=1 MOZILLA=1 JAVAUPDATE=1 SYSTRAY=0 JU=1 AUTOUPDATECHECK=1 EULA=1
  ECHO Executed %%X
  ) >>"%LOGFILE%" 2>>&1
) ELSE ( 
FOR /F %%X IN ('DIR /B /S "%CDROM%\updates\Java\jre_%ARCHP%\*.msi"') DO (
  msiexec /i %%X /qb /NoRestart ADDLOCAL=ALL IEXPLORER=1 MOZILLA=1 JAVAUPDATE=1 SYSTRAY=0 JU=1 AUTOUPDATECHECK=1 EULA=1
  ECHO Executed %%X
  ) >>"%LOGFILE%" 2>>&1
)
ECHO>>"%LOGFILE%" 2>>&1 Completed Java Runtimes
:Java_end

:NET_cleanup
ECHO>>"%LOGFILE%" ......................
ECHO>>"%LOGFILE%" 2>>&1 Running .NET ngen cleanup routine.
%windir%\Microsoft.NET\Framework\v4.0.30319\ngen executequeueditems
IF /I EXIST %SystemRoot%\SysWOW64\cmd.exe %windir%\Microsoft.NET\Framework64\v4.0.30319\ngen executequeueditems
:NET_cleanup_end

:Drivers
ECHO>>"%LOGFILE%" ......................
ECHO>>"%LOGFILE%" 2>>&1 Installing drivers.
IF /I EXIST "%CDROM%\SAD2\DP_Install_Tool.cmd" Start "" /max /separate %comspec% /c %CDROM%\SAD2\DP_Install_Tool.cmd /s
:Drivers_end

REM ::all processing finished, delete used files, and EXIT::
:CLEANUP
IF /I EXIST %windir%\Setup\scripts RD /S /Q %windir%\Setup\scripts >nul
endlocal
DEL /F /Q %0% >nul

The part that launches SAD2 is here:

:Drivers
ECHO>>"%LOGFILE%" ......................
ECHO>>"%LOGFILE%" 2>>&1 Installing drivers.
IF /I EXIST "%CDROM%\SAD2\DP_Install_Tool.cmd" Start "" /max /separate %comspec% /c %CDROM%\SAD2\DP_Install_Tool.cmd /s
:Drivers_end
TechDud wrote:

Do you like the changelog, mr_smartepants?
Now it goes back to "First Release!"

LOL, sure.
The release changelogs are cumulative and show all the final changes from all the test builds.
Testing build changelogs should show what each build changed from the previous testing build (added/changed/deleted/regression)

cdob wrote:

I've no idea, if a Windows 7 dism works at Vista files or at Windows 2008 (not R2) files.
May work or fail, it's not supported.

Yes it does.  Each newer version of DISM is backwards compatible and IS supported by M$.

I have an HP Z420 sitting on my desk at work.  What a beast!
I didn't have the same problem you did because I used the $WinPEDriver$ folder method.
http://support.microsoft.com/kb/2686316

As long as the accompanying DPsFnshr.ini is written properly, the NT5 DriverPacks Finisher will execute it with the current SAD.

106

(4 replies, posted in Windows 7 Discussion)

Floppy wrote:

Was my DtcInstall.log ok?

I don't know, I don't use SysPrep.  Something happened during the "generalize" process.

107

(4 replies, posted in Windows 7 Discussion)

Floppy wrote:

I have this in my
SETUPCOMPLETE.cmd

REG ADD %KEY%\070 /VE /D "Driver Oppdatering" /f
REG ADD %KEY%\070 /V 1 /D "%systemdrive%\D\SAD2\DP_Install_Tool.cmd /s

Looks like you're missing an end-quote from your second REG line.

Change to read:

REG ADD %KEY%\070 /V 1 /D "%systemdrive%\D\SAD2\DP_Install_Tool.cmd /s"

Yes, the /S switch is used to make SAD silent.

Ken@fri wrote:

I also add  this switch (overwrite mode)

-aoa

to 7Zip extraction commands of sections :Lets_GO, :Method2 & :Begin

Nice!  I'll add that into my working copy.

109

(73 replies, posted in Vista / 7 DriverPack Mass Storage)

mr_smartepants wrote:

Version 12.6 Intel RST is now final.
https://downloadcenter.intel.com/Detail … ldID=22787

http://forum.driverpacks.net/viewtopic. … 641#p51641

ChiefZeke wrote:

Intel RST 12.6.0.1003 released

Beat you to it Chief! big_smile

Strange, I don't have that problem.
Here's a sample batch to illustrate:

@Echo off

ECHO Line 1!
ECHO Line 2
ECHO Line 3!
ECHO Line 4

results in:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

I:\test>test12.bat
Line 1!
Line 2
Line 3!
Line 4

I:\test>

It's possible there's something wacky going on in the French localization of the code.
I'll remove the exclamation points just to be safe.

I'll also look into the log-delete errors.
Thanks for reporting.

Thanks! I was reading this yesterday.
http://msdn.microsoft.com/en-us/library … S.85).aspx
At least M$ has a sense of humor!

Well, doing some research into WMIC I found the following tidbit works to identify notebooks.

WMIC SystemEnclosure GET ChassisTypes /value

On a notebook the output would be "ChassisTypes={10}" but on anything else the value would be blank.  Once the target machine is identified as a notebook, further filtering can be applied.

Ref: http://technet.microsoft.com/en-us/libr … 80825.aspx

Microsoft wrote:

This property when set to the value of 10 is equivalent to "notebook." However, not all computers provide this property.

113

(12 replies, posted in Vista / 7 DriverPack Mass Storage)

Version 12.6 Intel RST is now final.
https://downloadcenter.intel.com/Detail … ldID=22787

Hmm, I wonder if we could do something similar by polling WMIC on the target system.

<goes off to play in the sandbox...>

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.

116

(18 replies, posted in Feedback and Support - DriverPacks Base)

ikbeneenlul wrote:

If I use SP0, SP2 or SP3 then guiSetup crashes on my Pentium1 90Mhz sad

I haven't even SEEN a Pentium 1 in over 10 years!  Get some new(er) hardware! big_smile

2013-05-11 21:39:41 : <PREP> Replaced original setup: method 2 was used previously.
2013-05-11 21:39:42 : <PREP> Verified method 2 references don't exist in txtsetup.sif or dosnet.inf.

Yup, source is suspect if DriverPacks BASE is already detecting a prior (broken) method-2 integration.

Not that I know of.

vlotho wrote:

and for 64 bits ?

We don't support Windows XP x64
http://forum.driverpacks.net/viewtopic.php?id=2651

Ra wrote:

The DP_Touchpad_Mouse does not include the Microsoft Mice and Keyboard drivers does it ?

Correct, they do not.

Thanks cdob!  I had forgotten about that.

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...

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.

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?

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!

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