Sull Posted January 21, 2008 Share Posted January 21, 2008 (edited) 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 ?ThanksSullEDIT: I notice in HKLM\Software\Microsoft\Windows\Currentversion\run I see RunOnceEX.exe /r why is this here ? Edited January 21, 2008 by Sull Link to comment Share on other sites More sharing options...
RubySoftware Posted January 21, 2008 Author Share Posted January 21, 2008 (edited) 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. Edited January 21, 2008 by RubySoftware Link to comment Share on other sites More sharing options...
Sull Posted January 21, 2008 Share Posted January 21, 2008 (edited) I will test and report back ThanksEDIT: 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 ? Edited January 21, 2008 by Sull Link to comment Share on other sites More sharing options...
RubySoftware Posted January 21, 2008 Author Share Posted January 21, 2008 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). Link to comment Share on other sites More sharing options...
Sull Posted January 21, 2008 Share Posted January 21, 2008 Yeah I actually got confused, I do not need to restart, I do need to run more than one window thoughTo 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. Link to comment Share on other sites More sharing options...
RubySoftware Posted January 21, 2008 Author Share Posted January 21, 2008 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. Link to comment Share on other sites More sharing options...
Sull Posted January 21, 2008 Share Posted January 21, 2008 Sorry I am confused.I will make an example of what I have, tell me what is wrong herecmdow @ /HID@echo offREG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce /V "Alternative RunOnceEx by Ruby Software" /D "Insert path to the installer here!!! /verysilent" /fSET KEY="HKLM\SOFTWARE\Ruby Software\RunOnceEx"REG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY% /V TEXT /D "Please wait while Windows installs the following applications:" /fREG ADD %KEY% /V PNG /D "$OLD" /fREG ADD %KEY% /V PNG_arrow /D "$OLD" /fREG ADD %KEY% /V PNG_success /D "$NONE" /fREG ADD %KEY% /V FONT /D "MS Sans Serif" /fREG ADD %KEY%\005 /VE /D "Adobe Reader 6" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\AdobeReader6\AR6.msi /qn" /fREG ADD %KEY%\010 /VE /D "Alcohol 120" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\alcohol\setup.exe /qn" /fREG ADD %KEY%\010 /V 2 /D "REGEDIT /S %systemdrive%\install\alcohol\register.reg" /fREG ADD %KEY%\015 /VE /D "Diskeeper 8" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\DiskeeperPro_8.0.459.exe /s /v/qn" /fREG ADD %KEY%\050 /VE /D "Importing Registry Tweaks" /fREG ADD %KEY%\050 /V 1 /D "REGEDIT /S %systemdrive%\install\regtweaks.reg" /fREG ADD %KEY%\055 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\cleanup.cmd" /fREG ADD %KEY%\055 /V 2 /D "%systemdrive%\install\RunOnceEX2.cmd" /fEXITI 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. Link to comment Share on other sites More sharing options...
RubySoftware Posted January 21, 2008 Author Share Posted January 21, 2008 This:cmdow @ /HID@echo offREG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce /V "Alternative RunOnceEx by Ruby Software" /D "Insert path to the installer here!!! /verysilent" /fYou should replace Insert path to the installer here!!! with the path to the installer (e.g. %systemdrive%\RunOnceEx.exe) Link to comment Share on other sites More sharing options...
Sull Posted January 21, 2008 Share Posted January 21, 2008 (edited) EDIT: Just removed a silly post lol Edited January 22, 2008 by Sull Link to comment Share on other sites More sharing options...
X-Ecutioner Posted January 22, 2008 Share Posted January 22, 2008 Awesome job....Just curious... what did you write this app in? Link to comment Share on other sites More sharing options...
Sull Posted January 22, 2008 Share Posted January 22, 2008 (edited) 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 Edited January 22, 2008 by Sull Link to comment Share on other sites More sharing options...
RubySoftware Posted January 22, 2008 Author Share Posted January 22, 2008 (edited) That can be seen as an issue, yes. Awesome job....Just curious... what did you write this app in?Delphi 7 Edited January 22, 2008 by RubySoftware Link to comment Share on other sites More sharing options...
Sull Posted January 22, 2008 Share Posted January 22, 2008 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 ?? Link to comment Share on other sites More sharing options...
RubySoftware Posted January 22, 2008 Author Share Posted January 22, 2008 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. Link to comment Share on other sites More sharing options...
Sull Posted January 23, 2008 Share Posted January 23, 2008 Have you had a chance to fix it ? 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