RubySoftware Posted January 23, 2008 Author Share Posted January 23, 2008 (edited) Not yet.Edit: Fixed. See first post. Edited January 23, 2008 by RubySoftware Link to comment Share on other sites More sharing options...
Sull Posted January 23, 2008 Share Posted January 23, 2008 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 Link to comment Share on other sites More sharing options...
RubySoftware Posted January 24, 2008 Author Share Posted January 24, 2008 (edited) 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. Edited January 24, 2008 by RubySoftware Link to comment Share on other sites More sharing options...
Sull Posted January 24, 2008 Share Posted January 24, 2008 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. Link to comment Share on other sites More sharing options...
RubySoftware Posted January 24, 2008 Author Share Posted January 24, 2008 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! Link to comment Share on other sites More sharing options...
Sull Posted January 24, 2008 Share Posted January 24, 2008 (edited) I will test it out. Does this command work with your RunOnceEX = start /wait rundll32.exe iernonce.dll,RunOnceExProcessEXAMPLE: This is what I have working perfect for Windows original RunOnceEX@echo offcmdow @ /HIDSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "( TITLE HERE ) /fREG ADD %KEY%\035 /VE /D "Chipset Software Installation Utility" /fREG ADD %KEY%\035 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\chipsetupdate.exe /s" /fREG ADD %KEY%\035 /V 2 /D "%systemdrive%\install\PAUSE.CMDREG ADD %KEY%\040 /VE /D "Visual Communication Camera VGP-VCC3 Driver" /fREG ADD %KEY%\040 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\CAMERADRIVER.EXE" /fREG ADD %KEY%\040 /V 2 /D "%systemdrive%\install\PAUSE.CMDREG ADD %KEY%\045 /VE /D "Alps StickPointer Driver" /fREG ADD %KEY%\045 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\alpspointer.exe" /fREG ADD %KEY%\045 /V 2 /D "%systemdrive%\install\PAUSE.CMDREG ADD %KEY%\050 /VE /D "Sony Image FilterDriver" /fREG ADD %KEY%\050 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\imagefilter\SonyImageFilter.exe /s" /fREG ADD %KEY%\050 /V 2 /D "%systemdrive%\install\PAUSE.CMDREG ADD %KEY%\055 /VE /D "Programmable I/O Driver" /fREG ADD %KEY%\055 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\programmableio.exe" /fREG ADD %KEY%\055 /V 2 /D "%systemdrive%\install\PAUSE.CMDREG ADD %KEY%\060 /VE /D "Gunze Touch panel Driver" /fREG ADD %KEY%\060 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\touchpanel.exe" /fREG ADD %KEY%\060 /V 2 /D "%systemdrive%\install\PAUSE.CMDREG ADD %KEY%\065 /VE /D "Sony USB Mouse Driver" /fREG ADD %KEY%\065 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\mousedri.exe" /fREG ADD %KEY%\065 /V 2 /D "%systemdrive%\install\PAUSE.CMDREG ADD %KEY%\070 /VE /D "LAN-Express Software" /fREG ADD %KEY%\070 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\LANExpress.exe" /fREG ADD %KEY%\070 /V 2 /D "%systemdrive%\install\PAUSE.CMDREG ADD %KEY%\075 /VE /D "Sony Batt Check" /fREG ADD %KEY%\075 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\batcheck.exe" /fREG ADD %KEY%\075 /V 2 /D "%systemdrive%\install\PAUSE.CMDREG ADD %KEY%\080 /VE /D "Setting Utility Series" /fREG ADD %KEY%\080 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\SUS.exe" /fREG ADD %KEY%\080 /V 2 /D "%systemdrive%\install\PAUSE.CMDREG ADD %KEY%\085 /VE /D "Sony Shared Library" /fREG ADD %KEY%\085 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\sharedlibrary.exe" /fREG ADD %KEY%\085 /V 2 /D "%systemdrive%\install\PAUSE.CMDREG ADD %KEY%\090 /VE /D "Sony Utilities DLL" /fREG ADD %KEY%\090 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\utildll.exe" /fREG ADD %KEY%\090 /V 2 /D "%systemdrive%\install\PAUSE.CMDstart /wait rundll32.exe iernonce.dll,RunOnceExProcessREG ADD %KEY% /V TITLE /D " ( SECOND WINDOW TITLE HERE )" /fREG ADD %KEY%\005 /VE /D "Vaio Control Center" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\controlcenter.exe" /fREG ADD %KEY%\005 /V 2 /D "%systemdrive%\install\PAUSE.CMDREG ADD %KEY%\010 /VE /D "Vaio Event Service" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\VES.exe" /fREG ADD %KEY%\010 /V 2 /D "%systemdrive%\install\PAUSE.CMDREG ADD %KEY%\015 /VE /D "Vaio Powermanagment" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\powermgr.exe" /fREG ADD %KEY%\015 /V 2 /D "%systemdrive%\install\PAUSE.CMDREG ADD %KEY%\020 /VE /D "Special Button Utility" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\SBU.exe" /fREG ADD %KEY%\020 /V 2 /D "%systemdrive%\install\PAUSE.CMDREG ADD %KEY%\025 /VE /D "Vaio Touch Launcher" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\VTL.exe" /fREG ADD %KEY%\025 /V 2 /D "%systemdrive%\install\PAUSE.CMDstart /wait rundll32.exe iernonce.dll,RunOnceExProcessEXITThis 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 Edited January 24, 2008 by Sull Link to comment Share on other sites More sharing options...
RubySoftware Posted January 25, 2008 Author Share Posted January 25, 2008 (edited) 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 offcmdow @ /HIDSET KEY="HKLM\SOFTWARE\Ruby Software\RunOnceEx"REG ADD %KEY% /V TITLE /D "( TITLE HERE )" /fREG ADD %KEY%\035 /VE /D "Chipset Software Installation Utility" /fREG ADD %KEY%\035 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\chipsetupdate.exe /s" /fREG ADD %KEY%\035 /V 2 /D "%systemdrive%\install\PAUSE.CMDREG ADD %KEY%\040 /VE /D "Visual Communication Camera VGP-VCC3 Driver" /fREG ADD %KEY%\040 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\CAMERADRIVER.EXE" /fREG ADD %KEY%\040 /V 2 /D "%systemdrive%\install\PAUSE.CMDREG ADD %KEY%\045 /VE /D "Alps StickPointer Driver" /fREG ADD %KEY%\045 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\alpspointer.exe" /fREG ADD %KEY%\045 /V 2 /D "%systemdrive%\install\PAUSE.CMDREG ADD %KEY%\050 /VE /D "Sony Image FilterDriver" /fREG ADD %KEY%\050 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\imagefilter\SonyImageFilter.exe /s" /fREG ADD %KEY%\050 /V 2 /D "%systemdrive%\install\PAUSE.CMDREG ADD %KEY%\055 /VE /D "Programmable I/O Driver" /fREG ADD %KEY%\055 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\programmableio.exe" /fREG ADD %KEY%\055 /V 2 /D "%systemdrive%\install\PAUSE.CMDREG ADD %KEY%\060 /VE /D "Gunze Touch panel Driver" /fREG ADD %KEY%\060 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\touchpanel.exe" /fREG ADD %KEY%\060 /V 2 /D "%systemdrive%\install\PAUSE.CMDREG ADD %KEY%\065 /VE /D "Sony USB Mouse Driver" /fREG ADD %KEY%\065 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\mousedri.exe" /fREG ADD %KEY%\065 /V 2 /D "%systemdrive%\install\PAUSE.CMDREG ADD %KEY%\070 /VE /D "LAN-Express Software" /fREG ADD %KEY%\070 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\LANExpress.exe" /fREG ADD %KEY%\070 /V 2 /D "%systemdrive%\install\PAUSE.CMDREG ADD %KEY%\075 /VE /D "Sony Batt Check" /fREG ADD %KEY%\075 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\batcheck.exe" /fREG ADD %KEY%\075 /V 2 /D "%systemdrive%\install\PAUSE.CMDREG ADD %KEY%\080 /VE /D "Setting Utility Series" /fREG ADD %KEY%\080 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\SUS.exe" /fREG ADD %KEY%\080 /V 2 /D "%systemdrive%\install\PAUSE.CMDREG ADD %KEY%\085 /VE /D "Sony Shared Library" /fREG ADD %KEY%\085 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\sharedlibrary.exe" /fREG ADD %KEY%\085 /V 2 /D "%systemdrive%\install\PAUSE.CMDREG ADD %KEY%\090 /VE /D "Sony Utilities DLL" /fREG ADD %KEY%\090 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\utildll.exe" /fREG ADD %KEY%\090 /V 2 /D "%systemdrive%\install\PAUSE.CMDSET KEY="HKLM\SOFTWARE\Ruby Software\RunOnceEx2"REG ADD %KEY% /V TITLE /D " ( SECOND WINDOW TITLE HERE )" /fREG ADD %KEY%\005 /VE /D "Vaio Control Center" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\controlcenter.exe" /fREG ADD %KEY%\005 /V 2 /D "%systemdrive%\install\PAUSE.CMDREG ADD %KEY%\010 /VE /D "Vaio Event Service" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\VES.exe" /fREG ADD %KEY%\010 /V 2 /D "%systemdrive%\install\PAUSE.CMDREG ADD %KEY%\015 /VE /D "Vaio Powermanagment" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\powermgr.exe" /fREG ADD %KEY%\015 /V 2 /D "%systemdrive%\install\PAUSE.CMDREG ADD %KEY%\020 /VE /D "Special Button Utility" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\SBU.exe" /fREG ADD %KEY%\020 /V 2 /D "%systemdrive%\install\PAUSE.CMDREG ADD %KEY%\025 /VE /D "Vaio Touch Launcher" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\VTL.exe" /fREG ADD %KEY%\025 /V 2 /D "%systemdrive%\install\PAUSE.CMDRunOnceExEXIT Edited January 25, 2008 by RubySoftware Link to comment Share on other sites More sharing options...
kiriku Posted January 28, 2008 Share Posted January 28, 2008 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! Link to comment Share on other sites More sharing options...
Sull Posted January 30, 2008 Share Posted January 30, 2008 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 againSull Link to comment Share on other sites More sharing options...
samsobi Posted January 31, 2008 Share Posted January 31, 2008 RubySoftwareIs it possible to do so that the icon corresponded for every application?Tnx! Link to comment Share on other sites More sharing options...
jda-au Posted February 9, 2008 Share Posted February 9, 2008 (edited) Subject: Alternative RunOnceExI 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 OFFIF EXIST %SYSTEMROOT%\SYSTEM32\CMDOW.EXE CMDOW @ /HIDSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY% /V Flags /T REG_DWORD /D 128 /FREG ADD %KEY%\010 /VE /D "Applications Installation Batch File" /fREG 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%\myprogram1MKDIR %temp%\myprogram2COPY /V /Y /B %SYSTEMDRIVE%\Software\myprogram1.exe %temp%\myprogram1COPY /V /Y /B %SYSTEMDRIVE%\Software\myprogram2.exe %temp%\myprogram2START/WAIT %TEMP%\myprogram1\myprogram1.exeSTART/WAIT %TEMP%\myprogram2\myprogram2.exeRD /S /Q %SYSTEMDRIVE%\SoftwareEXITI 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... Edited February 15, 2008 by jda-au Link to comment Share on other sites More sharing options...
MHz Posted February 9, 2008 Share Posted February 9, 2008 I know which way I will be doing it... 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. Link to comment Share on other sites More sharing options...
Nevel Posted February 10, 2008 Share Posted February 10, 2008 Ok, call me a noob, but I don't get it:'Something' must be added to the registry first. So... what is something then? Nifty little tool by the way, can't wait to fool around with it Link to comment Share on other sites More sharing options...
RubySoftware Posted February 14, 2008 Author Share Posted February 14, 2008 Ok, call me a noob, but I don't get it:'Something' must be added to the registry first. So... what is something then? 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. Link to comment Share on other sites More sharing options...
RubySoftware Posted February 14, 2008 Author Share Posted February 14, 2008 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 againSullThis 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now