MSFN Forum: [RunOnceEx] problem - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[RunOnceEx] problem Rate Topic: -----

#1 User is offline   Raiden 

  • Junior
  • Pip
  • Group: Members
  • Posts: 53
  • Joined: 05-August 04

  Posted 07 August 2004 - 09:30 PM

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.


#2 User is offline   homiebrah 

  • You think you know so much.
  • PipPipPip
  • Group: Members
  • Posts: 351
  • Joined: 06-June 03

Posted 07 August 2004 - 10:52 PM

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.

#3 User is offline   big_gie 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 617
  • Joined: 27-July 03

Posted 08 August 2004 - 06:22 AM

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

#4 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,519
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 08 August 2004 - 06:36 AM

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.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy