Alternative RunOnceEx Completely customizable application!
#21
Posted 21 January 2008 - 12:47 PM
#22
Posted 21 January 2008 - 01:24 PM
I will make an example of what I have, tell me what is wrong here
Quote
@echo off
REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce /V "Alternative RunOnceEx by Ruby Software" /D "Insert path to the installer here!!! /verysilent" /f
SET KEY="HKLM\SOFTWARE\Ruby Software\RunOnceEx"
REG ADD %KEY% /V TITLE /D "Installing Applications" /f
REG ADD %KEY% /V TEXT /D "Please wait while Windows installs the following applications:" /f
REG ADD %KEY% /V PNG /D "$OLD" /f
REG ADD %KEY% /V PNG_arrow /D "$OLD" /f
REG ADD %KEY% /V PNG_success /D "$NONE" /f
REG ADD %KEY% /V FONT /D "MS Sans Serif" /f
REG ADD %KEY%\005 /VE /D "Adobe Reader 6" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\AdobeReader6\AR6.msi /qn" /f
REG ADD %KEY%\010 /VE /D "Alcohol 120" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\alcohol\setup.exe /qn" /f
REG ADD %KEY%\010 /V 2 /D "REGEDIT /S %systemdrive%\install\alcohol\register.reg" /f
REG ADD %KEY%\015 /VE /D "Diskeeper 8" /f
REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\DiskeeperPro_8.0.459.exe /s /v/qn" /f
REG ADD %KEY%\050 /VE /D "Importing Registry Tweaks" /f
REG ADD %KEY%\050 /V 1 /D "REGEDIT /S %systemdrive%\install\regtweaks.reg" /f
REG ADD %KEY%\055 /VE /D "Cleaning Up and Rebooting" /f
REG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f
REG ADD %KEY%\055 /V 2 /D "%systemdrive%\install\RunOnceEX2.cmd" /f
EXIT
I just used your example and added the last entry, that is how mine looks. I did use your editor to change icons etc, I then wrote the rest of the reg entries to the RunOnceEX.cmd myself.
#23
Posted 21 January 2008 - 03:12 PM
cmdow @ /HID
@echo off
REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce /V "Alternative RunOnceEx by Ruby Software" /D "Insert path to the installer here!!! /verysilent" /f
You should replace Insert path to the installer here!!! with the path to the installer (e.g. %systemdrive%\RunOnceEx.exe)
#24
Posted 21 January 2008 - 04:22 PM
This post has been edited by Sull: 21 January 2008 - 08:50 PM
#25
Posted 21 January 2008 - 09:37 PM
Just curious... what did you write this app in?
#26
Posted 21 January 2008 - 10:34 PM
My first RunOnceEX window loads fine, when my second window loads, windows loads as well, I thought both of my RunOnceEX windows should run before windows loads up ie task bar is showing
This post has been edited by Sull: 21 January 2008 - 10:35 PM
#27
Posted 22 January 2008 - 08:05 AM
#28
Posted 22 January 2008 - 08:21 AM
#29
Posted 22 January 2008 - 08:31 AM
#31
Posted 23 January 2008 - 07:40 AM
Edit: Fixed. See first post.
This post has been edited by RubySoftware: 23 January 2008 - 08:51 AM
#32
Posted 23 January 2008 - 04:22 PM
Thanks for your hard efforts
#33
Posted 24 January 2008 - 07:17 AM
This post has been edited by RubySoftware: 24 January 2008 - 07:17 AM
#34
Posted 24 January 2008 - 12:14 PM
Maybe lets wait and see if anyone else has issues like this.
#35
Posted 24 January 2008 - 01:15 PM
If you're NOT using this for an unattended installation: Remove the registry value for Alternative RunOnceEx in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run first!
#36
Posted 24 January 2008 - 05:07 PM
Does this command work with your RunOnceEX = start /wait rundll32.exe iernonce.dll,RunOnceExProcess
EXAMPLE: This is what I have working perfect for Windows original RunOnceEX
@echo off cmdow @ /HID SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "( TITLE HERE ) /f REG ADD %KEY%\035 /VE /D "Chipset Software Installation Utility" /f REG ADD %KEY%\035 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\chipsetupdate.exe /s" /f REG ADD %KEY%\035 /V 2 /D "%systemdrive%\install\PAUSE.CMD REG ADD %KEY%\040 /VE /D "Visual Communication Camera VGP-VCC3 Driver" /f REG ADD %KEY%\040 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\CAMERADRIVER.EXE" /f REG ADD %KEY%\040 /V 2 /D "%systemdrive%\install\PAUSE.CMD REG ADD %KEY%\045 /VE /D "Alps StickPointer Driver" /f REG ADD %KEY%\045 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\alpspointer.exe" /f REG ADD %KEY%\045 /V 2 /D "%systemdrive%\install\PAUSE.CMD REG ADD %KEY%\050 /VE /D "Sony Image FilterDriver" /f REG ADD %KEY%\050 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\imagefilter\SonyImageFilter.exe /s" /f REG ADD %KEY%\050 /V 2 /D "%systemdrive%\install\PAUSE.CMD REG ADD %KEY%\055 /VE /D "Programmable I/O Driver" /f REG ADD %KEY%\055 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\programmableio.exe" /f REG ADD %KEY%\055 /V 2 /D "%systemdrive%\install\PAUSE.CMD REG ADD %KEY%\060 /VE /D "Gunze Touch panel Driver" /f REG ADD %KEY%\060 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\touchpanel.exe" /f REG ADD %KEY%\060 /V 2 /D "%systemdrive%\install\PAUSE.CMD REG ADD %KEY%\065 /VE /D "Sony USB Mouse Driver" /f REG ADD %KEY%\065 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\mousedri.exe" /f REG ADD %KEY%\065 /V 2 /D "%systemdrive%\install\PAUSE.CMD REG ADD %KEY%\070 /VE /D "LAN-Express Software" /f REG ADD %KEY%\070 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\LANExpress.exe" /f REG ADD %KEY%\070 /V 2 /D "%systemdrive%\install\PAUSE.CMD REG ADD %KEY%\075 /VE /D "Sony Batt Check" /f REG ADD %KEY%\075 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\batcheck.exe" /f REG ADD %KEY%\075 /V 2 /D "%systemdrive%\install\PAUSE.CMD REG ADD %KEY%\080 /VE /D "Setting Utility Series" /f REG ADD %KEY%\080 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\SUS.exe" /f REG ADD %KEY%\080 /V 2 /D "%systemdrive%\install\PAUSE.CMD REG ADD %KEY%\085 /VE /D "Sony Shared Library" /f REG ADD %KEY%\085 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\sharedlibrary.exe" /f REG ADD %KEY%\085 /V 2 /D "%systemdrive%\install\PAUSE.CMD REG ADD %KEY%\090 /VE /D "Sony Utilities DLL" /f REG ADD %KEY%\090 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\utildll.exe" /f REG ADD %KEY%\090 /V 2 /D "%systemdrive%\install\PAUSE.CMD start /wait rundll32.exe iernonce.dll,RunOnceExProcess REG ADD %KEY% /V TITLE /D " ( SECOND WINDOW TITLE HERE )" /f REG ADD %KEY%\005 /VE /D "Vaio Control Center" /f REG ADD %KEY%\005 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\controlcenter.exe" /f REG ADD %KEY%\005 /V 2 /D "%systemdrive%\install\PAUSE.CMD REG ADD %KEY%\010 /VE /D "Vaio Event Service" /f REG ADD %KEY%\010 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\VES.exe" /f REG ADD %KEY%\010 /V 2 /D "%systemdrive%\install\PAUSE.CMD REG ADD %KEY%\015 /VE /D "Vaio Powermanagment" /f REG ADD %KEY%\015 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\powermgr.exe" /f REG ADD %KEY%\015 /V 2 /D "%systemdrive%\install\PAUSE.CMD REG ADD %KEY%\020 /VE /D "Special Button Utility" /f REG ADD %KEY%\020 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\SBU.exe" /f REG ADD %KEY%\020 /V 2 /D "%systemdrive%\install\PAUSE.CMD REG ADD %KEY%\025 /VE /D "Vaio Touch Launcher" /f REG ADD %KEY%\025 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\VTL.exe" /f REG ADD %KEY%\025 /V 2 /D "%systemdrive%\install\PAUSE.CMD start /wait rundll32.exe iernonce.dll,RunOnceExProcess EXIT
This I run from GuiRunonce and everything executes before logon, I found this way here on the forum.
This could solve my problem with your RunOnceEX ?
EDIT:
Yes my install is unattended
This post has been edited by Sull: 24 January 2008 - 05:10 PM
#37
Posted 25 January 2008 - 05:37 AM
And this SHOULD work with mine too, if you do NOT use start /wait rundll32.exe iernonce.dll,RunOnceExProcess, but run the Alternative RunOnceEx installer ONLY ONCE AT THE END. After inserting the first window entry's in the registry, you must set the %KEY% to (...)\Ruby Software\RunOnceEx2, to define the secound window. That should work.
Example:
@echo off cmdow @ /HID SET KEY="HKLM\SOFTWARE\Ruby Software\RunOnceEx" REG ADD %KEY% /V TITLE /D "( TITLE HERE )" /f REG ADD %KEY%\035 /VE /D "Chipset Software Installation Utility" /f REG ADD %KEY%\035 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\chipsetupdate.exe /s" /f REG ADD %KEY%\035 /V 2 /D "%systemdrive%\install\PAUSE.CMD REG ADD %KEY%\040 /VE /D "Visual Communication Camera VGP-VCC3 Driver" /f REG ADD %KEY%\040 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\CAMERADRIVER.EXE" /f REG ADD %KEY%\040 /V 2 /D "%systemdrive%\install\PAUSE.CMD REG ADD %KEY%\045 /VE /D "Alps StickPointer Driver" /f REG ADD %KEY%\045 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\alpspointer.exe" /f REG ADD %KEY%\045 /V 2 /D "%systemdrive%\install\PAUSE.CMD REG ADD %KEY%\050 /VE /D "Sony Image FilterDriver" /f REG ADD %KEY%\050 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\imagefilter\SonyImageFilter.exe /s" /f REG ADD %KEY%\050 /V 2 /D "%systemdrive%\install\PAUSE.CMD REG ADD %KEY%\055 /VE /D "Programmable I/O Driver" /f REG ADD %KEY%\055 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\programmableio.exe" /f REG ADD %KEY%\055 /V 2 /D "%systemdrive%\install\PAUSE.CMD REG ADD %KEY%\060 /VE /D "Gunze Touch panel Driver" /f REG ADD %KEY%\060 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\touchpanel.exe" /f REG ADD %KEY%\060 /V 2 /D "%systemdrive%\install\PAUSE.CMD REG ADD %KEY%\065 /VE /D "Sony USB Mouse Driver" /f REG ADD %KEY%\065 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\mousedri.exe" /f REG ADD %KEY%\065 /V 2 /D "%systemdrive%\install\PAUSE.CMD REG ADD %KEY%\070 /VE /D "LAN-Express Software" /f REG ADD %KEY%\070 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\LANExpress.exe" /f REG ADD %KEY%\070 /V 2 /D "%systemdrive%\install\PAUSE.CMD REG ADD %KEY%\075 /VE /D "Sony Batt Check" /f REG ADD %KEY%\075 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\batcheck.exe" /f REG ADD %KEY%\075 /V 2 /D "%systemdrive%\install\PAUSE.CMD REG ADD %KEY%\080 /VE /D "Setting Utility Series" /f REG ADD %KEY%\080 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\SUS.exe" /f REG ADD %KEY%\080 /V 2 /D "%systemdrive%\install\PAUSE.CMD REG ADD %KEY%\085 /VE /D "Sony Shared Library" /f REG ADD %KEY%\085 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\sharedlibrary.exe" /f REG ADD %KEY%\085 /V 2 /D "%systemdrive%\install\PAUSE.CMD REG ADD %KEY%\090 /VE /D "Sony Utilities DLL" /f REG ADD %KEY%\090 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\utildll.exe" /f REG ADD %KEY%\090 /V 2 /D "%systemdrive%\install\PAUSE.CMD SET KEY="HKLM\SOFTWARE\Ruby Software\RunOnceEx2" REG ADD %KEY% /V TITLE /D " ( SECOND WINDOW TITLE HERE )" /f REG ADD %KEY%\005 /VE /D "Vaio Control Center" /f REG ADD %KEY%\005 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\controlcenter.exe" /f REG ADD %KEY%\005 /V 2 /D "%systemdrive%\install\PAUSE.CMD REG ADD %KEY%\010 /VE /D "Vaio Event Service" /f REG ADD %KEY%\010 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\VES.exe" /f REG ADD %KEY%\010 /V 2 /D "%systemdrive%\install\PAUSE.CMD REG ADD %KEY%\015 /VE /D "Vaio Powermanagment" /f REG ADD %KEY%\015 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\powermgr.exe" /f REG ADD %KEY%\015 /V 2 /D "%systemdrive%\install\PAUSE.CMD REG ADD %KEY%\020 /VE /D "Special Button Utility" /f REG ADD %KEY%\020 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\SBU.exe" /f REG ADD %KEY%\020 /V 2 /D "%systemdrive%\install\PAUSE.CMD REG ADD %KEY%\025 /VE /D "Vaio Touch Launcher" /f REG ADD %KEY%\025 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\VTL.exe" /f REG ADD %KEY%\025 /V 2 /D "%systemdrive%\install\PAUSE.CMD RunOnceEx EXIT
This post has been edited by RubySoftware: 25 January 2008 - 01:13 PM
#38
Posted 28 January 2008 - 02:49 PM
Now I'll try the RunOnceEx script creator and let see what happen...
Thanx!
#39
Posted 30 January 2008 - 05:50 PM
I have not had a chance to try your alternative RunOnceEX again, I am very busy right now, maybe tonight I can run a VMWARE test.
I do have a question, at the end of your example in the previous post, you put RunOnceEX right at the end before EXIT, is this needed and why ?
Thanks again
Sull
#40
Posted 31 January 2008 - 03:29 AM
Is it possible to do so that the icon corresponded for every application?
Tnx!
- ← Logon, logoff and bootskin in your win copy
- Unattended Windows 2000/XP/2003
- How does CMDLINES.TXT works in HFSLIP? →



Help

Back to top










