Zarathustra Posted April 21, 2005 Share Posted April 21, 2005 cmdow @ /HID@Echo OffSET PP=%SystemDrive%\Install\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing programs" /fREG ADD %KEY%\001 /VE /D "Installing Alcohol 120%" /fREG ADD %KEY%\001 /V 1 /D "%SystemDrive%\Install\Alcohol\setup.exe /qb /norestart" /fREG ADD %KEY%\002 /VE /D "Installing ffdshow decoders" /fREG ADD %KEY%\002 /V 1 /D "%systemdrive%\install\ffdshow.exe /S" /fREG ADD %KEY%\006 /VE /D "Installing AC3 Audio Filter" /fREG ADD %KEY%\006 /V 1 /D "%systemdrive%\install\AC3.exe /S" /fREG ADD %KEY%\007 /VE /D "Installing WinDVD 5 Platinum" /fREG ADD %KEY%\007 /V 1 /D "%systemdrive%\install\WinDVD\setup.exe /S" /fREG ADD %KEY%\007 /V 2 /D "taskkill /F /IM wincinemamgr.exe" /fREG ADD %KEY%\008 /VE /D "Installing Microsoft .NET Framework 1.1" /fREG ADD %KEY%\008 /V 1 /D "%systemdrive%\install\DotNetFx\netfx.msi /passive /norestart" /fREG ADD %KEY%\018 /VE /D "Installing Logitech Setpoint" /fREG ADD %KEY%\018 /V 1 /D "REGEDIT /S %systemdrive%\install\setpoint214\setup.exe /s" /fREG ADD %KEY%\019 /VE /D "Applying Registry Tweaks" /fREG ADD %KEY%\019 /V 1 /D "REGEDIT /S %systemdrive%\install\RegTweaks.reg" /fREG ADD %KEY%\020 /VE /D "Cleaning Up And Rebooting" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\cleanup.cmd" /fThese work fine, but they are just a part of my ROE. The rest isREG ADD %KEY%\005 /VE /D "Installing Mozilla Firefox with extensions and bookmarks" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\firefox.exe -ms"-s /v\"/qb\"" /fREG ADD %KEY%\005 /V 2 /D "%systemdrive%\install\custom.exe "-s /v\"/qb\"" /fREG ADD %KEY%\003 /VE /D "Installing MSN Messenger 7 Beta" /fREG ADD %KEY%\003 /V 1 /D "%systemdrive%\install\MsnMsgs.msi IAGREE="Yes" ADDEXPLORERTOOLBAR="" SETSEARCHENGINE="" SETHOMEPAGE="" /QB" /fREG ADD %KEY%\004 /VE /D "Installing Adobe Acrobat Reader 6" /fREG ADD %KEY%\004 /V 1 /D "%systemdrive%\install\AdbeRdr60_enu_full.exe -p"-s /v\"/qb\"" /fREG ADD %KEY%\010 /VE /D "Installing iTunes" /fREG 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"" /fREG ADD %KEY%\009 /VE /D "Installing Java 1.5.0.02" /fREG 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"" /fREG ADD %KEY%\003 /VE /D "Installing MSN Messenger 7 Beta" /fREG ADD %KEY%\003 /V 1 /D "%systemdrive%\install\MsnMsgs.msi "/QB IAGREE="Yes" ADDEXPLORERTOOLBAR="" SETSEARCHENGINE="" SETHOMEPAGE=""" /fREG ADD %KEY%\004 /VE /D "Installing Adobe Acrobat Reader 6" /fREG ADD %KEY%\004 /V 1 /D "%systemdrive%\install\AdbeRdr60_enu_full.exe -p"-s /v\"/qb\"" /fITUNESSETUP.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" /fREG 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"" /fAll 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 . Link to comment Share on other sites More sharing options...
Martin Zugec Posted April 21, 2005 Share Posted April 21, 2005 If you want to use ", you must use it like with prefix /, e.g. /"parameter1 parameter2 /" Link to comment Share on other sites More sharing options...
oioldman Posted April 21, 2005 Share Posted April 21, 2005 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=0Do the same for Acrobat Reader - run it and collect msi file and use switches /quiet /noorestartFor 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. Link to comment Share on other sites More sharing options...
Zarathustra Posted April 21, 2005 Author Share Posted April 21, 2005 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 /" ? Link to comment Share on other sites More sharing options...
Zarathustra Posted April 21, 2005 Author Share Posted April 21, 2005 REG ADD %KEY%\001 /VE /D "Installing Alcohol 120%" /fREG ADD %KEY%\001 /V 1 /D "%SystemDrive%\Install\Alcohol\setup.exe /qb /norestart" /fREG ADD %KEY%\002 /VE /D "Installing ffdshow decoders" /fREG ADD %KEY%\002 /V 1 /D "%systemdrive%\install\ffdshow.exe /S" /fREG ADD %KEY%\003 /VE /D "Installing MSN Messenger 7 Beta" /fREG ADD %KEY%\003 /V 1 /D "%systemdrive%\install\MsnMsgs.msi /quiet /norestart" /fREG ADD %KEY%\004 /VE /D "Installing Adobe Acrobat Reader 6" /fREG ADD %KEY%\004 /V 1 /D "%systemdrive%\install\AdbeRdr60_enu_full.exe -p"-s /v\"/qb\"" /f/fqb /norestart" /fREG ADD %KEY%\005 /VE /D "Installing Mozilla Firefox with extensions and bookmarks" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\firefox.exe -ms"-s /v\"/qb\"" /fREG ADD %KEY%\005 /V 2 /D "%systemdrive%\install\custom.exe "-s /v\"/qb\"" /fREG ADD %KEY%\006 /VE /D "Installing AC3 Audio Filter" /fREG ADD %KEY%\006 /V 1 /D "%systemdrive%\install\AC3.exe /S" /fREG ADD %KEY%\007 /VE /D "Installing WinDVD 5 Platinum" /fREG ADD %KEY%\007 /V 1 /D "%systemdrive%\install\WinDVD\setup.exe /S" /fREG ADD %KEY%\007 /V 2 /D "taskkill /F /IM wincinemamgr.exe" /fREG ADD %KEY%\008 /VE /D "Installing Microsoft .NET Framework 1.1" /fREG ADD %KEY%\008 /V 1 /D "%systemdrive%\install\DotNetFx\netfx.msi /passive /norestart" /fREG ADD %KEY%\009 /VE /D "Installing Java 1.5.0.02" /fREG ADD %KEY%\009 /VE /D "Installing Java 1.5.0.02" /fREG 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]" /fREG ADD %KEY%\010 /VE /D "Installing iTunes" /fREG 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"" /fREG ADD %KEY%\011 /VE /D "Installing Logitech Setpoint" /fREG ADD %KEY%\011 /V 1 /D "REGEDIT /S %systemdrive%\install\setpoint214\setup.exe /s" /fREG ADD %KEY%\012 /VE /D "Installing WMP10" /fREG ADD %KEY%\012 /V 1 /D "REGEDIT /S %systemdrive%\install\mp10setup.exe /Q" /fREG ADD %KEY%\019 /VE /D "Applying Registry Tweaks" /fREG ADD %KEY%\019 /V 1 /D "REGEDIT /S %systemdrive%\install\RegTweaks.reg" /fREG ADD %KEY%\020 /VE /D "Cleaning Up And Rebooting" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\cleanup.cmd" /fThis is what i use. Link to comment Share on other sites More sharing options...
Martin Zugec Posted April 21, 2005 Share Posted April 21, 2005 Ups, sorry, mistake, I ment \", not /" Link to comment Share on other sites More sharing options...
Zarathustra Posted April 21, 2005 Author Share Posted April 21, 2005 I officially love you! Thank you very much! Link to comment Share on other sites More sharing options...
Martin Zugec Posted April 21, 2005 Share Posted April 21, 2005 Heh, glad I was able to help Link to comment Share on other sites More sharing options...
Zarathustra Posted April 21, 2005 Author Share Posted April 21, 2005 Is it altered by windows so it installs? I mean, is \ removed? Link to comment Share on other sites More sharing options...
Martin Zugec Posted April 21, 2005 Share Posted April 21, 2005 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. Link to comment Share on other sites More sharing options...
Zarathustra Posted April 21, 2005 Author Share Posted April 21, 2005 Will you marry me? Link to comment Share on other sites More sharing options...
Martin Zugec Posted April 21, 2005 Share Posted April 21, 2005 No, thanks, my girlfriend wouldnt appreciate it Link to comment Share on other sites More sharing options...
Zarathustra Posted April 21, 2005 Author Share Posted April 21, 2005 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=0Do the same for Acrobat Reader - run it and collect msi file and use switches /quiet /noorestartFor 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.<{POST_SNAPBACK}>Where can i find the msiexec.exe from itunes? I can't make iTunes work Link to comment Share on other sites More sharing options...
oioldman Posted April 21, 2005 Share Posted April 21, 2005 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=itunesThe one above, i think will interest you more.http://www.msfn.org/board/index.php?showto...42348&hl=ituneshttp://www.msfn.org/board/index.php?showto...34073&hl=itunesSorry can't be any more help than that. 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