Jump to content

Recommended Posts

Posted
cmdow @ /HID

@Echo Off

SET PP=%SystemDrive%\Install\

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

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

REG ADD %KEY%\001 /VE /D "Installing Alcohol 120%" /f

REG ADD %KEY%\001 /V 1 /D "%SystemDrive%\Install\Alcohol\setup.exe /qb /norestart" /f

REG ADD %KEY%\002 /VE /D "Installing ffdshow decoders" /f

REG ADD %KEY%\002 /V 1 /D "%systemdrive%\install\ffdshow.exe /S" /f

REG ADD %KEY%\006 /VE /D "Installing AC3 Audio Filter" /f

REG ADD %KEY%\006 /V 1 /D "%systemdrive%\install\AC3.exe /S" /f

REG ADD %KEY%\007 /VE /D "Installing WinDVD 5 Platinum" /f

REG ADD %KEY%\007 /V 1 /D "%systemdrive%\install\WinDVD\setup.exe /S" /f

REG ADD %KEY%\007 /V 2 /D "taskkill /F /IM wincinemamgr.exe" /f

REG ADD %KEY%\008 /VE /D "Installing Microsoft .NET Framework 1.1" /f

REG ADD %KEY%\008 /V 1 /D "%systemdrive%\install\DotNetFx\netfx.msi /passive /norestart" /f

REG ADD %KEY%\018 /VE /D "Installing Logitech Setpoint" /f

REG ADD %KEY%\018 /V 1 /D "REGEDIT /S %systemdrive%\install\setpoint214\setup.exe /s" /f

REG ADD %KEY%\019 /VE /D "Applying Registry Tweaks" /f

REG ADD %KEY%\019 /V 1 /D "REGEDIT /S %systemdrive%\install\RegTweaks.reg" /f

REG ADD %KEY%\020 /VE /D "Cleaning Up And Rebooting" /f

REG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f

These work fine, but they are just a part of my ROE. The rest is
REG ADD %KEY%\005 /VE /D "Installing Mozilla Firefox with extensions and bookmarks" /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\firefox.exe -ms"-s /v\"/qb\"" /f

REG ADD %KEY%\005 /V 2 /D "%systemdrive%\install\custom.exe "-s /v\"/qb\"" /f

REG ADD %KEY%\003 /VE /D "Installing MSN Messenger 7 Beta" /f

REG ADD %KEY%\003 /V 1 /D "%systemdrive%\install\MsnMsgs.msi IAGREE="Yes" ADDEXPLORERTOOLBAR="" SETSEARCHENGINE="" SETHOMEPAGE="" /QB" /f

REG ADD %KEY%\004 /VE /D "Installing Adobe Acrobat Reader 6" /f

REG ADD %KEY%\004 /V 1 /D "%systemdrive%\install\AdbeRdr60_enu_full.exe -p"-s /v\"/qb\"" /f

REG ADD %KEY%\010 /VE /D "Installing iTunes" /f

REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\ITUNESSETUP.EXE /S /V"ISSETUPDRIVEN=0 ASSUME_MEDIA_DEFAULTS=0 ASSUME_QT_DEFAULTS=0 ALLUSERS=1 SILENT_INSTALL=1 /QN"" /f

REG ADD %KEY%\009 /VE /D "Installing Java 1.5.0.02" /f

REG ADD %KEY%\009 /V 1 /D "%systemdrive%\install\jre-1_5_0_02-windows-i586-p.exe /S /V"/QN ADDLOCAL=ALL IEXPLORER=1 NETSCAPE6=1 MOZILLA=1 REBOOT=Suppress JAVAUPDATE=0"" /f

REG ADD %KEY%\003 /VE /D "Installing MSN Messenger 7 Beta" /f

