MSFN Forum: Alternative RunOnceEx - MSFN Forum

Jump to content



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

Alternative RunOnceEx Completely customizable application! Rate Topic: -----

#21 User is offline   RubySoftware 

  • Creator of Alternative RunOnceEx
  • Group: Members
  • Posts: 33
  • Joined: 13-January 08

Posted 21 January 2008 - 12:47 PM

Yes, but you also need to add the entry's for the secound window to the RunOnceEx2 REGISTRY KEY. If you use my Script Creator, set the RunOnceEx Window Number to 2 while exporting the secound script.


#22 User is offline   Sull 

  • Junior
  • Pip
  • Group: Members
  • Posts: 53
  • Joined: 20-January 08

Posted 21 January 2008 - 01:24 PM

Sorry I am confused.

I will make an example of what I have, tell me what is wrong here

Quote

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

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 User is offline   RubySoftware 

  • Creator of Alternative RunOnceEx
  • Group: Members
  • Posts: 33
  • Joined: 13-January 08

Posted 21 January 2008 - 03:12 PM

This:

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 User is offline   Sull 

  • Junior
  • Pip
  • Group: Members
  • Posts: 53
  • Joined: 20-January 08

Posted 21 January 2008 - 04:22 PM

EDIT: Just removed a silly post lol

This post has been edited by Sull: 21 January 2008 - 08:50 PM


#25 User is offline   X-Ecutioner 

  • eXPerience my ass.
  • PipPipPip
  • Group: Members
  • Posts: 304
  • Joined: 21-October 03

Posted 21 January 2008 - 09:37 PM

Awesome job....


Just curious... what did you write this app in?

#26 User is offline   Sull 

  • Junior
  • Pip
  • Group: Members
  • Posts: 53
  • Joined: 20-January 08

Posted 21 January 2008 - 10:34 PM

I am not sure if this is an issue or not ?

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 User is offline   RubySoftware 

  • Creator of Alternative RunOnceEx
  • Group: Members
  • Posts: 33
  • Joined: 13-January 08

Posted 22 January 2008 - 08:05 AM

That can be seen as an issue, yes.

View PostX-Ecutioner, on Jan 22 2008, 04:37 AM, said:

Awesome job....


Just curious... what did you write this app in?


Delphi 7

This post has been edited by RubySoftware: 22 January 2008 - 08:06 AM


#28 User is offline   Sull 

  • Junior
  • Pip
  • Group: Members
  • Posts: 53
  • Joined: 20-January 08

Posted 22 January 2008 - 08:21 AM

I am still having 2 of the same window pop up, first one pops up and then right after the driver packs finisher ends the second willstart. I have tried executing RunOnceEX.cmd from GuiRunonce so it would start after the finisher but I get the same isssue. What am I missing here ??

#29 User is offline   RubySoftware 

  • Creator of Alternative RunOnceEx
  • Group: Members
  • Posts: 33
  • Joined: 13-January 08

Posted 22 January 2008 - 08:31 AM

You aren't doing anything wrong. Windows just starts after RunOnceEx.exe is finished, but that RunOnceEx calls itself again because another window must be loaded. Windows doesn't wait for that other instance of RunOnceEx.exe which is running. I'll try to fix this.

#30 User is offline   Sull 

  • Junior
  • Pip
  • Group: Members
  • Posts: 53
  • Joined: 20-January 08

Posted 22 January 2008 - 08:07 PM

Have you had a chance to fix it ?

#31 User is offline   RubySoftware 

  • Creator of Alternative RunOnceEx
  • Group: Members
  • Posts: 33
  • Joined: 13-January 08

Posted 23 January 2008 - 07:40 AM

Not yet.

Edit: Fixed. See first post.

This post has been edited by RubySoftware: 23 January 2008 - 08:51 AM


#32 User is offline   Sull 

  • Junior
  • Pip
  • Group: Members
  • Posts: 53
  • Joined: 20-January 08

Posted 23 January 2008 - 04:22 PM

I just tested the new version and I am still having a second window pop up, something deffinetly changed though, before it would get to about my 6th or 7th app and get stuck for a long time. I tested the regular RunOnceEX earlier and it worked fine, only one window poped up.

Thanks for your hard efforts

#33 User is offline   RubySoftware 

  • Creator of Alternative RunOnceEx
  • Group: Members
  • Posts: 33
  • Joined: 13-January 08

Posted 24 January 2008 - 07:17 AM

That secound window should NOT install your applications again, it should only add this RunOnceEx to the RunOnce registry key. If that's all what happens, I can't fix it.

This post has been edited by RubySoftware: 24 January 2008 - 07:17 AM


#34 User is offline   Sull 

  • Junior
  • Pip
  • Group: Members
  • Posts: 53
  • Joined: 20-January 08

Posted 24 January 2008 - 12:14 PM

No the second window is installing as well, reason I can tell, some of my silent installers try to uninstall or say already installed. I have been testing with the Windows original RunOnceEX and do not have a second Window or the same installers trying to install again.

Maybe lets wait and see if anyone else has issues like this.

#35 User is offline   RubySoftware 

  • Creator of Alternative RunOnceEx
  • Group: Members
  • Posts: 33
  • Joined: 13-January 08

Posted 24 January 2008 - 01:15 PM

I've just uploaded a new version (1.6). Does this fix your problem?
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 User is offline   Sull 

  • Junior
  • Pip
  • Group: Members
  • Posts: 53
  • Joined: 20-January 08

Posted 24 January 2008 - 05:07 PM

I will test it out.

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 User is offline   RubySoftware 

  • Creator of Alternative RunOnceEx
  • Group: Members
  • Posts: 33
  • Joined: 13-January 08

Posted 25 January 2008 - 05:37 AM

You forgot the quotes in REG ADD %KEY% /V TITLE /D "( TITLE HERE ) /f.

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 User is offline   kiriku 

  • Group: Members
  • Posts: 5
  • Joined: 14-January 08

Posted 28 January 2008 - 02:49 PM

great utility, I use it in my recent unattended DVD and work fine!

Now I'll try the RunOnceEx script creator and let see what happen...

Thanx!

#39 User is offline   Sull 

  • Junior
  • Pip
  • Group: Members
  • Posts: 53
  • Joined: 20-January 08

Posted 30 January 2008 - 05:50 PM

RubySoftware,

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 User is offline   samsobi 

  • Group: Members
  • Posts: 1
  • Joined: 10-November 05

Posted 31 January 2008 - 03:29 AM

RubySoftware
Is it possible to do so that the icon corresponded for every application?
Tnx!

Share this topic:


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