Topic: Plug and play monitor driver wizard window poping up now ?

On the newer SP3 builds, 3311 5503 I get a driver wizard window pop up right when RunOnceEX is started, this window will cause once of my silent installers to get stuck and not finish until I finish the wizard. I have included all the plug and play drivers in my custom driver pack and they were being installed in 3244 and 3264.

I would also like to add I am using the latest I think RC2 of the driver packs BASE


Thank you

Last edited by Sull (2008-03-24 14:59:14)

Re: Plug and play monitor driver wizard window poping up now ?

try guirunonce and see if that resolves your issue

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: Plug and play monitor driver wizard window poping up now ?

Do you mean run the finisher from guirunonce ?

I currently am running the finisher from guirunonce, the rest of the software I need is ran from RunOnceEX.

I did another install and I notice I get the plug and play driver wizard right before RunOnceEX so that would be right after the finisher ( guirunonce )

Re: Plug and play monitor driver wizard window poping up now ?

try useing this technique as a starting point
select custom for the finisher from base
add the following line to cmdlines.txt
"Runonceex.cmd"

then create a "Runonceex.cmd" in $OEM$\

with lines like

for /f "delims=: tokens=1" %%i in ("%~dp0") do SET drive=%%i:

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY%\996 /V 1 /D "cmd /c start /wait %drive%\WPI\INSTALL\SYSTEM\dotnetaio.exe"
REG ADD %KEY%\996 /V 2 /D "cmd /c start /wait %SystemDrive%\DPsFnshr.exe"
REG ADD %KEY%\996 /V 3 /D "cmd /c start /wait %SystemDrive%\myprogram.exe"

by useing "/start /wait" it will keep one program fom executeing before the last one is finished.

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: Plug and play monitor driver wizard window poping up now ?

Well this is what I have am running already.

Here is the last sesction of my WINNT.SIF

[GuiRunOnce]
	command9="%SystemDrive%\DPsFnshr.exe"
"%SystemRoot%\System32\nLite.cmd"
"%Systemdrive%\Install\RunOnceEX.cmd"

As you see RunOnceEX is executed from guirunonce, I want it to be execuated before RunOnceEX.

Here is my RunOnceEX.cmd file

@echo off
cmdow @ /HID

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

REG ADD %KEY% /V TITLE /D "#1 Sull's Sony UX driver & application solution" /f

REG ADD %KEY%\005 /VE /D "Preparing Sull's Silent Executables" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\PAUSE1.exe" /f

REG ADD %KEY%\010 /VE /D ".NET Framework 3.5" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\FILES\010_DOTNET35-LITE.EXE" /f
REG ADD %KEY%\010 /V 2 /D "%systemdrive%\install\PAUSE.exe

