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

#41 User is offline   jda-au 

  • Newbie
  • Group: Members
  • Posts: 20
  • Joined: 21-July 05

Posted 09 February 2008 - 05:23 AM

Subject: Alternative RunOnceEx
I have been looking at all this Programming to inject everything into RunOnceEx, 'tis a pain I think, but there is more than one way to "skin a cat".
All that is required is one command/routine (whichever!) to originate from RunOnceEx e.g...

@ECHO OFF

IF EXIST %SYSTEMROOT%\SYSTEM32\CMDOW.EXE CMDOW @ /HID

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

REG ADD %KEY% /V TITLE /D "Installing Applications" /f
REG ADD %KEY% /V Flags /T REG_DWORD /D 128 /F

REG ADD %KEY%\010 /VE /D "Applications Installation Batch File" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\Software\install.cmd" /f


@ECHO OFF
// Filename: install.cmd"

IF EXIST %SYSTEMROOT%\SYSTEM32\CMDOW.EXE CMDOW @ /HID

// If you don't know where %temp% will take you, enter it as a command.
MKDIR %temp%\myprogram1
MKDIR %temp%\myprogram2

COPY /V /Y /B %SYSTEMDRIVE%\Software\myprogram1.exe %temp%\myprogram1
COPY /V /Y /B %SYSTEMDRIVE%\Software\myprogram2.exe %temp%\myprogram2

START/WAIT %TEMP%\myprogram1\myprogram1.exe
START/WAIT %TEMP%\myprogram2\myprogram2.exe

RD /S /Q %SYSTEMDRIVE%\Software

EXIT

I know the above looks very abbreviated, but that's all you need. Of course one (anyone) would have more than two pieces of Software to install, but still very simple, and it works a treat.

I used to install my Programs from "%SYSTEMDRIVE%\Software", and delete on finish, but some Programs require access to it's source to uninstall, or repair or re-install.
Which just causes a hassle. I also tried installing direct from the CD-DVD, some Software was okay with it, and others were not. (Trial and error). It is no big deal or loss of time to copy them over to "%temp%\Folder", and makes everything very neat and orderly.

I know which way I will be doing it... :thumbup

This post has been edited by jda-au: 15 February 2008 - 10:31 AM



#42 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 09 February 2008 - 06:39 AM

View Postjda-au, on Feb 9 2008, 09:23 PM, said:

I know which way I will be doing it... :thumbup

Different needs for different folks and glad you see something good for yours.

When you mention installing direct from CD/DVD (silent install has conditions with this read only media concept)
Usually InstallShield installers make a log file within the setup directory when using silent installation so you can may need to use the /f2"PathToFile.log" switch if supported by that version/type of InstallShield installer. If the InstallShield installer cannot make a log on the read only medium, then it may abort with a error without using the /F2 switch mentioned.

:)

#43 User is offline   Nevel 

  • Group: Members
  • Posts: 8
  • Joined: 24-August 07

Posted 10 February 2008 - 05:36 AM

Ok, call me a noob, but I don't get it:

'Something' must be added to the registry first.

So... what is something then? :unsure:


Nifty little tool by the way, can't wait to fool around with it :)

#44 User is offline   RubySoftware 

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

Posted 14 February 2008 - 08:47 AM

View PostNevel, on Feb 10 2008, 12:36 PM, said:

Ok, call me a noob, but I don't get it:

'Something' must be added to the registry first.

So... what is something then? :unsure:


Nifty little tool by the way, can't wait to fool around with it :)



Well, the something are the application entries needed to let Alternative RunOnceEx work, which will be added to the registry when running the BAT or CMD file which Alternative RunOnceEx Script Creator creates.

#45 User is offline   RubySoftware 

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

Posted 14 February 2008 - 08:50 AM

View PostSull, on Jan 31 2008, 12:50 AM, said:

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


This is to run my alternative RunOnceEx, so it starts installing. If it is not installed at the time of script execution, run the installer instead of the RunOnceEx.exe application.

#46 User is offline   RubySoftware 

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

Posted 14 February 2008 - 08:51 AM

View Postsamsobi, on Jan 31 2008, 10:29 AM, said:

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



Only if you use multiple windows. You can set the icon for each window.

#47 User is offline   Lolita 

  • Member
  • PipPip
  • Group: Members
  • Posts: 111
  • Joined: 21-August 04

Posted 04 March 2008 - 06:04 AM

Does it uninstall iteself after finishing installing last item in RunOnceEx? If not, can it be uninstalled unattended?

BTW download link is down ...

This post has been edited by Lolita: 04 March 2008 - 08:11 AM


#48 User is offline   Sull 

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

Posted 31 March 2008 - 12:21 PM

Hi again,

