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

#1 User is offline   RubySoftware 

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

  Posted 13 January 2008 - 09:24 AM

Hello,

I have created an application which can be used as an alternative for the Windows default RunOnceEx. It works almost the same, and by default, it looks like this...
Posted Image

...but you can customize every text and every image. You can even set the text font!

It's pretty easy to let it look a little 'older':
Posted Image

Or to let it look more like Windows XP:
Posted Image

Download installer (Version 1.6, Jan 24, 2008)
(To run it silent: RunOnceEx.exe /verysilent)
NOTE: If the installer runs silent, it automatically begins installing your applications (if you have added any; see below).

VERSION HISTORY

Version 1.6 (Build 31)
-
Removed auto-adding of Registry values for debugging.

Version 1.5 (Build 30)
-
Fixed issue which occured when using multiple windows
- Added a so called 'Easer Egg'....... :sneaky:

Version 1.4 (Build 25)
-
Bug fix

Version 1.3 (Build 22)
-
Added support for multiple RunOnceEx windows

Version 1.2 (Build 18)
- Added some new icons: $VISTA5-8, $XP3-7

Version 1.1 (Build 14)
- Vista fix
- Fix in recreating RunOnce values

Version 1.0 (Build 10)
- First public release

USAGE
Just like RunOnceEx, but all entry's must be stored in HKLM\SOFTWARE\Ruby Software\RunOnceEx, not in HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx!

To use multiple RunOnceEx windows (e.g. for multiple groups of applications), store the properties of the secound window in HKLM\SOFTWARE\Ruby Software\RunOnceEx2, the third in HKLM\SOFTWARE\Ruby Software\RunOnceEx3...

Example RunOnceEx.cmd file:

"RunOnceEx.cmd" said:

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

EXIT


The italic part adds the installer of my RunOnceEx application to the RunOnce key. If you forget this, it will not work!

Added registry entry's:
TEXT: The text above the list of applications. Default: Please wait while Windows installs...
FONT: The text font.
PNG: The installation icon. Value can be a path to a PNG image (e.g. %systemdrive%\installer.png, best use a size between 32x32 and 48x48), or one of the following constants (italic constants are added in version 1.2):
Posted Image

PNG_arrow: The arrow icon. Value can be a path to a PNG image (best use a size of 16x16 or less) or one of the following constants:
Posted Image

PNG_success: The success icon. Value can be a path to a PNG image (best use a size of 16x16 or less) or one of the following constants:
Posted Image

Download list of constants as Word Document

I HOPE YOU LIKE IT!

This post has been edited by RubySoftware: 24 January 2008 - 01:18 PM



#2 User is offline   Arie 

  • One Man Army
  • PipPipPipPipPip
  • Group: Members
  • Posts: 835
  • Joined: 27-August 07

Posted 15 January 2008 - 06:01 AM

Looks nice, will give it a try :)

#3 User is offline   RubySoftware 

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

Posted 17 January 2008 - 03:25 AM

Note: If you have set more than 18 tasks, a scrollbar will appear in the window. At that maximum size, the window does not fit on a 800x600 screen anymore.

#4 User is offline   kickarse 

  • the free techie
  • PipPip
  • Group: Members
  • Posts: 227
  • Joined: 26-April 05
  • OS:XP Pro x86
  • Country: Country Flag

Posted 17 January 2008 - 07:58 AM

Very cool! I'll also try this out. Right now I'm using Mars Installer though.

#5 User is offline   RubySoftware 

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

Posted 18 January 2008 - 03:40 AM

Important: I found out that it doesn't work with Vista, because of administrator rights. Does anyone know how to solve this problem?

Nevermind, I found out myself. Now updated to version 1.1! See first post.

This post has been edited by RubySoftware: 18 January 2008 - 03:46 AM


#6 User is offline   Deof Movestofca 

  • Group: Members
  • Posts: 9
  • Joined: 27-November 07

  Posted 18 January 2008 - 03:59 AM

Is the only difference between your app and the standard RunOnceEx is that yours is customizable? If not, what are the other differences? Just curious.

#7 User is offline   RubySoftware 

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

Posted 18 January 2008 - 04:40 AM

Yes. Otherwise I wouldn't call it 'Alternative RunOnceEx'.

