MSFN Forum: RunOnceEx - improvement ? - MSFN Forum

Jump to content



  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

RunOnceEx - improvement ? Rate Topic: -----

#1 User is offline   xtremexxx 

  • MSFN Addict
  • PipPip
  • Group: Members
  • Posts: 177
  • Joined: 04-July 04

  Posted 05 August 2004 - 03:43 AM

Hi there folks,

I've finished my unattended CD but to what surprise, the RunOnceEx window where it actualy installs the apps is BIG , I mean really big, because I have many things, is there a way to have 2 windows, or 2 columns or any workaround ?!!


Here it is :

cmdow @ /HID
@echo off

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

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\001 /VE /D "Preparing Installation..." /f
REG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\prepare.cmd" /f

REG ADD %KEY%\005 /VE /D "Ad-Aware 6.181" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\AdAware\aaw6181.exe /s" /f

REG ADD %KEY%\010 /VE /D "Adobe Reader 6.0.1" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\AdobeReader6\AdbeRdr60_enu_full.exe -p\"-s /v\"/qn\"\"" /f

REG ADD %KEY%\010 /VE /D "Alcohol 120 v1.9.2.1705" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\Alcohol120\setup.exe /qn" /f

REG ADD %KEY%\015 /VE /D "Daemon Tools 3.46" /f
REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\Daemon\daemon.msi /qb REBOOT=Suppress" /f

REG ADD %KEY%\016 /VE /D "DC++ 0.401" /f
REG ADD %KEY%\016 /V 1 /D "%systemdrive%\install\DCPlusPlus\DCPlusPlus-0.401.exe /S" /f

REG ADD %KEY%\017 /VE /D "Firefox 0.9.1" /f
REG ADD %KEY%\017 /V 1 /D "%systemdrive%\install\Firefox\setup.exe -ms -ira" /f

REG ADD %KEY%\020 /VE /D "Google Toolbar 2.0.102" /f
REG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\Google\Google.exe /qn" /f

REG ADD %KEY%\025 /VE /D "IrfanView 3.91" /f
REG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\IrfanView\iview391.exe /silent /folder="%programfiles%\irfanview\" /desktop=1 /group=1 /allusers=0 /assoc=1" /f
REG ADD %KEY%\025 /V 2 /D "%systemdrive%\install\IrfanView\all_plugins.exe /silent" /f

REG ADD %KEY%\030 /VE /D "K-Lite codec pack 2.27F" /f
REG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\KLiteCodec\klcodec227f.exe /silent" /f

REG ADD %KEY%\035 /VE /D "Kazza Lite K++ 2.43e" /f
REG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\KazaaLite\klitekpp243e.exe /silent" /f

REG ADD %KEY%\040 /VE /D "MSN Messenger 6.2.0137" /f
REG ADD %KEY%\040 /V 1 /D "%systemdrive%\install\MSN\MsnMsgs.msi /QB" /f

REG ADD %KEY%\044 /VE /D "Nero Burning ROM v6.3.1.17" /f
REG ADD %KEY%\044 /V 1 /D "%systemdrive%\install\Nero\Nero63117.exe /silent /noreboot /SN=REMOVED /WRITE_SN" /f

REG ADD %KEY%\045 /VE /D "OO Defrag Pro 6.5.851" /f
REG ADD %KEY%\045 /V 1 /D "%systemdrive%\install\OO_DefragPro\oo_defrag_pro.msi /QB" /f
REG ADD %KEY%\045 /V 2 /D "REGEDIT /S %systemdrive%\install\OO_DefragPro\register.reg" /f

REG ADD %KEY%\050 /VE /D "PowerQuest PartitionMagic 8.0.1242" /f
REG ADD %KEY%\050 /V 1 /D "%systemdrive%\install\PMagic\setup.exe /s /v/qn" /f
REG ADD %KEY%\050 /V 2 /D "REGEDIT /S %systemdrive%\install\PMagic\register.reg" /f

REG ADD %KEY%\055 /VE /D "Putty 0.54" /f
REG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\Putty\putty-0.54-installer.exe /sp- /silent /norestart" /f

REG ADD %KEY%\060 /VE /D "QuickTime 6" /f
REG ADD %KEY%\060 /V 1 /D "%systemdrive%\install\QuickTime6\QuickTimeInstaller.exe" /f

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

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

REG ADD %KEY%\070 /VE /D "Total Commander 6.03a" /f
REG ADD %KEY%\070 /V 1 /D "%systemdrive%\install\totalcmd\tcmd603a.exe" /f
REG ADD %KEY%\070 /V 2 /D "CMD /C copy %systemdrive%\install\TotalCmd\wincmd.ini %systemroot%" /f
REG ADD %KEY%\070 /V 3 /D "CMD /C copy %systemdrive%\install\TotalCmd\wincmd.ini c:\totalcmd" /f
REG ADD %KEY%\070 /V 4 /D "CMD /C copy %systemdrive%\install\TotalCmd\totalcmd.exe c:\totalcmd" /f

REG ADD %KEY%\074 /VE /D "WinAmp 5.04" /f
REG ADD %KEY%\074 /V 1 /D "%systemdrive%\Install\Winamp\winamp.msi /qb INI="%systemdrive%\Install\Winamp\winamp.ini" /f

REG ADD %KEY%\075 /VE /D "WinISO 5.3" /f
REG ADD %KEY%\075 /V 1 /D "%systemdrive%\install\winiso\winiso.exe /VERYSILENT /SP-" /f

REG ADD %KEY%\080 /VE /D "WinRAR 3.30" /f
REG ADD %KEY%\080 /V 1 /D "%systemdrive%\install\WinRAR\wrar330.exe /s" /f

REG ADD %KEY%\081 /VE /D "Yahoo Messenger 6" /f
REG ADD %KEY%\081 /V 1 /D "%systemdrive%\install\YMsgr\ymsgr_1643.exe /s" /f
REG ADD %KEY%\081 /V 2 /D "pskill.exe Ypager.exe" /f

REG ADD %KEY%\085 /VE /D "ZoneAlarm with Antivirus 5.0.590.043" /f
REG ADD %KEY%\085 /V 1 /D "%systemdrive%\install\ZoneAlarm\zalarm.exe /s /noreboot" /f
REG ADD %KEY%\085 /V 2 /D "REGEDIT /S %systemdrive%\install\ZoneAlarm\register.reg" /f

REG ADD %KEY%\090 /VE /D "Creative SB Live! Value Drivers 10/03/2003" /f
REG ADD %KEY%\090 /V 1 /D "%systemdrive%\Drivers\Creative\CTZAPXX.exe /q /o /r" /f

REG ADD %KEY%\095 /VE /D "VIA Hyperion 4in1 5.51v" /f
REG ADD %KEY%\095 /V 1 /D "%systemdrive%\Drivers\VIAHyperion\Setup.exe -s" /f

REG ADD %KEY%\097 /VE /D "Applying Registry Tweaks..." /f
REG ADD %KEY%\097 /V 1 /D "REGEDIT /S %systemdrive%\install\RegTweaks.reg" /f

REG ADD %KEY%\098 /VE /D "Installing Hotfixes" /f
REG ADD %KEY%\098 /V 1 /D "%systemdrive%\install\hotfixes.cmd" /f

REG ADD %KEY%\099 /VE /D "Creating User Accounts" /f
REG ADD %KEY%\099 /V 1 /D "%systemdrive%\install\adduser.cmd" /f

REG ADD %KEY%\100 /VE /D "Cleaning Up and Rebooting" /f
REG ADD %KEY%\100 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f

EXIT


fallout


#2 User is offline   mazin 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,952
  • Joined: 12-January 04

Posted 05 August 2004 - 03:45 AM

I recall I saw a post on this in Application Switches forum. Search it.

#3 User is offline   xtremexxx 

  • MSFN Addict
  • PipPip
  • Group: Members
  • Posts: 177
  • Joined: 04-July 04

Posted 05 August 2004 - 03:48 AM

Ok will do that now.

#4 User is offline   xtremexxx 

  • MSFN Addict
  • PipPip
  • Group: Members
  • Posts: 177
  • Joined: 04-July 04

Posted 05 August 2004 - 03:53 AM

I can't find anything to my need, I searched for "RunOnceEx"....

#5 User is offline   Cee-Kay 

  • Member
  • PipPip
  • Group: Members
  • Posts: 126
  • Joined: 20-May 04

Posted 05 August 2004 - 05:02 AM

Since I had a similar problem, with the menu being too big this may help you...
  • Goto http://unattended.ms...p/downloads.htm and download the bottom utility named 'Video Resolution Changer'.
  • Follow the instructions on that page and copy the exe to the ..\$OEM$\$$\System32 folder
  • Copy the usage command on the page and include it in one of your batch files, I recommend you include it in Prepare.cmd
Now what will happen (fingers crossed!) is when Windows starts it will display the menu, run all the commands in Prepare.cmd and change your screen resolution to whatever you changed the usage command to.

Sorted :)

(I appologise if you did actually want it in two windows etc, but this method worked ok for me!)

#6 User is offline   xtremexxx 

  • MSFN Addict
  • PipPip
  • Group: Members
  • Posts: 177
  • Joined: 04-July 04

Posted 05 August 2004 - 05:12 AM

I allready have a resolution set at 1024, I guess I'd need 1680 :)

Dunno what to do.

#7 User is offline   r0sWell 

  • Member
  • PipPip
  • Group: Members
  • Posts: 179
  • Joined: 09-June 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 August 2004 - 05:19 AM

this method can interest me to solve my screen resolution problem (blocked in 640x480, using RunOnceEx..)

i would change my screen resolution to 1024x768, and if it is possible make 2 columns for the RunOnceEx box :)

i made one thing to change the screen resolution : this line below is correct or i have to modify it ??
(note: i placed the 1365VidChng.exe in \$oem\$$\System32\ , and i don't use a prepare.cmd)


REG ADD %KEY%\001 /VE /D "change screen resolution to 1024x768" /f
REG ADD %KEY%\001 /V 1 /D "%systemroot%\system32\1365VidChng.exe 1024x768x32@85 -q" /f



Thx for you answers

#8 User is offline   xtremexxx 

  • MSFN Addict
  • PipPip
  • Group: Members
  • Posts: 177
  • Joined: 04-July 04

Posted 05 August 2004 - 05:38 AM

Your winnt.sif can have these:

[Display]
    BitsPerPel=32
    Xresolution=1024
    YResolution=768
    Vrefresh=85


#9 User is offline   Cee-Kay 

  • Member
  • PipPip
  • Group: Members
  • Posts: 126
  • Joined: 20-May 04

Posted 05 August 2004 - 05:41 AM

r0sWell, on Aug 5 2004, 05:19 AM, said:

i placed the 1365VidChng.exe in \$oem\$$\System32\ , and i don't use a prepare.cmd)

REG ADD %KEY%\001 /VE /D "change screen resolution to 1024x768" /f
REG ADD %KEY%\001 /V 1 /D "%systemroot%\system32\1365VidChng.exe 1024x768x32@85 -q" /f


Seems ok to me, just ensure that the program is in \$OEM$\... not \$OEM\... as you had previously typed, if it was a typo I apologise :)

Your command will work fine -- the only reason I put it in prepare.cmd is because I have other commands to be carried out (e.g. deleting shortcuts) before installing my applications, it also helps keep things neat and tidy.

#10 User is offline   Cee-Kay 

  • Member
  • PipPip
  • Group: Members
  • Posts: 126
  • Joined: 20-May 04

Posted 05 August 2004 - 05:48 AM

[Display]
    BitsPerPel=32
    Xresolution=1024
    YResolution=768
    Vrefresh=85

Seems to me that including those commands in 'Winnt.sif' doesn't always work for some people.

I play it safe and use both methods just to be doubly sure, if the 'Winnt.sif' method doesn't work then I know the 2nd option will.

#11 User is offline   xtremexxx 

  • MSFN Addict
  • PipPip
  • Group: Members
  • Posts: 177
  • Joined: 04-July 04

Posted 05 August 2004 - 05:50 AM

I'm using both methods also. Too bad my xp hangs at T-33 Installing Devices lately, and failed to fix it yet.

#12 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 August 2004 - 06:06 AM

xtremexxx, on Aug 5 2004, 05:20 PM, said:

Too bad my xp hangs at T-33 Installing Devices lately, and failed to fix it yet.

That happens when your driver (*.sy_) files are corrupted somewhere. The program you use to make the ISO matters, as well - because I found UltraISO gave the problem you mention, whereas cdimageGUI did not.

#13 User is offline   xtremexxx 

  • MSFN Addict
  • PipPip
  • Group: Members
  • Posts: 177
  • Joined: 04-July 04

Posted 05 August 2004 - 06:35 AM

using Nlite for making the iso

#14 User is offline   mazin 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,952
  • Joined: 12-January 04

Posted 05 August 2004 - 12:17 PM

Despite I remember I saw that post, but I couldn't find it, either.

However, why don't you split your RunOnceEX into two parts?

#15 User is offline   r0sWell 

  • Member
  • PipPip
  • Group: Members
  • Posts: 179
  • Joined: 09-June 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 August 2004 - 12:23 PM

Cee-Kay, on Aug 5 2004, 12:48 PM, said:

[Display]
    BitsPerPel=32
    Xresolution=1024
    YResolution=768
    Vrefresh=85

Seems to me that including those commands in 'Winnt.sif' doesn't always work for some people.

I play it safe and use both methods just to be doubly sure, if the 'Winnt.sif' method doesn't work then I know the 2nd option will.

yes, it doesn't work on my computer.

so it will have no problem i think with VideoChanger.
thx.

#16 User is offline   xtremexxx 

  • MSFN Addict
  • PipPip
  • Group: Members
  • Posts: 177
  • Joined: 04-July 04

Posted 05 August 2004 - 12:26 PM

Unfortunately for me, I can't find a way to make VideoChanger or the other way in sif to work in VMware. Still 640x480 and even if I try to run it manualy says it can't set the res on the system.

#17 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 05 August 2004 - 12:27 PM

mazin, on Aug 5 2004, 01:17 PM, said:

Despite I remember I saw that post, but I couldn't find it, either.

However, why don't you split your RunOnceEX into two parts?

indeed. have a batch file that runs at startup. It will import the first setup, then execute the command to start RunOnceEX, when it done, the batch continues to import the next set of entries, call the command they install. Continue till you're done.

#18 User is offline   xtremexxx 

  • MSFN Addict
  • PipPip
  • Group: Members
  • Posts: 177
  • Joined: 04-July 04

Posted 05 August 2004 - 12:29 PM

Alanoll can you detail a little please?

#19 User is offline   jrzycrim 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 769
  • Joined: 17-March 04

Posted 05 August 2004 - 12:31 PM

You can include the video drivers for vmare in your OEM drivers on your install disk. they are only 45Kb or so. From within vmware, after you install vmware tools and drivers, you can find them in the program files\vmware\drivers, I believe.

I had that same problem when testing but after adding the vmare video drivers to my installation CD, it worked fine.

#20 User is offline   xtremexxx 

  • MSFN Addict
  • PipPip
  • Group: Members
  • Posts: 177
  • Joined: 04-July 04

Posted 05 August 2004 - 01:14 PM

@jrzycrim

Ok will try, how are you running your OEM drivers ?

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • 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