Bolus123 Posted January 24, 2007 Posted January 24, 2007 Hello,I've created a succesfull slipstream, but 2 programs don't seem to install. I run them from guirunonce. Nero doesn't seem to install and Java also is not installed. I ran the same batch file like this:C:/nero/nero7590eng.exe /VERYSILENT /Lang="English" /USER="xxx xxxx" /COMPANY="xxxx" /SERIAL="xxxxxxxxxxxxxxxxxxxx" /COMPONENTS="nero_core" /fThen it works just fine, same for the Java.When I run the guirunonce in windows it displays the following error at the lines of java and nero:"error too many command-line parameters"My batch file looks like this:@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 PP=%cdrom%\Apps\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Programs" /fREG ADD %KEY /VE /D "Microsoft Office 2003 Professional" /fREG ADD %KEY /V 1 /D "%PP%Microsoft_Office_2003_Professional\setup.exe TRANSFORMS=office11.MST /qb-" /fREG ADD %KEY%05 /VE /D "Winrar 3.30" /fREG ADD %KEY%05 /V 1 /D "%PP%winrar\Winrar330.exe /s" /fREG ADD %KEY%10 /VE /D "Nero Burning Rom 7.5.9.0 Lite" /fREG ADD %KEY%10 /V 1 /D "%PP%nero/nero7590eng.exe /VERYSILENT /Lang="English" /USER="xxx xxxx" /COMPANY="xxxx" /SERIAL="xxxxxxxxxxxxxxxxxxxx" /COMPONENTS="nero_core" /fREG ADD %KEY%15 /VE /D "NOD32" /fREG ADD %KEY%15 /V 1 /D "%PP%NOD32\setup.exe /silentmode /fREG ADD %KEY%20 /VE /D "NOD32 Fix 1.8" /fREG ADD %KEY%20 /V 1 /D "%PP%nodfix\NOD32FiX18.exe /verysilent /norestartREG ADD %KEY%25 /VE /D "Java RE 5 Update 10" /fREG ADD %KEY%25 /V 1 /D "%PP%java\java_1_5_0_10.exe /s /v"/qn ADDLOCAL=jrecore IEXPLORER=1" /fREG ADD %KEY%35 /VE /D "Active Sync 4.2" /fREG ADD %KEY%35 /V 1 /D "%PP%active_sync\Microsoft_ActiveSync_4_2.msi "/qb REBOOT=Suppress"REG ADD %KEY%40 /VE /D "Quickpar" /fREG ADD %KEY%40 /V 1 /D "%PP%quickpar\QuickPar.exe /SREG ADD %KEY%45 /VE /D "FTD 3.7.3" /fREG ADD %KEY%45 /V 1 /D "%PP%ftd\SetupFTDv3_7_3.exe /SREG ADD %KEY%50 /VE /D "Realtek AC97 audio driver" /fREG ADD %KEY%50 /V 1 /D "%PP%realtek/setup.exe -sREG ADD %KEY%55 /VE /D "Nvidia Nforce4 System drivers" /fREG ADD %KEY%55 /V 1 /D "%PP%nvidia/setup.exe -sREG ADD %KEY%99 /VE /D "Cleaning up and applying regtweaks" /fREG ADD %KEY%99 /V 1 /D "%PP%cleanup.cmd" /fEXITCan anyone help?Thanks!
Yzöwl Posted January 24, 2007 Posted January 24, 2007 If you read the Unattended Guide it explains the correct syntax for internal quotes!
Sinistrality Posted January 31, 2007 Posted January 31, 2007 (edited) Yeah but it doesn't explain it clearly If it showed a couple more examples it would be made more clear This is my Runonceex.Cmd entry for my Java installer.. I've simply renamed the java_1_5_0_10.exe to jre.exe for ease of typing.REG ADD %KEY%30 /VE /D "Java Runtime" /fREG ADD %KEY%30 /V /1 /D "Z:\Install\Java\jre.exe /s /v \"/qn ADDLOCAL=ALL IEXPLORER=1 MOZILLA=1 NETSCAPE6=1 REBOOT=SUPPRESS JAVAUPDATE=0 WEBSTARTICON=0\"" /fYours might look like thisREG ADD %KEY%25 /VE /D "Java RE 5 Update 10" /fREG ADD %KEY%25 /V 1 /D "%PP%java\java_1_5_0_10.exe /s /v \"/qn ADDLOCAL=jrecore IEXPLORER=1\"" /fAs for your Nero... crap you use a lot of quotes:REG ADD %KEY%10 /VE /D "Nero Burning Rom 7.5.9.0 Lite" /fREG ADD %KEY%10 /V 1 /D "%PP%nero/nero7590eng.exe /VERYSILENT /Lang=\"English\" /USER=\"xxx xxxx\" /COMPANY=\"xxxx\" /SERIAL=\"xxxxxxxxxxxxxxxxxxxx\" /COMPONENTS=\"nero_core\"" /fBe sure to test it by executing the runonceex.cmd file on a computer, you can simply delete what reg entries it creates after you see the happy words: The operation completed successfully spam 100 times overFeel free to ignore my Z:\ stuff.. still trying to figure out how to add a mapped drive via runonceex.cmd and install apps from a network location.. Ran out of space on my CD, and I don't yet wish to touch RISHope this helps. Edited January 31, 2007 by Sinistrality
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now