MAVERICKS CHOICE Posted February 17, 2005 Share Posted February 17, 2005 Ive just finished breaking my runonce ex batch into 15 prog segments,but have noticed in VPC it seems to execute the progs @T12 & not the not the next reboot??Is this a prob in VPC or normal just the rest of the install appears to hang while these progs install??My first part of runonecex is here:cmdow @ /HID@echo offIF 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 "Lavasoft Ad-Aware SE Personal 1.0.5.0." /fREG ADD %KEY%\001 /V 1 /D "%CDROM%\Software\Adware\adaware.exe aawse.exe" /fREG ADD %KEY%\005 /VE /D "Adobe Reader 7" /fREG ADD %KEY%\005 /V 1 /D "%CDROM%\Software\Adobe\acroread7.exe" /fREG ADD %KEY%\005 /V 2 /D "%CDROM%\Software\Adobe\Adobe7.cmd" /fREG ADD %KEY%\010 /VE /D "AdminTools pack 2003" /fREG ADD %KEY%\010 /V 1 /D "%CDROM%\Software\Admintools\adminpak.msi /Qn" /fREG ADD %KEY%\015 /VE /D "AVG Ver7.0 Free" /fREG ADD %KEY%\015 /V 1 /D "%CDROM%\Software\AVG7\avg70free_300a419.exe /HIDE /DONT_START_APPS /NO_WELCOME /NO_AVGW_STARTUP /QUIT_IF_INSTALLED" /f REG ADD %KEY%\020 /VE /D "Autoit Ver3.0" /fREG ADD %KEY%\020 /V 1 /D "%CDROM%\Software\Autoit\autoit.exe" /fREG ADD %KEY%\025 /VE /D "ATI Drivers" /fREG ADD %KEY%\025 /V 1 /D "%CDROM%\Software\ATI\setup /K" /fREG ADD %KEY%\030 /VE /D "Cool Codecs" /fREG ADD %KEY%\030 /V 1 /D "%CDROM%\Software\codecs\Codecs.msi /qn" /fREG ADD %KEY%\035 /VE /D "Clone CD CD4331" /fREG ADD %KEY%\035 /V 1 /D "%CDROM%\Software\CloneCD\CloneCD.exe" /fREG ADD %KEY%\040 /VE /D "Clone DVD" /fREG ADD %KEY%\040 /V 1 /D "%CDROM%\Software\Clonedvd\CLONEDVD.EXE" /fREG ADD %KEY%\040 /V 2 /D "REGEDIT /S %CDROM%\Software\Clonedvd\Clonedvd.reg" /fREG ADD %KEY%\045 /VE /D "DVD Shrink 3.2" /fREG ADD %KEY%\045 /V 1 /D "%CDROM%\Software\DVDShrink\dvdshrink32setup.exe /silent" /fREG ADD %KEY%\050 /VE /D "Everest Home" /fREG ADD %KEY%\050 /V 1 /D "%CDROM%\Software\Everest\everesthome151.exe /SILENT /SP-" /fREG ADD %KEY%\055 /VE /D "Irfanview 392" /fREG ADD %KEY%\055 /V 1 /D "%CDROM%\Software\Iview\IVIEW.exe" /fREG ADD %KEY%\060 /VE /D "Journal Viewer" /fREG ADD %KEY%\060 /V 1 /D "%CDROM%\Software\Journal\Journal.msi /qn" /fREG ADD %KEY%\065 /VE /D "7 Zip" /fREG ADD %KEY%\065 /V 1 /D "%CDROM%\Software\7Zip\7z414b.exe /S" /fREG ADD %KEY%\070 /VE /D "Metapad 3.5LE Notepad replacement" /fREG ADD %KEY%\070 /V 1 /D "%CDROM%\Software\metapad\metapad3.5.exe" /fREG ADD %KEY%\075 /VE /D "Moviemaker" /fREG ADD %KEY%\075 /V 1 /D "%CDROM%\Software\MovieMaker\mm20.msi /qn" /fREG ADD %KEY%\080 /VE /D "MYOB Accounting package V14" /fREG ADD %KEY%\080 /V 1 /D "%CDROM%\Software\MYOB\setup.exe /s/v/qn" /fREG ADD %KEY%\085 /VE /D "Nero 6606 OEM" /fREG ADD %KEY%\085 /V 1 /D "%CDROM%\Software\Nero\nero6606.exe" /fREG ADD %KEY%\089 /VE /D "Microsoft Net framework SP1" /fREG ADD %KEY%\089 /V 1 /D "%CDROM%\Software\Net\netfxsp1.exe" /fREG ADD %KEY%\090 /VE /D "Nuhi's NLite 99.7Bi" /fREG ADD %KEY%\090 /V 1 /D "%CDROM%\Software\NLite\nlite0997bi.exe /SILENT" /frundll32.exe iernonce.dll,RunOnceExProcessAnyone experienced this? Link to comment Share on other sites More sharing options...
Astalavista Posted February 17, 2005 Share Posted February 17, 2005 y dont u just use wpi?download the attachment for u.wpi.rar Link to comment Share on other sites More sharing options...
Alanoll Posted February 17, 2005 Share Posted February 17, 2005 rundll32.exe iernonce.dll,RunOnceExProcessKick starts the process.You could A. Have a master RunOnceEX that then calls each segment of RunOnceEX in turnB. Put them all in GUIRunOnce and have the same effect as just One after the other but no master file.@AstalavistaWPI is not the end all answer... Link to comment Share on other sites More sharing options...
Astalavista Posted February 17, 2005 Share Posted February 17, 2005 I am only asking a question. Link to comment Share on other sites More sharing options...
MAVERICKS CHOICE Posted February 17, 2005 Author Share Posted February 17, 2005 y dont u just use wpi?download the attachment for u.<{POST_SNAPBACK}>Thanks Guys for quick answersAlanoll with B is it just a matter of calling RunoncEX1, then RunoncEX2 , etc from guirunonce?? Link to comment Share on other sites More sharing options...
BritishBulldog Posted February 17, 2005 Share Posted February 17, 2005 your best bet would be to have multiple files RunOnceEx.cmd, RunOnceEx2.cmd, RunOnceEx3.cmdthe fist would be as above but the last line outRunOnceEx.cmdcmdow @ /HID@echo offIF 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 "Lavasoft Ad-Aware SE Personal 1.0.5.0." /fREG ADD %KEY%\001 /V 1 /D "%CDROM%\Software\Adware\adaware.exe aawse.exe" /fREG ADD %KEY%\005 /VE /D "Adobe Reader 7" /fREG ADD %KEY%\005 /V 1 /D "%CDROM%\Software\Adobe\acroread7.exe" /fREG ADD %KEY%\005 /V 2 /D "%CDROM%\Software\Adobe\Adobe7.cmd" /f.......REG ADD %KEY%\090 /VE /D "Nuhi's NLite 99.7Bi" /fREG ADD %KEY%\090 /V 1 /D "%CDROM%\Software\NLite\nlite0997bi.exe /SILENT" /fREG ADD %KEY%\099 /VE /D "RunOnceEx two" /fREG ADD %KEY%\099 /V 1 /D "%CDROM%\Software\RunOnceEx\RunOnceEx2.cmd" /fbut with the last lines inall other RunOnceEx files will look like thisRunOnceEx2.cmd,RunOnceEx3.cmd etc...cmdow @ /HID@echo offIF 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 "Lavasoft Ad-Aware SE Personal 1.0.5.0." /fREG ADD %KEY%\001 /V 1 /D "%CDROM%\Software\Adware\adaware.exe aawse.exe" /f........REG ADD %KEY%\090 /VE /D "Nuhi's NLite 99.7Bi" /fREG ADD %KEY%\090 /V 1 /D "%CDROM%\Software\NLite\nlite0997bi.exe /SILENT" /fREG ADD %KEY%\099 /VE /D "RunOnceEx three" /fREG ADD %KEY%\099 /V 1 /D "%CDROM%\Software\RunOnceEx\RunOnceEx3.cmd" /frundll32.exe iernonce.dll,RunOnceExProcessonly changing the call up for the next RunOnceEx. The rundll line will then automatically start the process.So you only need to start the first RunOnceEx from guirunonce!!!this will call up RunOnceEx2.cmd.RunOnceEx2.cmd will call up RunOnceEx3.cmd and so on Link to comment Share on other sites More sharing options...
durex Posted February 17, 2005 Share Posted February 17, 2005 @BulldogRight, but wouldnt this method leave you with 3 seperate RunOnce boxes on the screen at the same time? Link to comment Share on other sites More sharing options...
Alanoll Posted February 17, 2005 Share Posted February 17, 2005 y dont u just use wpi?download the attachment for u.<{POST_SNAPBACK}>Thanks Guys for quick answersAlanoll with B is it just a matter of calling RunoncEX1, then RunoncEX2 , etc from guirunonce??<{POST_SNAPBACK}>If you have RunOnceEX copied to the hdd, and you have that rundll32 command at the bottom of each one, yes B) Link to comment Share on other sites More sharing options...
MAVERICKS CHOICE Posted February 17, 2005 Author Share Posted February 17, 2005 Thanks Guys I will get moving on 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