Jump to content

Recommended Posts

Posted

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" /f

Then 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 Off

IF 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\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Programs" /f

REG ADD %KEY /VE /D "Microsoft Office 2003 Professional" /f

REG ADD %KEY /V 1 /D "%PP%Microsoft_Office_2003_Professional\setup.exe TRANSFORMS=office11.MST /qb-" /f

REG ADD %KEY%05 /VE /D "Winrar 3.30" /f

REG ADD %KEY%05 /V 1 /D "%PP%winrar\Winrar330.exe /s" /f

REG ADD %KEY%10 /VE /D "Nero Burning Rom 7.5.9.0 Lite" /f

REG ADD %KEY%10 /V 1 /D "%PP%nero/nero7590eng.exe /VERYSILENT /Lang="English" /USER="xxx xxxx" /COMPANY="xxxx" /SERIAL="xxxxxxxxxxxxxxxxxxxx" /COMPONENTS="nero_core" /f

REG ADD %KEY%15 /VE /D "NOD32" /f

REG ADD %KEY%15 /V 1 /D "%PP%NOD32\setup.exe /silentmode /f

REG ADD %KEY%20 /VE /D "NOD32 Fix 1.8" /f

REG ADD %KEY%20 /V 1 /D "%PP%nodfix\NOD32FiX18.exe /verysilent /norestart

REG ADD %KEY%25 /VE /D "Java RE 5 Update 10" /f

REG ADD %KEY%25 /V 1 /D "%PP%java\java_1_5_0_10.exe /s /v"/qn ADDLOCAL=jrecore IEXPLORER=1" /f

REG ADD %KEY%35 /VE /D "Active Sync 4.2" /f

REG ADD %KEY%35 /V 1 /D "%PP%active_sync\Microsoft_ActiveSync_4_2.msi "/qb REBOOT=Suppress"

REG ADD %KEY%40 /VE /D "Quickpar" /f

REG ADD %KEY%40 /V 1 /D "%PP%quickpar\QuickPar.exe /S

REG ADD %KEY%45 /VE /D "FTD 3.7.3" /f

REG ADD %KEY%45 /V 1 /D "%PP%ftd\SetupFTDv3_7_3.exe /S

REG ADD %KEY%50 /VE /D "Realtek AC97 audio driver" /f

REG ADD %KEY%50 /V 1 /D "%PP%realtek/setup.exe -s

REG ADD %KEY%55 /VE /D "Nvidia Nforce4 System drivers" /f

REG ADD %KEY%55 /V 1 /D "%PP%nvidia/setup.exe -s

REG ADD %KEY%99 /VE /D "Cleaning up and applying regtweaks" /f

REG ADD %KEY%99 /V 1 /D "%PP%cleanup.cmd" /f

EXIT

Can anyone help?

Thanks!


Posted (edited)

Yeah but it doesn't explain it clearly :wacko:

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" /f
REG 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\"" /f

Yours might look like this


REG ADD %KEY%25 /VE /D "Java RE 5 Update 10" /f
REG ADD %KEY%25 /V 1 /D "%PP%java\java_1_5_0_10.exe /s /v \"/qn ADDLOCAL=jrecore IEXPLORER=1\"" /f

As for your Nero... crap you use a lot of quotes:


REG ADD %KEY%10 /VE /D "Nero Burning Rom 7.5.9.0 Lite" /f
REG ADD %KEY%10 /V 1 /D "%PP%nero/nero7590eng.exe /VERYSILENT /Lang=\"English\" /USER=\"xxx xxxx\" /COMPANY=\"xxxx\" /SERIAL=\"xxxxxxxxxxxxxxxxxxxx\" /COMPONENTS=\"nero_core\"" /f

Be 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 over

Feel 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 RIS

Hope this helps.

Edited by Sinistrality

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...