REG ADD %KEY%\003 /V 1 /D "%systemdrive%\install\MsnMsgs.msi "/QB IAGREE="Yes" ADDEXPLORERTOOLBAR="" SETSEARCHENGINE="" SETHOMEPAGE=""" /f

REG ADD %KEY%\004 /VE /D "Installing Adobe Acrobat Reader 6" /f

REG ADD %KEY%\004 /V 1 /D "%systemdrive%\install\AdbeRdr60_enu_full.exe -p"-s /v\"/qb\"" /f

ITUNESSETUP.EXE /S /V"ISSETUPDRIVEN=0 ASSUME_MEDIA_DEFAULTS=1 ASSUME_QT_DEFAULTS=0 ALLUSERS=1 SILENT_INSTALL=1 /QN"

ITUNESSETUP.EXE /S /V"ISSETUPDRIVEN=0 ASSUME_MEDIA_DEFAULTS=0 ASSUME_QT_DEFAULTS=0 ALLUSERS=1 SILENT_INSTALL=1 /QN"

REG ADD %KEY%\009 /VE /D "Installing Java 1.5.0.02" /f

REG ADD %KEY%\009 /V 1 /D "%systemdrive%\install\jre-1_5_0_02-windows-i586-p.exe /S /V"/QN ADDLOCAL=ALL IEXPLORER=1 NETSCAPE6=1 MOZILLA=1 REBOOT=Suppress JAVAUPDATE=0"" /f

All of these give errors. The error is literally "Error: Too many command-line parameters". What can be causing this?

The rest of my cd is pretty much how i copied it, except for a few folders i deleted. However i recently slipstreamed wmp10 into the i386 folder, could that be the cause of it?

You can clearly see that it's every parameter with quotations marks " that gives errors. Now i tried messing around with it, if i remove them i get no error, but then the program won't install :(.


Posted

For Java 5.02 - run it and beofre installing coolect the msi file it actually uses. The just use the switches of /quiet /norestart. For the optional bits you can still use ADDLOCAL=ALL IEXPLORER=1 NETSCAPE6=1 MOZILLA=1 JAVAUPDATE=0

Do the same for Acrobat Reader - run it and collect msi file and use switches /quiet /noorestart

For MSN7, i just use /quiet /norestart and it doesn't give me the toolbar or other rubbish.

You have Acrobat & Java & MSN listed twie - not helpful.

For iTunes - search as i know i've seen it on this site.

For Firefox - search as i know i've seen it on this site.

Posted

You don't understand, this is supposed to work, i've gotten them all from this site or affiliates.

[edit]

I was working with the file, or a backup, so i messed them up. But i'm using the original. But the question still remains:

Why does using " mess it up? Is it like he said, does it work if i use /" ?

Posted
REG ADD %KEY%\001 /VE /D "Installing Alcohol 120%" /f

REG ADD %KEY%\001 /V 1 /D "%SystemDrive%\Install\Alcohol\setup.exe /qb /norestart" /f

REG ADD %KEY%\002 /VE /D "Installing ffdshow decoders" /f

REG ADD %KEY%\002 /V 1 /D "%systemdrive%\install\ffdshow.exe /S" /f

REG ADD %KEY%\003 /VE /D "Installing MSN Messenger 7 Beta" /f

REG ADD %KEY%\003 /V 1 /D "%systemdrive%\install\MsnMsgs.msi /quiet /norestart" /f

REG ADD %KEY%\004 /VE /D "Installing Adobe Acrobat Reader 6" /f

REG ADD %KEY%\004 /V 1 /D "%systemdrive%\install\AdbeRdr60_enu_full.exe -p"-s /v\"/qb\"" /f/fqb /norestart" /f

REG ADD %KEY%\005 /VE /D "Installing Mozilla Firefox with extensions and bookmarks" /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\firefox.exe -ms"-s /v\"/qb\"" /f

REG ADD %KEY%\005 /V 2 /D "%systemdrive%\install\custom.exe "-s /v\"/qb\"" /f

REG ADD %KEY%\006 /VE /D "Installing AC3 Audio Filter" /f

REG ADD %KEY%\006 /V 1 /D "%systemdrive%\install\AC3.exe /S" /f

REG ADD %KEY%\007 /VE /D "Installing WinDVD 5 Platinum" /f

REG ADD %KEY%\007 /V 1 /D "%systemdrive%\install\WinDVD\setup.exe /S" /f

REG ADD %KEY%\007 /V 2 /D "taskkill /F /IM wincinemamgr.exe" /f

REG ADD %KEY%\008 /VE /D "Installing Microsoft .NET Framework 1.1" /f

REG ADD %KEY%\008 /V 1 /D "%systemdrive%\install\DotNetFx\netfx.msi /passive /norestart" /f

REG ADD %KEY%\009 /VE /D "Installing Java 1.5.0.02" /fREG ADD %KEY%\009 /VE /D "Installing Java 1.5.0.02" /f

REG ADD %KEY%\009 /V 1 /D "%systemdrive%\install\jre-1_5_0_02-windows-i586-p.exe /S /V[/QN ADDLOCAL=ALL IEXPLORER=1 NETSCAPE6=1 MOZILLA=1 REBOOT=Suppress JAVAUPDATE=0]" /f

REG ADD %KEY%\010 /VE /D "Installing iTunes" /f

REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\ITUNESSETUP.EXE /S /V"ISSETUPDRIVEN=0 ASSUME_MEDIA_DEFAULTS=0 ASSUME_QT_DEFAULTS=0 ALLUSERS=1 SILENT_INSTALL=1 /QN"" /f

REG ADD %KEY%\011 /VE /D "Installing Logitech Setpoint" /f

REG ADD %KEY%\011 /V 1 /D "REGEDIT /S %systemdrive%\install\setpoint214\setup.exe /s" /f

REG ADD %KEY%\012 /VE /D "Installing WMP10" /f

REG ADD %KEY%\012 /V 1 /D "REGEDIT /S %systemdrive%\install\mp10setup.exe /Q" /f

REG ADD %KEY%\019 /VE /D "Applying Registry Tweaks" /f

REG ADD %KEY%\019 /V 1 /D "REGEDIT /S %systemdrive%\install\RegTweaks.reg" /f

REG ADD %KEY%\020 /VE /D "Cleaning Up And Rebooting" /f

REG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f

This is what i use.

Posted

Yep... Also sometimes you must use %% for variable instead of % - for example if you want to log times, you must use %%time%% instead of %time% - because of resolving variables.

Easiest way to determine is to import ROE on normal PC and have a look how does it looks like in registry.

Posted
For Java 5.02 - run it and beofre installing coolect the msi file it actually uses.  The just use the switches of /quiet /norestart.  For the optional bits you can still use ADDLOCAL=ALL IEXPLORER=1 NETSCAPE6=1 MOZILLA=1 JAVAUPDATE=0

Do the same for Acrobat Reader - run it and collect msi file and use switches /quiet /noorestart

For MSN7, i just use /quiet /norestart and it doesn't give me the toolbar or other rubbish.

You have Acrobat & Java & MSN listed twie - not helpful.

For iTunes - search as i know i've seen it on this site.

For Firefox - search as i know i've seen it on this site.

Where can i find the msiexec.exe from itunes? I can't make iTunes work :(

Posted

I knew you could use the switches in way you wish, I don't, as is easier to use the msi, as less likely to get the command wrong and switches are much simpler.

As for the iTunes msiexec, i don't have, but can offer these links to where other have done iTunes installs;

http://www.msfn.org/board/index.php?showto...30941&hl=itunes

The one above, i think will interest you more.

http://www.msfn.org/board/index.php?showto...42348&hl=itunes

http://www.msfn.org/board/index.php?showto...34073&hl=itunes

Sorry can't be any more help than that.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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