dkreifus Posted October 27, 2004 Posted October 27, 2004 /L Language ID/S Hide initialization dialog/S/v/qn For Silent mode/V paramaterse to MSIExec.exe/UA<url to IntMSiA.exe>/UW<url to IntMSiW.exe>/UM<url to msi package>I don't know what these all mean. Hopefulyl someone can expand on this.
peach Posted November 8, 2004 Posted November 8, 2004 The /S /v/qn is supposed to be a silent install, but it isn't. At least not for me. You still have to click 'Next' on the first initialization dialog. Does anyone know? iTunes 4.7 doesn't generate the setup.iss file using the -R switch either, (4.6 did..) and after installing it, in the log-file, it says 'error 3' or something, which means it cannot find enough info in the setup.iss file.I got the 4.6 version to work, but not 4.7...
lilweirddude Posted November 8, 2004 Posted November 8, 2004 maybe because of the space between S and /?
peach Posted November 9, 2004 Posted November 9, 2004 maybe because of the space between S and /?I remember testing with and without spaces, and the /S /v/qn - with a space, was the most successfull..
durex Posted November 12, 2004 Posted November 12, 2004 I can attest that Ive gotten 4.7 to work with the setup.iss and although it does show that initial "next" screen, if you sit and wait it actually does perform the install.
jrf2027 Posted November 12, 2004 Posted November 12, 2004 I can attest that Ive gotten 4.7 to work with the setup.iss and although it does show that initial "next" screen, if you sit and wait it actually does perform the install.Ditto here, just did it an hour ago, in fact.
peach Posted November 12, 2004 Posted November 12, 2004 I know.. But you shouldn't have to press 'Next'. It has to be completely silent. No user interaction.
jbjones Posted November 25, 2004 Posted November 25, 2004 Anyone solved this problem of pressing [next]?I just wanted to chime in that I'm having the problem too with 4.7JBJones
durex Posted November 26, 2004 Posted November 26, 2004 I managed to get this working using a VBScript. Basically, it launches the setup using the /s and the setup.iss. The end of the script has a loop to look for the itunes.log the installer creates once it completes, because without this it would go onto the next item in your RunOnceEx as soon as the "N" is hit. Youll want to modfiy the 'APP' line to reflect what path your iTunes setup.exe is in. I also created a VBS Script to uninstall the Quicktime components that arent required for iTunes (if you choose Uninstall Quicktime and choose the 'Uninstall' option instead of the 'Uninstall Everything' Option).iTunes Setup VBScriptDim FSO, WshShell, AllDrives, CDROM, SYSD, APP, MsgBoxSet FSO = CreateObject("Scripting.FileSystemObject")Set AllDrives = FSO.DrivesSet WshShell = WScript.CreateObject("WScript.Shell")SYSD = WshShell.ExpandEnvironmentStrings("%Systemdrive%")' Check for CDROMFor Each objDrive In fso.Drives If objDrive.DriveType = "4" And objDrive.IsReady Then If fso.FileExists(objDrive & "\WIN51") Then cdrom = objDrive End IfNextIf Len(CDROM) = 0 Then MsgBox "Error: CD-ROM not found!",vbCritical,"Diskeeper" WScript.QuitEnd ifAPP = CDROM & "\Custom\Applications"' Launch Silent InstallerWshShell.Run (APP & "\iTunes\setup.exe -s -f2" & SYSD & "\iTunes.log")' Wait for Install Window to come to focusDo until WshShell.AppActivate ("iTunes for Windows") WScript.Sleep 2000LoopWScript.Sleep 500' Hit N for NextWshShell.SendKeys "N"' Wait for Installation to completeDo until FSO.FileExists(SYSD & "\iTunes.log") WScript.Sleep 3000LoopWScript.QuitQuickTime Uninstall VBScriptSet WshShell = WScript.CreateObject("WScript.Shell")' Launch UninstallerWshShell.Run "C:\WINDOWS\unvise32qt.exe /s C:\WINDOWS\System32\QuickTime\Uninstall.log"' Wait for Uninstall Window to come to focusDo until WshShell.AppActivate ("QuickTime Uninstall") WScript.Sleep 2000LoopWScript.Sleep 500' send 1 'tab' keystrokesWshShell.SendKeys "{TAB}"' send the 'enter' keystrokeWshShell.SendKeys "{ENTER}"' Wait 5 seconds for Uninstall to CompleteWScript.Sleep 5000WScript.Quit
prathapml Posted November 26, 2004 Posted November 26, 2004 If the switches it offers are "/S /v/qn", have you tried making an Administrative Install Point of it? (also called server Image)1. Run the setup with "/A" switch.2. Then take the resulting folder, and use the new MSI that was created, with "/QB" switch.3. That's it. (plain and much simpler)
durex Posted November 26, 2004 Posted November 26, 2004 Yea, but what if you dont want the default options like "Make QuickTime Default Media player" or "Use iTunes as default audio player"?
prathapml Posted November 26, 2004 Posted November 26, 2004 Yea, but what if you dont want the default options like "Make QuickTime Default Media player" or "Use iTunes as default audio player"?There must be some command-line arguments, or registry tweaks for that.
durex Posted November 27, 2004 Posted November 27, 2004 Tried running the "itunes.msi /QB" from the cmdprompt and get the following error..Does this mean it still needs the setup.iss?
prathapml Posted November 27, 2004 Posted November 27, 2004 Is there an EXE in that folder, besides the MSI ?
durex Posted November 27, 2004 Posted November 27, 2004 Nope, the only thing the admin install thing did (when i ran the itunes original setup with the /A) is extract that msi, Programs Files Folder and System32 folder which look to contain the files that the installer uses I imagine.
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