And that mine creates a scrollbar when there are too many tasks.

This post has been edited by RubySoftware: 18 January 2008 - 04:40 AM


#8 User is offline   Neo - Matrix 

  • Hewlett Packard Brazil Support
  • Pip
  • Group: Members
  • Posts: 64
  • Joined: 08-November 02

Posted 18 January 2008 - 12:59 PM

Great - it's cool man.

I'll give it a try.

#9 User is offline   glent 

  • Tpyo Spceialist
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,041
  • Joined: 16-August 04

Posted 18 January 2008 - 02:41 PM

Very nice :D well do so testing

#10 User is offline   RubySoftware 

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

Posted 19 January 2008 - 02:29 AM

I'm now making a script creator for this. It will create a RunOnceEx.cmd file (and will also work with Windows RunOnceEx).

#11 User is offline   zakum 

  • Junior
  • Pip
  • Group: Members
  • Posts: 87
  • Joined: 22-November 04

Posted 19 January 2008 - 12:03 PM

I'm due to make a new dvd, so i'll give this a whirl.
Thank you :)

Anybody know where this installs to, i cant find it?

This post has been edited by zakum: 19 January 2008 - 12:11 PM


#12 User is offline   RubySoftware 

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

Posted 19 January 2008 - 12:55 PM

%systemroot%\system32\RunOnceEx.exe (Marked as system file, so you don't find it in Windows Explorer, just like the dllcache folder)

If you want to uninstall it: Use my Alternative RunOnceEx uninstaller, available here.

This post has been edited by RubySoftware: 19 January 2008 - 01:48 PM


#13 User is offline   RubySoftware 

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

Posted 20 January 2008 - 06:44 AM

I have just updated it. The new version 1.3 adds support for multiple windows.

#14 User is offline   linoc 

  • Group: Members
  • Posts: 3
  • Joined: 17-January 08

Posted 20 January 2008 - 08:47 AM

View PostRubySoftware, on Jan 20 2008, 09:44 PM, said:

I have just updated it. The new version 1.3 adds support for multiple windows.


I just installed it the clicked on the exe in sys32 and nothing happens?

#15 User is offline   RubySoftware 

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

Posted 20 January 2008 - 10:07 AM

'Something' must be added to the registry first.

#16 User is offline   Sull 

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

Posted 21 January 2008 - 03:24 AM

This is awesome, great job mate.

I have one problem, I noticed when my apps were installing one tried to uninstall, meaning it was already installed, I did not think anything of it untill my next test and I dragged the window and there was an identical one behind it, so I have two of the same windows installing the same stuff.

I have looked around but have no idea why this would happen any idea's ?

Thanks

Sull

EDIT: I notice in HKLM\Software\Microsoft\Windows\Currentversion\run I see RunOnceEX.exe /r why is this here ?

This post has been edited by Sull: 21 January 2008 - 03:31 AM


#17 User is offline   RubySoftware 

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

Posted 21 January 2008 - 07:13 AM

That will add the RunOnceEx to the RunOnce key again. But it might also install the applications again. I'll try to fix the problem.

Edit: It should be fixed now.

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


#18 User is offline   Sull 

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

Posted 21 January 2008 - 10:20 AM

I will test and report back

Thanks

EDIT: I am not sure if it was to do with the last bug, I am not very familiar with RunOnceEX, how would I install some apps from RunOnceEX, reboot then start some more apps from the same spot ?

This post has been edited by Sull: 21 January 2008 - 10:25 AM


#19 User is offline   RubySoftware 

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

Posted 21 January 2008 - 12:14 PM

That's usually not possible, as the application entry's are deleted at the end of application runs, but you can add a .bat or .cmd file to the RunOnceEx2 key, which adds the new applications to the RunOnceEx key, but this will show a secound RunOnceEx window after the first (because you use the RunOnceEx2 key).

#20 User is offline   Sull 

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

Posted 21 January 2008 - 12:37 PM

Yeah I actually got confused, I do not need to restart, I do need to run more than one window though

To run more than one window I would just add the RunOnceEX2.cmd to the end of RunOnceEX.cmd correct ?

I did not have time to test before work, I will continue testing tonight.

Thanks for the help and the great app.

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