Views: 4.2k  |  Created: 01/24/2007

Average Rating: 0
iTunes has 4 inventory records, 29 Questions, 1 Blogs and 3 links. Please help add to this by sharing more!

Deployment Tips (1)

Most Common Setup Type
Not Determined
Average Package Difficulty Rating
Rated 0 / 5 (Not Rated) based on 0 ratings
Most Commonly Reported Deployment Method
Not Determined
or cancel
117
Note
Below is a .VBS script that can be used to automatically install iTunes 5.0.1. Just obtain the "iTunesSetup.exe" file and place it in the same folder as the .VBS script.

One note is that the "QuickTime.qtp" file mentioned in the script is made by changing the computer's date to about 10 years into the future, then installing QuickTime. This will get rid of that stupid notice about upgrading to the full version when QuickTime normally opens. It's an optional thing, so if you don't have it the script will continue to install iTunes anyway (if you want to use it, just place the file in the same folder as the .VBS script).

I hope this helps,
Rick



' Automatic iTunes installation and configuration script.

Option Explicit
Dim WshShell, WshEnv, objFSO, SystemDrive, strMessage

Set WshShell = WScript.CreateObject("WScript.Shell")
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set WshEnv = WshShell.Environment("PROCESS")
SystemDrive = WshShell.ExpandEnvironmentStrings("%Systemdrive%")

' Disables the Open File security warning.
WshEnv("SEE_MASK_NOZONECHECKS") = 1
' Executes the installation process.
WshShell.Run("iTunesSetup.exe /s /v""ISSETUPDRIVEN=0 ASSUME_MEDIA_DEFAULTS=0 ASSUME_QT_DEFAULTS=0 ALLUSERS=1 SILENT_INSTALL=1"""), 1, False
' Enables the Open File security warning again.
WshEnv.Remove("SEE_MASK_NOZONECHECKS")

' Waits for the installer to initialize (checks every two seconds).
While WshShell.AppActivate("iTunes + QuickTime") = FALSE
wscript.sleep 2001
Wend

' Determines when the installer is finished (checks every two seconds).
While WshShell.AppActivate("iTunes + QuickTime") = TRUE
wscript.sleep 2001
Wend
WScript.Sleep 1002

' OPTIONAL CUSTOMIZATIONS
' Configures QuickTime preferences.
If objFSO.FileExists ("QuickTime.qtp") Then
objFSO.CopyFile "QuickTime.qtp", (SystemDrive & "\Documents and Settings\All Users\Application Data\Apple Computer\Quicktime\QuickTime.qtp"), True
End If

WshShell.RegWrite "HKLM\SOFTWARE\Apple Computer, Inc.\QuickTime\ActiveX\QTTaskRunFlags", 2, "REG_DWORD"

' Uses TaskKill to remove the taskbar icon right away instead of waiting for a restart.
WshShell.Run "%COMSPEC% /C TASKKILL /F /IM qttask.exe", 1, False

WScript.Sleep 3006

Wscript.Quit
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment

Inventory Records (4)

View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.

iTunes

Version

5.0.1.4

Contact

AppleCare Support

Uninstall String

C:\PROGRA~1\COMMON~1\INSTAL~1\Driver\11\INTEL3~1\IDriver.exe /M{78F4DFCE-1336-4027-BCB2-1A00C24A8653} /l1033 C:\PROGRA~1\COMMON~1\INSTAL~1\Driver\11\INTEL3~1\IDriver.exe /M{78F4DFCE-1336-4027-BCB2-1A00C24A8653} /l1031 C:\PROGRA~1\COMMON~1\INSTAL~2\Driver\

Questions & Answers (29)

Questions & Answers related to Apple iTunes

1
ANSWERS
4
ANSWERS
2
ANSWERS
3
ANSWERED
5
ANSWERS
5
ANSWERED
2
ANSWERS
3
ANSWERED
1
ANSWERS
1
ANSWERS
2
ANSWERS
1
ANSWERS

Blogs (1)

Blog posts related to Apple iTunes

Reviews (0)

Reviews related to Apple iTunes