Jump to content

RunOnceEx.cmd; previously installed drivers?


Recommended Posts

Im trynig to install a couple of drivers in RunOnceEx.cmd, and also have some that are searched up in winnt.sif (not the same hardware).

in RunOnceEx.cmd im trying to isntall Audigy, nVidia ForceWare and PinnaclePCTV. It stops at PCTV and gives me an error that i have previously installed drivers without rebooting. please reboot.

How do i solve this?

Link to comment
Share on other sites


Im trying a bit different way of doing it now, by launching all driver installs from one .cmd file. (testing in virtual PC now). Here is my current files:

RunOnceEx.cmd (Norwegian :P)

cmdow @ /HID
@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installerer programvare" /f

REG ADD %KEY%\001 /VE /D "Installerer enhetsdrivere" /f
REG ADD %KEY%\001 /V 1 /D "%Systemdrive%\Install\drivers.cmd" /f

REG ADD %KEY%\010 /VE /D "Microsoft .NET Framework v1.1 SP1" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\NetFramework\netfx.msi /QB" /f
REG ADD %KEY%\010 /V 2 /D "%systemdrive%\install\NetFramework\NDP1.1sp1-KB867460-X86.exe /Q" /f

REG ADD %KEY%\015 /VE /D "MSN Messenger 6.2" /f
REG ADD %KEY%\015 /V 1 /D "%systemdrive%\Install\MSN\MsnMsgs.msi /QB" /f

REG ADD %KEY%\020 /VE /D "Adobe Acrobat Reader 6" /f
REG ADD %KEY%\020 /V 1 /D "%systemdrive%\Install\Applications\AdobeReader6\installer.cmd" /f

REG ADD %KEY%\025 /VE /D "Microsoft Office 2003 Professional" /f
REG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\Applications\Office2003\PRO11.msi /QB" /f

REG ADD %KEY%\030 /VE /D "WinRAR 3.40" /f
REG ADD %KEY%\030 /V 1 /D "%systemdrive%\Install\Applications\WinRAR\wrar340no.exe /s" /f

REG ADD %KEY%\033 /VE /D "Sonic RecordNow! Deluxe" /f
REG ADD %KEY%\033 /V 1 /D "%systemdrive%\Install\Applications\RecordNow\Setup.msi /QB" /f

REG ADD %KEY%\035 /VE /D "Ahead Nero Burning Rom 6.3.125" /f
REG ADD %KEY%\035 /V 1 /D "%systemdrive%\Install\Applications\Nero\nero63120.exe /silent=1 /silent /no_ui /setlang=NOR /nocancel /noreboot /sn=\"XXXX-XXXX-XXXX-XXXX-XXXX-XXXX\" /write_sn" /f
REG ADD %KEY%\035 /V 2 /D "%systemdrive%\Install\Applications\Nero\nero63125.exe /silent=1 /silent /no_ui /setlang=NOR /nocancel /noreboot" /f

REG ADD %KEY%\040 /VE /D "K-Lite Mega Codec Pack 1.12" /f
REG ADD %KEY%\040 /V 1 /D "%systemdrive%\Install\Applications\CodecPack\klmcodec112.exe /verysilent /loadinf=\"%systemdrive%\Install\Applications\CodecPack\silent.inf\"" /f

REG ADD %KEY%\045 /VE /D "BSplayer Pro v1.02.812" /f
REG ADD %KEY%\045 /V 1 /D "%systemdrive%\Install\Applications\BSplayer\bsplayerpro100.812.exe /S" /f

REG ADD %KEY%\050 /VE /D "DaemonTools 3.47" /f
REG ADD %KEY%\050 /V 1 /D "%systemdrive%\Install\Applications\DaemonTools\daemon.msi /quiet /passive /qn /norestart REBOOT=ReallySuppress" /f

REG ADD %KEY%\055 /VE /D "Konfigurerer og starter paa nytt" /f
REG ADD %KEY%\055 /V 1 /D "%systemdrive%\Install\setresolution.cmd" /f
REG ADD %KEY%\055 /V 2 /D "%systemdrive%\Install\cleanup.cmd"


EXIT

drivers.cmd

cmdow @ /HID
@echo off
start /wait %Systemdrive%\Drivers\000_agpchipset\Setup.exe -S
start /wait %systemdrive%\Drivers\001_grafikk\Setup.exe -S
start /wait %systemdrive%\Drivers\003_lyd\Drivers\CTZAPXX.exe /S
start /wait %systemdrive%\Drivers\002_tv_kort\Setup\Setup.exe -s
EXIT

in winnt.sif it searches for Scanner driver and bluetooth driver, but non of the above.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...