REG ADD %KEY%\015 /VE /D "FoxIt PDF Reader Pro v2.0 Build 1312" /f
REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\FILES\FOXIT.exe" /f
REG ADD %KEY%\015 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\020 /VE /D "uTorrent 1.61 build 490" /f
REG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\FILES\UTRRNT.exe" /f
REG ADD %KEY%\020 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\025 /VE /D "Sygate Pro v5.6 Build 3408" /f
REG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\FILES\SGATE.exe" /f
REG ADD %KEY%\025 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\027 /VE /D "TeraCopy Pro v2.0b" /f
REG ADD %KEY%\027 /V 1 /D "%systemdrive%\install\FILES\TERACOPY.EXE" /f
REG ADD %KEY%\027 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\028 /VE /D "Quick Batch File Compiler" /f
REG ADD %KEY%\028 /V 1 /D "%systemdrive%\install\FILES\QBFCS.EXE" /f
REG ADD %KEY%\028 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\030 /VE /D "Adobe Photoshop CS3 Portable" /f
REG ADD %KEY%\030 /V 1 /D "%systemdrive%\Install\FILES\CS3.exe" /f
REG ADD %KEY%\030 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\035 /VE /D "Chipset Software Installation Utility" /f
REG ADD %KEY%\035 /V 1 /D "%systemdrive%\FIRSTBOOT\chipsetupdate.exe /s" /f
REG ADD %KEY%\035 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\040 /VE /D "Visual Communication Camera VGP-VCC3 Driver" /f
REG ADD %KEY%\040 /V 1 /D "%systemdrive%\FIRSTBOOT\CAMERADRIVER.EXE" /f
REG ADD %KEY%\040 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\045 /VE /D "Alps StickPointer Driver" /f
REG ADD %KEY%\045 /V 1 /D "%systemdrive%\FIRSTBOOT\alpspointer.exe" /f
REG ADD %KEY%\045 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\050 /VE /D "Sony Image FilterDriver" /f
REG ADD %KEY%\050 /V 1 /D "%systemdrive%\FIRSTBOOT\imagefilter\SonyImageFilter.exe /s" /f
REG ADD %KEY%\050 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\055 /VE /D "Programmable I/O Driver" /f
REG ADD %KEY%\055 /V 1 /D "%systemdrive%\FIRSTBOOT\programmableio.exe" /f
REG ADD %KEY%\055 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\060 /VE /D "Gunze Touch panel Driver" /f
REG ADD %KEY%\060 /V 1 /D "%systemdrive%\FIRSTBOOT\touchpanel.exe" /f
REG ADD %KEY%\060 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\065 /VE /D "Sony USB Mouse Driver" /f
REG ADD %KEY%\065 /V 1 /D "%systemdrive%\FIRSTBOOT\mousedri.exe" /f
REG ADD %KEY%\065 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\070 /VE /D "LAN-Express Software" /f
REG ADD %KEY%\070 /V 1 /D "%systemdrive%\FIRSTBOOT\LANExpress.exe" /f
REG ADD %KEY%\070 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\075 /VE /D "Sony Batt Check" /f
REG ADD %KEY%\075 /V 1 /D "%systemdrive%\FIRSTBOOT\batcheck.exe" /f
REG ADD %KEY%\075 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\080 /VE /D "Setting Utility Series" /f
REG ADD %KEY%\080 /V 1 /D "%systemdrive%\FIRSTBOOT\SUS.exe" /f
REG ADD %KEY%\080 /V 2 /D "%systemdrive%\install\PAUSE.exe"

start /wait rundll32.exe iernonce.dll,RunOnceExProcess

REG ADD %KEY% /V TITLE /D "#2 Sull's Sony UX driver & application solution" /f

REG ADD %KEY%\001 /VE /D "Sony Shared Library" /f
REG ADD %KEY%\001 /V 1 /D "%systemdrive%\FIRSTBOOT\sharedlibrary.exe" /f
REG ADD %KEY%\001 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\003 /VE /D "Sony Utilities DLL" /f
REG ADD %KEY%\003 /V 1 /D "%systemdrive%\FIRSTBOOT\utildll.exe" /f
REG ADD %KEY%\003 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\005 /VE /D "Vaio Control Center" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\FIRSTBOOT\controlcenter.exe" /f
REG ADD %KEY%\005 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\010 /VE /D "Vaio Event Service" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\FIRSTBOOT\VES.exe" /f
REG ADD %KEY%\010 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\015 /VE /D "Vaio Powermanagment" /f
REG ADD %KEY%\015 /V 1 /D "%systemdrive%\FIRSTBOOT\powermgr.exe" /f
REG ADD %KEY%\015 /V 2 /D "%systemdrive%\install\MGR.CMD"

