viewsonic Posted February 18, 2005 Share Posted February 18, 2005 Can anyone please look over my runonceex.cmd file? I chcked it but i seem to be running into some problems right when it gets to installing java and going on from there... see below:cmdow @ /HID@echo offFOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\variablerazvan.txt SET CDROM=%%i:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Windows is now installing applications..." /fREG ADD %KEY%\005 /VE /D "MSN Messenger 6" /fREG ADD %KEY%\005 /V 1 /D "%CDROM%\apps\msn\MsnMsgs.msi /qn" /fREG ADD %KEY%\015 /VE /D "Office 2003 Professional" /fREG ADD %KEY%\015 /V 1 /D "%CDROM%\apps\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-" /fREG ADD %KEY%\025 /VE /D "Winrar" /fREG ADD %KEY%\025 /V 1 /D "%CDROM%\apps\winrar\setup.exe /S" /fREG ADD %KEY%\030 /VE /D "Acrobat Reader 7 Lite Version" /fREG ADD %KEY%\030 /V 1 /D "%CDROM%\apps\acro\acro7lite.exe" /fREG ADD %KEY%\035 /VE /D "eMule Special Edition" /fREG ADD %KEY%\035 /V 1 /D "%CDROM%\apps\emule_install.cmd" /fREG ADD %KEY%\037 /VE /D "Mozilla Firefox" /fREG ADD %KEY%\037 /V 1 /D "%CDROM%\apps\firefox\firefox.exe" /fREG ADD %KEY%\040 /VE /D "FlashGet 1.65" /fREG ADD %KEY%\040 /V 1 /D "%CDROM%\apps\flashget\fgf165.exe /S" /fREG ADD %KEY%\040 /V 2 /D "%CDROM%\apps\flashget_serial_tweak.cmd" /fREG ADD %KEY%\047 /VE /D "Nero Burning ROM 6.6 Reloaded" /fREG ADD %KEY%\047 /V 1 /D "REGEDIT /S %CDROM%\apps\Nero\register.reg" /fREG ADD %KEY%\047 /V 2 /D "%CDROM%\apps\Nero\nero6600.exe" /f-->also at nero, it doesnt install fully automated, it still asks for me to what i want to install...<---REG ADD %KEY%\050 /VE /D "Adobe Photoshop 7" /fREG ADD %KEY%\050 /V 1 /D "%CDROM%\apps\photoshop\Setup.exe" /fREG ADD %KEY%\053 /VE /D "K Lite Mega Codec Pack 1.18" /fREG ADD %KEY%\053 /V 1 /D "%CDROM%\codecs\mega118.exe /silent /loadinf=".\silent.inf"" /fREG ADD %KEY%\055 /VE /D "Sun Java J2SE 1.5 with Update " /fREG ADD %KEY%\055 /V 1 /D "%CDROM%\apps\java\j2re.exe /s /v"/qn [ADDLOCAL=jrecore[,extra][,other_US] | ALL] [iEXPLORER=1] [MOZILLA=1] [iNSTALLDIR=C:\Progra~1\Java] [REBOOT=Suppress] [JAVAUPDATE=0] [CUSTOM=0]"" /f---> From here on, nothing gets installed! I dont know why! <--- REG ADD %KEY%\060 /VE /D "Winamp 5.08D" /fREG ADD %KEY%\060 /V 1 /D "%CDROM%\apps\winamp\install.cmd" /fREG ADD %KEY%\065 /VE /D "AnyDVD 4.5.7.2 Stable" /fREG ADD %KEY%\065 /V 1 /D "%CDROM%\apps\anydvd\SetupAnyDVD4572.exe /S" /fREG ADD %KEY%\065 /V 2 /D "%CDROM%\apps\anydvd\Key.AnyDVD" /fREG ADD %KEY%\070 /VE /D "CloneCD 5.1.0.0 Stable" /fREG ADD %KEY%\070 /V 1 /D "%CDROM%\apps\clonecd\SetupCloneCD5100.exe /S" /fREG ADD %KEY%\070 /V 2 /D "%CDROM%\apps\clonecd\Key.CloneCD" /fREG ADD %KEY%\075 /VE /D "BitComet v1201" /fREG ADD %KEY%\075 /V 1 /D "%CDROM%\apps\bitcomet\bcomet1201unst.exe /S D=%systemdrive%:\progra~1\BitCmt /NCRC" /fREG ADD %KEY%\076 /VE /D "FlashFXP Scene Edition" /fREG ADD %KEY%\076 /V 1 /D "%CDROM%\apps\fxp\flashfxp.exe /SILENT" /fREG ADD %KEY%\076 /V 2 /D "%CDROM%\apps\fxp\reg.cmd" /fREG ADD %KEY%\077 /VE /D "Installing Flash and Shockwave Player" /fREG ADD %KEY%\077 /V 1 /D "%CDROM%\apps\shockwave\flashshockwavefull.exe /s" /fREG ADD %KEY%\077 /VE /D "Daemon Tools 3.47" /fREG ADD %KEY%\077 /V 1 /D "%CDROM%\apps\daemontools\daemon347.msi /qn REBOOT=ReallySuppress" /fREG ADD %KEY%\078 /VE /D "Alcohol 120 Percent" /fREG ADD %KEY%\078 /V 1 /D "%CDROM%\apps\alcohol\setup.exe /qn REBOOT=Suppress" /fREG ADD %KEY%\078 /V 2 /D "REGEDIT /S %CDROM%\apps\alcohol\register.reg" /fREG ADD %KEY%\079 /VE /D "Lavasoft Ad-Aware SE Pro 1.5" /fREG ADD %KEY%\079 /V 1 /D "%CDROM%\apps\Ad-Aware\aawSEPro105install.vbs" /fREG ADD %KEY%\080 /VE /D "Lavasoft Ad-Aware SE Pro Plugins" /fREG ADD %KEY%\080 /V 1 /D "%CDROM%\apps\Ad-Aware\aawSEProPlugin\plfilespecs.exe /s" /fREG ADD %KEY%\080 /V 2 /D "%CDROM%\apps\Ad-Aware\aawSEProPlugin\plhexdump.exe /s" /fREG ADD %KEY%\080 /V 3 /D "%CDROM%\apps\Ad-Aware\aawSEProPlugin\pllspexplorer.exe /s" /fREG ADD %KEY%\080 /V 4 /D "%CDROM%\apps\Ad-Aware\aawSEProPlugin\plmessengerstop.exe /s" /fREG ADD %KEY%\080 /V 5 /D "%CDROM%\apps\Ad-Aware\aawSEProPlugin\ploemessenger.exe /s" /fREG ADD %KEY%\080 /V 6 /D "%CDROM%\apps\Ad-Aware\aawSEProPlugin\pltweakse.exe /s" /fREG ADD %KEY%\080 /V 7 /D "%CDROM%\apps\Ad-Aware\aawSEProPlugin\plvx2cleaner.exe /s" /fREG ADD %KEY%\081 /VE /D "mIRC 6.16" /fREG ADD %KEY%\081 /V 1 /D "%CDROM%\apps\mirc\instal.cmd" /fREG ADD %KEY%\095 /VE /D "Importing Registry Tweaks" /fREG ADD %KEY%\095 /V 1 /D "REGEDIT /S %CDROM%\apps\tweaks.reg" /fREG ADD %KEY%\100 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\100 /V 1 /D "%CDROM%\apps\cleanup.cmd" /fEXITAny help will be really appreciated! Link to comment Share on other sites More sharing options...
^_^ Posted February 18, 2005 Share Posted February 18, 2005 I can't answer all of the problems, but the nero should read more like%systemdrive%\install\Apps\Nero6\nero6600.exe /silent /noreboot /no_ui /sn=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx /write_snnow I use batch file on a floppy to run my stuff, and when I run into a problem, I echo out the line that seems to be causeing the problem, just to make sure the rest works.Maybe you could move the java entry down to the bottom of the list and see if all works then Link to comment Share on other sites More sharing options...
Alanoll Posted February 18, 2005 Share Posted February 18, 2005 What exactly DOES happen? Do they appear in the RunOnceEX window? are they just skipped during execution?REG ADD %KEY%\053 /VE /D "K Lite Mega Codec Pack 1.18" /fREG ADD %KEY%\053 /V 1 /D "%CDROM%\codecs\mega118.exe /silent /loadinf=".\silent.inf"" /fShould beREG ADD %KEY%\053 /VE /D "K Lite Mega Codec Pack 1.18" /fREG ADD %KEY%\053 /V 1 /D "%CDROM%\codecs\mega118.exe /silent /loadinf=\".\silent.inf\"" /fREG ADD %KEY%\055 /VE /D "Sun Java J2SE 1.5 with Update " /fREG ADD %KEY%\055 /V 1 /D "%CDROM%\apps\java\j2re.exe /s /v"/qn [ADDLOCAL=jrecore[,extra][,other_US] | ALL] [IEXPLORER=1] [MOZILLA=1] [INSTALLDIR=C:\Progra~1\Java] [REBOOT=Suppress] [JAVAUPDATE=0] [CUSTOM=0]"" /fShould beREG ADD %KEY%\055 /VE /D "Sun Java J2SE 1.5 with Update " /fREG ADD %KEY%\055 /V 1 /D "%CDROM%\apps\java\j2re.exe /s /v\"/qn ADDLOCAL=jrecore,extra,other_US IEXPLORER=1 MOZILLA=1 INSTALLDIR=C:\Progra~1\Java REBOOT=Suppress JAVAUPDATE=0 CUSTOM=0\"" /fThat's all the parse errors i could see off the bat. I'm guessing it's your screwy quotes messing things up Also, I don't believe all those [] around the MSI Properties were neccesary, nor do I believe you know what some of them do.[ADDLOCAL=jrecore[,extra][,other_US] | ALL]Is giving you an option of all the different stuff. To be used it must beADDLOCAL=jrecoreorADDLOCAL=jrecore,extra,other_USorADDLOCAL=ALLUnderstand what I'm getting at? It's just listing the possible values for YOU to choose. Link to comment Share on other sites More sharing options...
viewsonic Posted February 18, 2005 Author Share Posted February 18, 2005 @ ^_^: I will try that for nero and java... @Alanoll: Everything after the java does NOT appear in the runonceex window. It seems they are just skipped, because nothing installs after the java entry (which is at the bottom of the runonceex window). Just to confirm this, I checked the program files directory on my hdd, and the rest of the apps arent installed... i hope you understand better now. Link to comment Share on other sites More sharing options...
Alanoll Posted February 18, 2005 Share Posted February 18, 2005 @ ^_^: I will try that for nero and java... @Alanoll: Everything after the java does NOT appear in the runonceex window. It seems they are just skipped, because nothing installs after the java entry (which is at the bottom of the runonceex window). Just to confirm this, I checked the program files directory on my hdd, and the rest of the apps arent installed... i hope you understand better now.<{POST_SNAPBACK}>I edited my post, so perhaps you could take a look Hope my edits make your stuff work. Link to comment Share on other sites More sharing options...
viewsonic Posted February 18, 2005 Author Share Posted February 18, 2005 ahh, i see, i found a referance on the java site and i popped it in , I will test the install out with the updates, and I will let you know how it goes from there! Link to comment Share on other sites More sharing options...
Stinger12348 Posted February 18, 2005 Share Posted February 18, 2005 nevermind 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