Friday, October 24, 2014

How to set up a silent install of QuickTime through a batch script

How to set up a silent install of QuickTime through 

a batch script


1.

Download the QuickTime installer

2.

Open a command prompt to extract the .msi files

Navigate to where the installer was downloaded. Extract the .msi files with:
QuickTimeInstaller.exe /extract
This may take a minute or two depending on the speed of your computer. There should be four files produced:
QuickTime.msi
AppleSoftwareUpdate.msi
AppleApplicationSupport.msi
QuickTimeInstallerAdmin.exe
3.

Copy the files to your distribution share

For the purposes of this example, assume they are copied to
\\servername\share\QuickTime\7.7.6
4.

Create a batch file and add the installation commands

Use the following commands in your batch file to silently install QuickTime:
msiexec /i "\\servername\share\Quicktime\7.7.6\AppleApplicationSupport.msi" /passive
msiexec /i "\\servername\share\Quicktime\7.7.6\QuickTime.msi" /passive DESKTOP_SHORTCUTS=NO
msiexec /i "\\servername\share\Quicktime\7.7.6\AppleSoftwareUpdate.msi" /passive

NOTE: Apple Applicaiton Support needs to be installed first or Quick Time will not install.

In the first line, "DESKTOP_SHORTCUTS=NO" will suppress the automatic creation of the QuickTime desktop shortcut.
If upgrading QuickTime, this will also replace the previous version.
All three .msi files seem to be required for the installation to work.

That should set things up so you can run the install/upgrade as an interactive batch file, as a scheduled task,
or however you desire.
Tested with QuickTime 7.7.6 on Win 7 and 8/8.1

No comments:

Post a Comment