REG ADD %KEY%\020 /VE /D "Special Button Utility" /f
REG ADD %KEY%\020 /V 1 /D "%systemdrive%\FIRSTBOOT\SBU.exe" /f
REG ADD %KEY%\020 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\025 /VE /D "Vaio Touch Launcher" /f
REG ADD %KEY%\025 /V 1 /D "%systemdrive%\FIRSTBOOT\VTL.exe" /f
REG ADD %KEY%\025 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\030 /VE /D "Vaio Capture Utility" /f
REG ADD %KEY%\030 /V 1 /D "%systemdrive%\FIRSTBOOT\VCU.exe" /f
REG ADD %KEY%\030 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\035 /VE /D "Vaio Capture Capture Utility" /f
REG ADD %KEY%\035 /V 1 /D "%systemdrive%\FIRSTBOOT\vccu.exe" /f
REG ADD %KEY%\035 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\040 /VE /D "Vaio Zoom" /f
REG ADD %KEY%\040 /V 1 /D "%systemdrive%\FIRSTBOOT\zoom.exe" /f
REG ADD %KEY%\040 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\045 /VE /D "Wireless Setting Utility" /f
REG ADD %KEY%\045 /V 1 /D "%systemdrive%\FIRSTBOOT\WSSU.exe" /f
REG ADD %KEY%\045 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\047 /VE /D "PenPlus For VAIO" /f
REG ADD %KEY%\047 /V 1 /D "%systemdrive%\FIRSTBOOT\PENPLUS.exe" /f
REG ADD %KEY%\047 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\050 /VE /D "Toshiba Bluetooth Driver" /f
REG ADD %KEY%\050 /V 1 /D "%systemdrive%\FIRSTBOOT\bt.exe" /f
REG ADD %KEY%\050 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\055 /VE /D "Protector Suite QL" /f
REG ADD %KEY%\055 /V 1 /D "%systemdrive%\FIRSTBOOT\setup.exe /passive /norestart" /f
REG ADD %KEY%\055 /V 2 /D "REGEDIT /S %systemdrive%\install\PSQL.REG"

REG ADD %KEY%\065 /VE /D "Setting Firefox as default browser" /f
REG ADD %KEY%\065 /V 1 /D "%systemdrive%\Install\FFDEF.CMD" /f
REG ADD %KEY%\065 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\070 /VE /D "Cleaning up Windows" /f
REG ADD %KEY%\070 /V 1 /D "%systemdrive%\Install\CLEANUP.CMD" /f
REG ADD %KEY%\070 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\075 /VE /D "Adding registry Tweaks" /f
REG ADD %KEY%\075 /V 1 /D "REGEDIT /S %systemdrive%\Install\TWEAKS.REG" /f
REG ADD %KEY%\075 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\080 /VE /D "Adding UMPC Scroll Bar" /f
REG ADD %KEY%\080 /V 1 /D "REGEDIT /S %systemdrive%\Install\UMPCSCROLL.REG" /f
REG ADD %KEY%\080 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\082 /VE /D "Configuring Services" /f
REG ADD %KEY%\082 /V 1 /D "REGEDIT /S %systemdrive%\Install\SERVICES.REG" /f
REG ADD %KEY%\082 /V 2 /D "%systemdrive%\install\PAUSE.exe"

start /wait rundll32.exe iernonce.dll,RunOnceExProcess

EXIT

It would probably be wise as you have said to add the finisher to my RunOnceEX.cmd file. Now for everything to work correctly I would need to use this key REG ADD %KEY%\996  < --- the 996 correct ? see the example below

REG ADD %KEY%\996 /VE /D "Driver Finisher" /f
REG ADD %KEY%\996 /V 1 /D "%systemdrive%\DPsFnshr.exe" /f

I am familiar with start /wait but I did not know it is needed in RunOnceEX, I have been using it without any problems, would I benefit from it ?

Let me know if everything looks good...

Re: Plug and play monitor driver wizard window poping up now ?

Here is how your RunOnceEX.cmd file might be made to  work


[GuiRunOnce]
"%Systemdrive%\Install\RunOnceEX.cmd"
@echo off
cmdow @ /HID

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

REG ADD %KEY% /V TITLE /D "#1 Sull's Sony UX driver & application solution" /f

REG ADD %KEY%\001 /V 1 /D "cmd /c start /wait "%SystemRoot%\System32\nLite.cmd"
REG ADD %KEY%\001 /V 2 /D "cmd /c start /wait %SystemDrive%\DPsFnshr.exe"

REG ADD %KEY%\005 /VE /D "Preparing Sull's Silent Executables" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\PAUSE1.exe" /f

REG ADD %KEY%\010 /VE /D ".NET Framework 3.5" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\FILES\010_DOTNET35-LITE.EXE" /f
REG ADD %KEY%\010 /V 2 /D "%systemdrive%\install\PAUSE.exe

