Jump to content

Recommended Posts

Posted

Hi all.

My [RunOnceEx] registry key has 29 items in the list it shows during first boot.

Is there a way to set it up so that it shows say 10 items then once they are installed add another 10 and so on, that way the list is smaller and fits on the screen.

I was thinking about referencing a batch file that adds the keys into [RunOnceEx]

example

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY%\005 /VE /D "DirectX 9.0b" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\Drivers\DirectX9b\DX9NTopk.exe" /f

REG ADD %KEY%\010 /VE /D "TweakUI 2.10 Powertoy" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\Drivers\PowerToys\TweakUI.msi /qb" /f

REG ADD %KEY%\015 /VE /D "Task Switcher Powertoy" /f
REG ADD %KEY%\015 /V 1 /D "%systemdrive%\Drivers\PowerToys\TaskswitchPowertoySetup.exe /s /v/qn" /f

REG ADD %KEY%\016 /VE /D "Lavasoft Ad-Aware 6.0" /f
REG ADD %KEY%\016 /v 1 /D "%systemdrive%\Applications\AdAware\aaw6181.exe /s" /f

REG ADD %KEY%\020 /VE /D "Soundmax Audio Drivers" /f
REG ADD %KEY%\020 /V 1 /D "%systemdrive%\Drivers\AD1985\Setup.exe /s" /f

REG ADD %KEY%\020 /V 2 /D "%systemdrive%\Drivers\addmore.cmd" /f
REG ADD %KEY%\020 /V 3 /D "shutdown -r -t 05" /f

and then the addmore.cmd

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

REG ADD %KEY%\025 /VE /D "Microsoft Office 2003 Pro SP1" /f
REG ADD %KEY%\025 /V 1 /D "\\dc1\REMINST\Applications\Office\PRO11.msi /qb" /f

REG ADD %KEY%\035 /VE /D "Media Player 9 Movie Maker 2" /f
REG ADD %KEY%\035 /V 1 /D "%systemdrive%\Drivers\WMP9_MM2\WMP9_MM2_ENU.exe" /f

REG ADD %KEY%\040 /VE /D "Windows Media Encoder" /f
REG ADD %KEY%\040 /V 1 /D "%systemdrive%\Drivers\encoder\WMEncoder.msi /qb" /f

REG ADD %KEY%\045 /VE /D "MSN Messenger 6.2.0137" /f
REG ADD %KEY%\045 /V 1 /D "%systemdrive%\Drivers\MSN\MsnMsgs.msi /qb" /f

I don't know if this would cause windows to crash if it adds keys while parsing the same location or if it would cause an endless loop.


Posted

Well, you could always run a batch file to run the next 10, then shutdown.exe, then another batch file and so on.

I.E.... RunOnceEx.cmd calls 10 files. Next to last line calls for RunOnceEx2.cmd to run. Last line calls for shutdown.exe to run.

Posted

Import the first 10 or so you want.

Put another key which import 10 new ones, but starting at 1

and the last one run the rundll32 that execute runonceex

I dont have it right now but search for "test runonceex" on the forum

Posted

rundll32.exe iernonce.dll,RunOnceExProcess

Although with correct settings my last run I had a RunonEX screen stretched way down, cause I burned CD instead of VMWare and it will use correct setting's and install driver's correctly thus letting your display setting's to actually work.

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