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,
' Automatic iTunes installation and configuration script.
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.
' Waits for the installer to initialize (checks every two seconds).
While WshShell.AppActivate("iTunes + QuickTime") = FALSE
' Determines when the installer is finished (checks every two seconds).
While WshShell.AppActivate("iTunes + QuickTime") = TRUE
' 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
By continuing to use this site and/or clicking the "Accept" button you are providing consent
Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our
websites or when you do business with us. For more information about our
efforts, please visit