REG ADD %KEY%\015 /VE /D "FoxIt PDF Reader Pro v2.0 Build 1312" /f
REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\FILES\FOXIT.exe" /f
REG ADD %KEY%\015 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\020 /VE /D "uTorrent 1.61 build 490" /f
REG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\FILES\UTRRNT.exe" /f
REG ADD %KEY%\020 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\025 /VE /D "Sygate Pro v5.6 Build 3408" /f
REG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\FILES\SGATE.exe" /f
REG ADD %KEY%\025 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\027 /VE /D "TeraCopy Pro v2.0b" /f
REG ADD %KEY%\027 /V 1 /D "%systemdrive%\install\FILES\TERACOPY.EXE" /f
REG ADD %KEY%\027 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\028 /VE /D "Quick Batch File Compiler" /f
REG ADD %KEY%\028 /V 1 /D "%systemdrive%\install\FILES\QBFCS.EXE" /f
REG ADD %KEY%\028 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\030 /VE /D "Adobe Photoshop CS3 Portable" /f
REG ADD %KEY%\030 /V 1 /D "%systemdrive%\Install\FILES\CS3.exe" /f
REG ADD %KEY%\030 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\035 /VE /D "Chipset Software Installation Utility" /f
REG ADD %KEY%\035 /V 1 /D "%systemdrive%\FIRSTBOOT\chipsetupdate.exe /s" /f
REG ADD %KEY%\035 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\040 /VE /D "Visual Communication Camera VGP-VCC3 Driver" /f
REG ADD %KEY%\040 /V 1 /D "%systemdrive%\FIRSTBOOT\CAMERADRIVER.EXE" /f
REG ADD %KEY%\040 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\045 /VE /D "Alps StickPointer Driver" /f
REG ADD %KEY%\045 /V 1 /D "%systemdrive%\FIRSTBOOT\alpspointer.exe" /f
REG ADD %KEY%\045 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\050 /VE /D "Sony Image FilterDriver" /f
REG ADD %KEY%\050 /V 1 /D "%systemdrive%\FIRSTBOOT\imagefilter\SonyImageFilter.exe /s" /f
REG ADD %KEY%\050 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\055 /VE /D "Programmable I/O Driver" /f
REG ADD %KEY%\055 /V 1 /D "%systemdrive%\FIRSTBOOT\programmableio.exe" /f
REG ADD %KEY%\055 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\060 /VE /D "Gunze Touch panel Driver" /f
REG ADD %KEY%\060 /V 1 /D "%systemdrive%\FIRSTBOOT\touchpanel.exe" /f
REG ADD %KEY%\060 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\065 /VE /D "Sony USB Mouse Driver" /f
REG ADD %KEY%\065 /V 1 /D "%systemdrive%\FIRSTBOOT\mousedri.exe" /f
REG ADD %KEY%\065 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\070 /VE /D "LAN-Express Software" /f
REG ADD %KEY%\070 /V 1 /D "%systemdrive%\FIRSTBOOT\LANExpress.exe" /f
REG ADD %KEY%\070 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\075 /VE /D "Sony Batt Check" /f
REG ADD %KEY%\075 /V 1 /D "%systemdrive%\FIRSTBOOT\batcheck.exe" /f
REG ADD %KEY%\075 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\080 /VE /D "Setting Utility Series" /f
REG ADD %KEY%\080 /V 1 /D "%systemdrive%\FIRSTBOOT\SUS.exe" /f
REG ADD %KEY%\080 /V 2 /D "%systemdrive%\install\PAUSE.exe"

rem start /wait rundll32.exe iernonce.dll,RunOnceExProcess
(if you are going to force the runonce install from the .cmd file why bother making the registry entries at all)
rem "why are you stomping on your previous entries???"
rem " it makes no sense to overwrite your previous values>>>"
rem numbers updated...
rem REG ADD %KEY% /V TITLE /D "#2 Sull's Sony UX driver & application solution" /f

