Jump to content

Recommended Posts

Posted
/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.

  • 2 weeks later...

Posted

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...

Posted
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..

:}

Posted

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.

Posted
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.

  • 2 weeks later...
Posted

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 VBScript

Dim FSO, WshShell, AllDrives, CDROM, SYSD, APP, MsgBox

Set FSO = CreateObject("Scripting.FileSystemObject")
Set AllDrives = FSO.Drives
Set WshShell = WScript.CreateObject("WScript.Shell")
SYSD = WshShell.ExpandEnvironmentStrings("%Systemdrive%")

' Check for CDROM
For Each objDrive In fso.Drives
If objDrive.DriveType = "4" And objDrive.IsReady Then
  If fso.FileExists(objDrive & "\WIN51") Then cdrom = objDrive
End If
Next

If Len(CDROM) = 0 Then
  MsgBox "Error: CD-ROM not found!",vbCritical,"Diskeeper"
  WScript.Quit
End if

APP = CDROM & "\Custom\Applications"

' Launch Silent Installer
WshShell.Run (APP & "\iTunes\setup.exe -s -f2" & SYSD & "\iTunes.log")

' Wait for Install Window to come to focus
Do until WshShell.AppActivate ("iTunes for Windows")
   WScript.Sleep 2000
Loop

WScript.Sleep 500

' Hit N for Next
WshShell.SendKeys "N"

' Wait for Installation to complete
Do until FSO.FileExists(SYSD & "\iTunes.log")
   WScript.Sleep 3000
Loop

WScript.Quit

QuickTime Uninstall VBScript

Set WshShell = WScript.CreateObject("WScript.Shell")

' Launch Uninstaller

WshShell.Run "C:\WINDOWS\unvise32qt.exe /s C:\WINDOWS\System32\QuickTime\Uninstall.log"

' Wait for Uninstall Window to come to focus

Do until WshShell.AppActivate ("QuickTime Uninstall")

    WScript.Sleep 2000

Loop

WScript.Sleep 500

' send 1 'tab' keystrokes

WshShell.SendKeys "{TAB}"

' send the 'enter' keystroke

WshShell.SendKeys "{ENTER}"

' Wait 5 seconds for Uninstall to Complete

WScript.Sleep 5000

WScript.Quit

Posted

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)

Posted

Yea, but what if you dont want the default options like "Make QuickTime Default Media player" or "Use iTunes as default audio player"?

Posted
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.

Posted

Tried running the "itunes.msi /QB" from the cmdprompt and get the following error..

itunes.jpg

Does this mean it still needs the setup.iss?

Posted

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.

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...