So I have decided to just run 1 window and all seems to be fine with v1.6, one thing I notice once finished installing all applications the computer restarts, with normal RunOnceEx it does not, how can I change this ?

I would also like to know about uninstalling once finished with RunOnceEx

Thank you.

#49 User is offline   artbio 

  • Junior
  • Pip
  • Group: Members
  • Posts: 67
  • Joined: 11-June 04
  • OS:XP Pro x86
  • Country: Country Flag

Posted 08 April 2008 - 10:51 AM

The download links are broken.

#50 User is offline   Sull 

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

Posted 10 April 2008 - 08:28 AM

Hmm, I think it would be safe to say something is up, rubysoftware has not been here since 14th February 2008, maybe hes sick or just abandoning this project.

Anyone who wants I can upload v1.6 ( latest )

It also seems I may have to drop this custom RunOnceEx unless I can fix the problem...grrrr

#51 User is offline   kkodiak 

  • Group: Members
  • Posts: 1
  • Joined: 19-May 08

Posted 19 May 2008 - 02:49 PM

I'd like a copy of that installer please. Thank you! :yes:

#52 User is offline   Sull 

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

Posted 19 May 2008 - 03:20 PM

Hello,

A little late, I actually just started cleaning my old unattended collection and the lastest must have gotten deleted.

This is what I have

1. RunOnceEx.exe ( unknown version, may be 1.6 )

2. RunOnceEx 1.4.exe

3. RunOnceEx 1.5.exe

4. RunOnceExScriptCreator.exe

I have put those into a rar archive and you can download here = RubySoftware-all.rar

This is abandoned software, I was once given a very good suggestion, instead of this use WPI ( Windows Post Install ) by kel, which is supported at MSFN and WinCert.net, it will do what RunOnceEx can do + a heck of a lot more and is much more customizable.

Just my 2 cent

#53 User is offline   sp00f 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 712
  • Joined: 30-November 06

Posted 10 June 2008 - 06:20 AM

View PostSull, on May 19 2008, 11:20 PM, said:

Hello,

A little late, I actually just started cleaning my old unattended collection and the lastest must have gotten deleted.

This is what I have

1. RunOnceEx.exe ( unknown version, may be 1.6 )

2. RunOnceEx 1.4.exe

3. RunOnceEx 1.5.exe

4. RunOnceExScriptCreator.exe

I have put those into a rar archive and you can download here = RubySoftware-all.rar

This is abandoned software, I was once given a very good suggestion, instead of this use WPI ( Windows Post Install ) by kel, which is supported at MSFN and WinCert.net, it will do what RunOnceEx can do + a heck of a lot more and is much more customizable.

Just my 2 cent

1.5 is the latest in your pack

#54 User is offline   PlutoD 

  • Group: Members
  • Posts: 1
  • Joined: 25-June 08

Posted 25 June 2008 - 12:43 PM

Is this still a live project? The download link no longer works and Google has no other alternatives.
Can anyone help?

#55 User is offline   COKEDUDEUSF 

  • Member
  • PipPip
  • Group: Members
  • Posts: 226
  • Joined: 24-January 07

Posted 22 August 2008 - 11:37 PM

View PostRubySoftware, on Jan 13 2008, 11:24 AM, said:

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!


Could you please fix your links? I would like to test it out.

#56 User is offline   Sull 

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

Posted 23 August 2008 - 07:12 AM

COKEDUDEUSF,

This project has been abandoned a long time ago now, I have posted all the software, link above

Sorry don't have latest version maybe someone can post that.

#57 User is offline   ExTruckie 

  • Junior
  • Pip
  • Group: Members
  • Posts: 67
  • Joined: 30-July 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 24 August 2008 - 06:41 AM

:hello: I just tried to download Alternative RounOnceEx and I get a 404 error. Is the site down??

#58 User is offline   org.federal 

  • Newbie
  • Group: Members
  • Posts: 16
  • Joined: 14-May 08

Posted 20 September 2008 - 03:15 AM

Well! Working link -> :)
http://www.msfn.org/board/redirect.php?url...oftware-all.rar

Sorry, I have a troubles with alternative shell!
Only one param is working an once from RunOnce and RunOnceEx, RunServicesOnce do not worked fully from
different shell xoblite.net blackbox.exe
It's could be dependency at genuine explorer.exe!
Is has a respond it problem the way anyway?
I need drugs to put RunOnce.exe !?

This post has been edited by org.federal: 20 September 2008 - 03:22 AM


#59 User is offline   pappy 

  • Group: Members
  • Posts: 1
  • Joined: 13-June 05

Posted 15 September 2009 - 02:34 PM

The link http://www.rubysoftw...x/RunOnceEx.exe and http://www.rubysoftware.nl/files/RunOnceEx...20Constants.doc seem to be down. Does anyone have an active link?

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