REG ADD %KEY%\090 /VE /D "Sony Shared Library" /f
REG ADD %KEY%\090 /V 1 /D "%systemdrive%\FIRSTBOOT\sharedlibrary.exe" /f
REG ADD %KEY%\090 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\091 /VE /D "Sony Utilities DLL" /f
REG ADD %KEY%\091 /V 1 /D "%systemdrive%\FIRSTBOOT\utildll.exe" /f
REG ADD %KEY%\091 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\094 /VE /D "Vaio Control Center" /f
REG ADD %KEY%\094 /V 1 /D "%systemdrive%\FIRSTBOOT\controlcenter.exe" /f
REG ADD %KEY%\094 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\096 /VE /D "Vaio Event Service" /f
REG ADD %KEY%\096 /V 1 /D "%systemdrive%\FIRSTBOOT\VES.exe" /f
REG ADD %KEY%\096 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\115 /VE /D "Vaio Powermanagment" /f
REG ADD %KEY%\115 /V 1 /D "%systemdrive%\FIRSTBOOT\powermgr.exe" /f
REG ADD %KEY%\115 /V 2 /D "%systemdrive%\install\MGR.CMD"

REG ADD %KEY%\120 /VE /D "Special Button Utility" /f
REG ADD %KEY%\120 /V 1 /D "%systemdrive%\FIRSTBOOT\SBU.exe" /f
REG ADD %KEY%\120 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\125 /VE /D "Vaio Touch Launcher" /f
REG ADD %KEY%\125 /V 1 /D "%systemdrive%\FIRSTBOOT\VTL.exe" /f
REG ADD %KEY%\125 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\130 /VE /D "Vaio Capture Utility" /f
REG ADD %KEY%\130 /V 1 /D "%systemdrive%\FIRSTBOOT\VCU.exe" /f
REG ADD %KEY%\130 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\135 /VE /D "Vaio Capture Capture Utility" /f
REG ADD %KEY%\135 /V 1 /D "%systemdrive%\FIRSTBOOT\vccu.exe" /f
REG ADD %KEY%\135 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\140 /VE /D "Vaio Zoom" /f
REG ADD %KEY%\140 /V 1 /D "%systemdrive%\FIRSTBOOT\zoom.exe" /f
REG ADD %KEY%\140 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\145 /VE /D "Wireless Setting Utility" /f
REG ADD %KEY%\145 /V 1 /D "%systemdrive%\FIRSTBOOT\WSSU.exe" /f
REG ADD %KEY%\145 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\147 /VE /D "PenPlus For VAIO" /f
REG ADD %KEY%\147 /V 1 /D "%systemdrive%\FIRSTBOOT\PENPLUS.exe" /f
REG ADD %KEY%\147 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\150 /VE /D "Toshiba Bluetooth Driver" /f
REG ADD %KEY%\150 /V 1 /D "%systemdrive%\FIRSTBOOT\bt.exe" /f
REG ADD %KEY%\150 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\155 /VE /D "Protector Suite QL" /f
REG ADD %KEY%\155 /V 1 /D "%systemdrive%\FIRSTBOOT\setup.exe /passive /norestart" /f
REG ADD %KEY%\155 /V 2 /D "REGEDIT /S %systemdrive%\install\PSQL.REG"

REG ADD %KEY%\165 /VE /D "Setting Firefox as default browser" /f
REG ADD %KEY%\165 /V 1 /D "%systemdrive%\Install\FFDEF.CMD" /f
REG ADD %KEY%\165 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\170 /VE /D "Cleaning up Windows" /f
REG ADD %KEY%\170 /V 1 /D "%systemdrive%\Install\CLEANUP.CMD" /f
REG ADD %KEY%\170 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\175 /VE /D "Adding registry Tweaks" /f
REG ADD %KEY%\175 /V 1 /D "REGEDIT /S %systemdrive%\Install\TWEAKS.REG" /f
REG ADD %KEY%\175 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\180 /VE /D "Adding UMPC Scroll Bar" /f
REG ADD %KEY%\180 /V 1 /D "REGEDIT /S %systemdrive%\Install\UMPCSCROLL.REG" /f
REG ADD %KEY%\180 /V 2 /D "%systemdrive%\install\PAUSE.exe"

REG ADD %KEY%\182 /VE /D "Configuring Services" /f
REG ADD %KEY%\182 /V 1 /D "REGEDIT /S %systemdrive%\Install\SERVICES.REG" /f
REG ADD %KEY%\182 /V 2 /D "%systemdrive%\install\PAUSE.exe"

