Driver Integration (Windows 7)

  • Thread starter Thread starter tekcap
  • Start date Start date
T

tekcap

Guest
Hello,

I've decided that driver integration using .inf files isn't what I'm looking for. Mostly because I feel like the driver won't be complete unless I run the exe/msi file to install, since some of them come with software.

What I'm doing now is running silent installs of all the EXE and MSI files for the drivers Post-Setup.
Device manager shows everything went well except for two of them.

Here is a copy and paste of my current script file:

@echo off
dism.exe /Online /Add-Package /PackagePath:"%WINDIR%\Setup\Updates\Windows6.1-KB2533552-x64.cab"
dism.exe /Online /Add-Package /PackagePath:"%WINDIR%\Setup\Updates\Windows6.1-KB2603229-x64.cab"
call "%WINDIR%\Setup\Files\activation.cmd"
call msiexec.exe /qn /i "%WINDIR%\Setup\Files\850 G1 Drivers\HP 3D DriveGuard Software\HP 3D DriveGuard.msi" TRANSFORMS=1033.mst REBOOT=ReallySuppress
call "%WINDIR%\Setup\Files\850 G1 Drivers\Synaptics WBF Fingerprint Driver\SynaWBFFPReader_Setup.exe" /s
call "%WINDIR%\Setup\Files\850 G1 Drivers\Realtek USB and PCIe Media Card\setup.exe" /s
call "%WINDIR%\Setup\Files\850 G1 Drivers\Intel Wireless LAN Drivers\Win7Plus\Win64\Install\Setup.exe" /q
call "%WINDIR%\Setup\Files\850 G1 Drivers\Intel USB 3.0 Driver\Setup.exe" /s
call "%WINDIR%\Setup\Files\850 G1 Drivers\Intel Smart Connect Technology Driver\Setup.exe" /s
call "%WINDIR%\Setup\Files\850 G1 Drivers\Intel Management Engine Components Driver\SetupME.exe" /s
call "%WINDIR%\Setup\Files\850 G1 Drivers\Intel I217LMV and I218LM Gigabit Ethernet\Setup.exe" /s
call "%WINDIR%\Setup\Files\850 G1 Drivers\Intel Video Driver and Control Panel\Setup.exe" /s
call "%WINDIR%\Setup\Files\850 G1 Drivers\Intel Smart Connect Technology Driver\Intel(R) Smart Connect Technology 4.2 x64.msi" /q /norestart
call "%WINDIR%\Setup\Files\850 G1 Drivers\Intel Chipset Installation Utility\SetupChipset.exe" /s
call "%WINDIR%\Setup\Files\850 G1 Drivers\AMD Video Drivers and Control Panel\Bin64\Setup.exe" /unattended_install
rd /q /s "%WINDIR%\Setup\Updates"
del /q /f "%0"


The two drivers that don't work are :
call msiexec.exe /qn /i "%WINDIR%\Setup\Files\850 G1 Drivers\HP 3D DriveGuard Software\HP 3D DriveGuard.msi" TRANSFORMS=1033.mst REBOOT=ReallySuppress
call "%WINDIR%\Setup\Files\850 G1 Drivers\AMD Video Drivers and Control Panel\Bin64\Setup.exe" /unattended_install

The strange part is that I can run those commands once I'm in Windows and the drivers will install correctly. What I'm thinking now is they just need to be run once the computer has reboot, but I'm not sure how to do that and if that really is the best way to accomplish this.
 
Last edited by a moderator:
The two drivers that don't work are :
call msiexec.exe /qn /i "%WINDIR%\Setup\Files\850 G1 Drivers\HP 3D DriveGuard Software\HP 3D DriveGuard.msi" TRANSFORMS=1033.mst REBOOT=ReallySuppress
call "%WINDIR%\Setup\Files\850 G1 Drivers\AMD Video Drivers and Control Panel\Bin64\Setup.exe" /unattended_install

The strange part is that I can run those commands once I'm in Windows and the drivers will install correctly. What I'm thinking now is they just need to be run once the computer has reboot, but I'm not sure how to do that and if that really is the best way to accomplish this.

Seems like there are needed dependencies (some services) that aren't running at the launch time, isn't NTLite fault.
 
The strange part is that I can run those commands once I'm in Windows and the drivers will install correctly. What I'm thinking now is they just need to be run once the computer has reboot, but I'm not sure how to do that and if that really is the best way to accomplish this.
I'll work on the option for delaying certain steps to the first user logon, which is needed in some cases.

Thanks for the feedback.
 
Nuhi, When do the scripts run? Is there some sort of time before the windows login where things can be executed? Forgive my ignorance, I'm new to this!
 
Nuhi, When do the scripts run? Is there some sort of time before the windows login where things can be executed? Forgive my ignorance, I'm new to this!
Make a copy of Setupcomplete.cmd and rename it to oobe.cmd, leave only the commands that launch the installers that doesn´t works in Setupcomplete.cmd
 
Can I create a batch file to install my two missing drivers after Windows login? I'm reading online that a RunOnce registry entry exists.. would that solve my problem?
 
Back
Top