BrandonS_Mil Posted October 23, 2004 Share Posted October 23, 2004 I have my runonceex listed...The arrow goes down the list....NO APPLICATIONS INSTALLS, only the reg tweaks.Please helpRunOnceEX.cmd Link to comment Share on other sites More sharing options...
weist123 Posted October 23, 2004 Share Posted October 23, 2004 your RunonceEx code is here:ps:you can post the code directly to your topic,if it's not long.cmdow @ /HID@Echo Offrem PP=%SystemDrive%\Install\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\000 /VE /D "Preparing Installation..." /fREG ADD %KEY%\000 /V 1 /D "%SystemDrive%\Install\prepare.cmd" /fREG ADD %KEY%\001 /VE /D "Acrobat Reader 6.0.1" /fREG ADD %KEY%\001 /V 1 /D "%SystemDrive%\Install\AdobeRdr\Rdr601.exe -p"-s /v\"/qn\""" /fREG ADD %KEY%\002 /VE /D "Acrobat Reader 6.0.2" /fREG ADD %KEY%\002 /V 1 /D "%SystemDrive%\AdobeRdr\Install\rdr602up.exe -p"-s /v\"/qn\""" /fREG ADD %KEY%\003 /VE /D "Sun Java VM 1.4.2" /fREG ADD %KEY%\003 /V 1 /D "%SystemDrive%\Install\Java\Java_142.exe /s /v"/qn ADDLOCAL=jrecore IEXPLORER=1"" /fREG ADD %KEY%\004 /VE /D "Symantec Antivirus Corporate 9" /fREG ADD %KEY%\004 /V 1 /D "%SystemDrive%\Install\SAV\SAVC.msi\" /qn RUNLIVEUPDATE=0 REBOOT=REALLYSUPPRESS" /fREG ADD %KEY%\005 /VE /D "Importing Registry Tweaks..." /fREG ADD %KEY%\005 /V 1 /D "%SystemDrive%\Install\Registry\regtweaks.reg" /fREG ADD %KEY%\006 /VE /D "Testing USB 2.0..." /fREG ADD %KEY%\006 /V 1 /D "%SystemDrive%\Install\Registry\USB2Test.vbs" /fREG ADD %KEY%\007 /VE /D "Cleaning Up and Rebooting..." /fREG ADD %KEY%\007 /V 1 /D "%SystemDrive%\Install\cleanup.cmd" /fEXIToh,i can't find any error . waiting for expert ...perhaps,can .reg file and .vbs files run directly? Link to comment Share on other sites More sharing options...
Tsunami Posted October 23, 2004 Share Posted October 23, 2004 A .vbs file can run directly, but a .reg file will ask if you want to import it into the registry. Use this instead:REGEDIT /S %SystemDrive%\Install\Registry\regtweaks.reg Link to comment Share on other sites More sharing options...
MHz Posted October 23, 2004 Share Posted October 23, 2004 So long as you have OemPreinstall = Yes in winnt.sif. The software you have in $oem$\$1\Install will be copied to %systemdrive%.I'm unsure if your adobe upgrade address is correct. I think you mixed up AdobeRdr folder with install folder?Double check your cmdlines.txt, to ensure that it is addressed to execute this batch file in it's location. Link to comment Share on other sites More sharing options...
Drac0 Posted October 23, 2004 Share Posted October 23, 2004 and you have a few un-escaped quote's there too, which would cause problems. Try...cmdow @ /HID@Echo Offrem PP=%SystemDrive%\Install\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\000 /VE /D "Preparing Installation..." /fREG ADD %KEY%\000 /V 1 /D "%SystemDrive%\Install\prepare.cmd" /fREG ADD %KEY%\001 /VE /D "Acrobat Reader 6.0.1" /fREG ADD %KEY%\001 /V 1 /D "%SystemDrive%\Install\AdobeRdr\Rdr601.exe -p\"-s /v\"/qn\"\"" /fREG ADD %KEY%\002 /VE /D "Acrobat Reader 6.0.2" /fREG ADD %KEY%\002 /V 1 /D "%SystemDrive%\Install\AdobeRdr\rdr602up.exe -p\"-s /v\"/qn\"\"" /fREG ADD %KEY%\003 /VE /D "Sun Java VM 1.4.2" /fREG ADD %KEY%\003 /V 1 /D "%SystemDrive%\Install\Java\Java_142.exe /s /v /qn ADDLOCAL=jrecore IEXPLORER=1" /fREG ADD %KEY%\004 /VE /D "Symantec Antivirus Corporate 9" /fREG ADD %KEY%\004 /V 1 /D "%SystemDrive%\Install\SAV\SAVC.msi /qn RUNLIVEUPDATE=0 REBOOT=REALLYSUPPRESS" /fREG ADD %KEY%\005 /VE /D "Importing Registry Tweaks..." /fREG ADD %KEY%\005 /V 1 /D "REGEDIT /S %SystemDrive%\Install\Registry\regtweaks.reg" /fREG ADD %KEY%\006 /VE /D "Testing USB 2.0..." /fREG ADD %KEY%\006 /V 1 /D "%SystemDrive%\Install\Registry\USB2Test.vbs" /fREG ADD %KEY%\007 /VE /D "Cleaning Up and Rebooting..." /fREG ADD %KEY%\007 /V 1 /D "%SystemDrive%\Install\cleanup.cmd" /fEXITAnd make sure all the paths are correct. Link to comment Share on other sites More sharing options...
BrandonS_Mil Posted October 23, 2004 Author Share Posted October 23, 2004 (edited) OK, i added the "regedit" --- Thanks works great. Fixed the reader update command line -- thanks, i feel dumb for overlooking. The list shows up, but still runs thru them like they werent there and none of the applications install. Do i need to do like a batch file, and list a "start /wait " line in there???PS: When i was making my RunOnceEX file... I used an utomated tool. I don't remember the website where i got it, but it made the code for me when i seleted the program i wanted installed. If anyone would like the program, email me. It's 1.16MB. Edited October 24, 2004 by BrandonS_Mil 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