Topic: Stand Alone Driverpack utility for all OS (XP, 2k3, 2k8, Vista, Win7)
Except otherwise noted, the open-source code of the DP_Install_Tool.cmd file is © 2011-2013 by Erik Hansen for DriverPacks.net, under a Creative Commons Attribution-ShareAlike license: http://creativecommons.org/licenses/by-sa/3.0/.
7-Zip is open source software by Igor Pavlov. Most of the source code is under the GNU LGPL license. The unRAR code is under a mixed license: GNU LGPL + unRAR restrictions. Check license information here: http://www.7-zip.org/license.txt or http://www.gnu.org/licenses/lgpl.html
DPInst.exe is proprietary code owned completely by Microsoft and distributed under their own license. (see .\bin\*\dpinst-license.rtf)
Here is a script developed from the original SAD script. I'll call it SAD2
It'll automatically determine the running system OS arch and extract the correct DriverPacks from the right directory. Very slick.
It will then install or upgrade the drivers on all your devices from the supplied drivers and clean up after itself.
Supports all NT5 (XP/2000/2003) & NT6 (Vista/Win7/Server2008) OS types.
To get this working in Win7 during an unattended install do the following "setupcomplete.cmd" method.
Create the following folder structure to your Win7 disc:
%Win7-Disc%\sources\$oem$\$1\D\SAD2 (entire SAD2 folder with all DriverPacks goes here)
Add the following code to the setupcomplete.cmd file.
@echo off START %systemdrive%\D\SAD2\DP_Install_Tool.cmd /s
If you want to try the current work in progress, it's here:
Download Current version: v130627
Download v120520 (Self-Extracting Archive)
Download v120326 (Self-Extracting Archive)
Download v120317 (Self-Extracting Archive)
Download v120215 (Self-Extracting Archive)
Download v120203 (Self-Extracting Archive)
Read the "readme.txt"
v130627 v3.0 (Erik Hansen) Added 7zip switch -aoa to enable auto-overwrite mode. Removed Win8 leaked build numbers and added Win8.1 preview build number to detection array. Added DIR to CDROM detection array to prevent errors with card readers in system v120520 (Erik Hansen) Modified code to detect OS Architecture correctly. Removed extra parenthesis and other minor refinements. v120423 Fixed code to detect Server 2003 correctly. (franner) v120326 Fixed code to prevent errors during cleanup stage (Iceblackice) v120318 Added code to enable switches. Only a Help guide and "Silent" operation for now. (Erik Hansen) v120317 Added code for silent operation. No prompts, displays progress only. (Erik Hansen) Added code to delete folders not needed. (Erik Hansen) v120217 Updated command line 7-zip in \bin folder to 9.22. (Erik Hansen) v120215 (Erik Hansen) Added command line 7-zip to \bin folder and code to use. Updated elevate.vbs to current version from MSDN. Optimized OS detection subroutines. Fixed log file output reference to %windir%\dpinst.log. v120203 (Erik Hansen) Added code to use native installed 7-Zip if present. Fixed bug with extra space in %ARCH% variable v111118 Fixed typo in log file output reference. (Twig123/Dave) v111009 Fixed typo in KTD option code. (Erik Hansen) v111008 Added code to allow user to change Keep The Drivers (KTD) option (Erik Hansen) Fixed bug where DriverPacks wouldn't be found if there were spaces in the path. v110713 Fixed code to prevent errors during cleanup stage (Erik Hansen) Added code to report accurate CPU type (Erik Hansen) Added code to detect DP_*.7z files in the current directory (Erik Hansen) v110505 Fixed code to prevent writing log to read-only disc Repackaged dpinst* files to prevent accidental deletion. v110504 Fixed bug where NT6 Method 1 fails prematurely. v110503 Fixed code to remove extra backslash from path if exist. v110502 Fixed un7zip code to allow for wildcard file extraction v110501 Updated to support UNC network shares and UAC elevation for NT6 Fixed CPU detection to allow for 32-bit OS on 64-bit CPU Fixed un7zip code to allow breakpoints v110312 Fixed missing NT5\x86\dpinst.* files Updated to current DriverPack Chipset versions. v110213 Added NT6 Method 1 functionality. Added check for UNC (\\server\path\to\file) paths. Cmd.exe will fail if UNC path is used. Changed Method 1 COPY function to XCOPY for reliability. Improved readme.txt instructions. v101203 Added NT6 functionality (Vista/Win7).
**Moved from original thread**
*DPinst.exe is owned by Microsoft and distributed under their own license included with the Microsoft Driver SDK.
7-Zip components are distributed under the LGPL license.
*un7zip.exe was donated to the DriverPacks project by users STK and Maxximum