jdgordon Posted September 28, 2005 Share Posted September 28, 2005 ok do this..in the runonceex.cmd file add the first bunch. then add 1 more item which will run runonceex2.cmdint runonceex2.cmd add the next bunch (with the last item being runonceex3.cmd) and run rundll32.exe iernonce.dll,RunOnceExProcessrinse, repeat... Link to comment Share on other sites More sharing options...
drscouse Posted September 28, 2005 Share Posted September 28, 2005 That sounds far too simple, far too logical... but hey... it may just work!! Thanks, will try it out shortly!!Cheers Link to comment Share on other sites More sharing options...
drscouse Posted September 28, 2005 Share Posted September 28, 2005 That hit the nail on the head.. cheers!!I find it quite ironic really, as when I first starting using RunOnceEx, I enquired about whether you could use this to launch anothe rinstance of the same.. with additional instructions... which I thought was the easist way of achieving what I wanted...Since actually trying what you suggested, which indeed proved that it was possible... all of my prevous attempts have pretty much been a waste of time and effort lol!! I have spent many many hous trying all sorts of other things which ultimately led me back to my original query.. which you have ansered!!CHEERS Link to comment Share on other sites More sharing options...
jdgordon Posted September 28, 2005 Share Posted September 28, 2005 glad to help...this is what i was trying to suggest back with my first post guess i need to work on my articulation a bit more Link to comment Share on other sites More sharing options...
oioldman Posted February 1, 2006 Share Posted February 1, 2006 just to continue this.Thanks for all help i can know happily split my runonceex.cmd and it relaunches and installs fine.NOW,i have too many apps for a single CD and wish to install these via runonceex, mainly for continuity and have so far managed to use cdswitch.exe, (thanks nanaki), and it autoruns and loads into the registry the runonceex commands needed, however it doesn't then run them until i logoff and on.HOW do i avoid the logoff & on?my runonceex.cmdIF EXIST D:\CD.txt set CDROM=D:IF EXIST E:\CD.txt set CDROM=E:IF EXIST F:\CD.txt set CDROM=F:IF EXIST G:\CD.txt set CDROM=G:IF EXIST H:\CD.txt set CDROM=H:IF EXIST I:\CD.txt set CDROM=I:IF EXIST J:\CD.txt set CDROM=J:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\001 /VE /D "Microsoft Money" /fREG ADD %KEY%\001 /V 1 /D "%CDROM%\Apps\Money\syspack.msi /qn" /fREG ADD %KEY%\001 /V 2 /D "%CDROM%\Apps\Money\money.msi /qn BOOTSTRAPPERLAUNCH=yes" /fREG ADD %KEY%\010 /VE /D "Diskeeper" /fREG ADD %KEY%\010 /V 1 /D "%CDROM%\Apps\Diskeeper\setup.exe /S /V/QN" /fREG ADD %KEY%\010 /V 2 /D "%CDROM%\Apps\Diskeeper\Update1\DiskeeperProfessionalEdition.msi /quiet /norestart" /fREG ADD %KEY%\010 /V 3 /D "%CDROM%\Apps\Diskeeper\Update2\DiskeeperProfessionalEdition.msi /quiet /norestart" /fREG ADD %KEY%\020 /VE /D "Zone Alarm" /fREG ADD %KEY%\020 /V 1 /D "%CDROM%\Apps\ZoneAlarm\zlsSetup_61_737_000_en.exe /s /i /noreboot" /fREG ADD %KEY%\030 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\030 /V 1 /D "runhiddenconsole.exe /W %systemdrive%\install\cleanup.cmd" /frundll32.exe iernonce.dll,RunOnceExProcess [color=#3366FF](=> not sure this need as it doesn't appear to do anything)[/color]EXITthis is called by an autorun.inf and as i said entries are added to registry, how do i then make it run? or is there a better way to do this.Help appreciated,oldman 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