rem start /wait rundll32.exe iernonce.dll,RunOnceExProcess
(PS if you are going to force the runonce install from the .cmd file why bother making the registry entries at all)
EXIT

REG ADD %KEY%\996  < --- the 996 correct ? see the example below

996 is the default (it's not wrong)

I am familiar with start /wait but I did not know it is needed in RunOnceEX, I have been using it without any problems, would I benefit from it ?

Would i have suggested it if i thought it would not benifit you????


Let me know if everything looks good...

since all of you programs are stomping on each other... yes, I would say that is the fix.
that is the reason the start /wait exists, to prevent your simultanious execution problem.

i would also suggest... you are not utilizing WPI when you should be.
Windows Post Installer (WPI) is designed to easily do what you are attempting to do the hard way.

i would further suggest that you run this file from cmdlines.txt

that way these will get executed during the first boot instead of stageing them for after the first reboot.
(PS if you are going to force the runonce install from the .cmd file why bother making the registry entries at all you could just run them directly and skip the extra steps / work)

pause seems like a really strange command to have in an unattended script...

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: Plug and play monitor driver wizard window poping up now ?

Ok thanks for all the info so far.

when I add "cmd /c start /wait to my RunOnceEx I get a CMD window pop up when installing each application, also I heard start /wait is not necessary  in RunOnceEx, but like you said my apps are stomping each other and without my pause I put in they get bunched up bad sad, I would like to keep this method of install these apps, is there anyway to stop the CMD window from opening when another app is launched during runonceex ?

I have not tested to see if the plug and play driver has been fixed yet, currently just doing some final tests in VMWARE first.

Re: Plug and play monitor driver wizard window poping up now ?

is there anyway to stop the CMD window from opening when another app is launched

not without useing a third party cmd compiler.
I will again suggest you use WPI it will be much easier than re-inventing the wheel.

but like you said my apps are stomping each other and without my pause I put in they get bunched up bad
start wait eliminates the need for pause...

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: Plug and play monitor driver wizard window poping up now ?

Hi,

I finally got around to testing and I am still getting the driver wizard window, I see the finisher window and soon as that go's away the driver wizard pops up. Once windows was done installing I backed up my plug and play drivers, deleted the previous ones from my pack and added the new ones, I still get the same issue. Do you have any other solutions or why this would be happening.

I appreciate the help

Thanks

PS. this is the only issue I have, everything else works perfect !!!

Re: Plug and play monitor driver wizard window poping up now ?

I hope we never have to run a ballot on which setting the driver must default to.

I think we either live with an interrupted unnattended, or drop that driver.
Or we hope the user has an easy way to change setting after default was 'pre-set. .
(I don't know if it is easy to change setting after it was pre-set.)

I think one of the guru can pre-set but don't know how that will work out.
Ballot? Flame wars? I just don't know.

The answer was 42?
Kind regards, Jaak.

Re: Plug and play monitor driver wizard window poping up now ?

Just thought I would stop by to say I solved my problem.

The problem was with a file in ricks V'ISO, desk.cpl to be exact, once removed all was good.

@OverFlow, many were talking about this WPI .. WHAT THE HECK is WPI, finally I took the plunge ... thanks for the tips and thanks for helping me try to find this niche problem, took me forever to figure out it was a file in V'ISO.. then finding the file was fun sad

Re: Plug and play monitor driver wizard window poping up now ?

http://www.wpiw.net

Re: Plug and play monitor driver wizard window poping up now ?

I know !

I meant I finally took everyones advice and starting using kel's WPI, I really love it.:)

Re: Plug and play monitor driver wizard window poping up now ?

I thought if i could convince you to try it - you would like it

See... jeff ain't so silly after all wink

it is often hard to get people out of thier comfort zone - but their is good stuff "Outside the Box"
I learn about good stuff every day here. I try to remember there is good stuff outside my comfort zone too.

Have a great day and thanks for sharing it helps everyone and makes you part of the DriverPacks team.

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: Plug and play monitor driver wizard window poping up now ?

Sull wrote:

I know !

I meant I finally took everyones advice and starting using kel's WPI, I really love it.:)

big_smile