Changes

ITunes

1,418 bytes added, 07:45, 28 July 2011
m
iTunes install 10.4.0.80 in VBS
* '''Warning''': The version of Quicktime that is bundled with ITunes is '''not''' necessarily the newest version available and may contain known security flaws. For example ITunes 9.2.1.5 contained Quicktime 7.66, although Quicktime 7.67 had already been released since weeks at that time. Quicktime 7.66 has a highly critical security flaw that allows for remote execution of arbitrary code, simply by visiting a webpage ([http://secunia.com/advisories/40729 secunia.com]). If you encounter such a scenario, you will have to download the standalone Quicktime installer from Apple and extract the file QuickTime.msi from there. Alternatively you can use the minimal ITunes installation method below, which removes the Quicktime browser plugin and thereby mitigates the attack surface.
* There is a 64bit version of ITunes available too. As of version 10.3.0.54 the 64bit installer contains 64bit versions of ITunes itself and Apple Mobile Device Support and 32bit versions of Quicktime and Apple Application Support. The package definitions for the 64bit versions look basically the same as below, just the paths and GUIDs are different.
 
= Full iTunes 10.4.0.80 installation in VBS =
 
' Directory folder %Software\iTunes, the script requires that the *.vbs file is located the same place as all *.msi files. If you have SCCM, you can distribute this script as a package.
 
Set WshShell = WScript.CreateObject("WScript.Shell")
Set objFSO = CreateObject("Scripting.FileSystemObject")
strScriptFileDirectory = objFSO.GetParentFolderName(wscript.ScriptFullName)
 
' Create Transform for iTunes with orca or another msi editor, to make iTunes more "admin" friendly for distribution in company networks. A "how to" is discribed under the item iTunes.
 
WshShell.Run "msiexec /I AppleApplicationSupport.msi /q /norestart", 0, true
WshShell.Run "msiexec /I Bonjour.msi /q /norestart", 0, true
WshShell.Run "msiexec /I AppleMobileDeviceSupport.msi /q /norestart", 0, true
WshShell.Run "msiexec /I itunes.msi TRANSFORMS=itunes.mst /q /norestart", 0, true
WshShell.Run "msiexec /I quicktime.msi DESKTOP_SHORTCUTS=0 SCHEDULE_ASUW=0 REENABLEAUTORUN=0 /q /norestart", 0, true
 
' set parental controls, that disables "Run first welcome window", "Cannot change parental controls" and "No autoupdate"
 
Dim wshShell
 
Set wshShell = CreateObject( "WScript.Shell" )
wshShell.RegWrite "HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\iTunes\Parental Controls\Default\AdminFlags", 16777473, "REG_DWORD"
 
 
'Copy this to notepad++ or anoter editor, save as *.vbs :-)
= Full ITunes installation 10.3.1.55 =
1
edit