Silent install for QuickTime 7.71.80.42 for XP

Step 1. Download and Run vendor executable - QuickTimeInstaller.exe

Step 2. Check under %TEMP% there should be 4 msi’s – You can delete AppleSoftwareUpdate.msi as it is not required.

 

Step 3. I created a .mst for the AppleApplicationSupport.msi and applied our standards. This was installed on aWindows XP SP3 VM and snapped.

Step 4. Installed Quicktime.msi. 

Step 5. What we need to do now is apply our preferences.  These will manifest themselves in quicktime.qtp file which can be located at [LocalAppDataFolder]Apple Computer\Quicktime.  Copy this file to your mst  when you have applied you preferences to QuickTime Player and PictureViewer.  These should include disabling updates and removing System Tray Icon. 

Step 6.  I created a separate feature called CG_QTConfig under Setup Design and created a CG_Quicktime.qtp component with a destination of [LocalAppDataFolder]Apple Computer\Quicktime.  Here i imported the quicktime.qtp file.  Also added HKCU\Software\Apple Computer, Inc.\Quicktime\LocalUserPreferences Name=Auto-Update Date=Disabled.  This registry key was set as keypath for the component.. Under General Information -> InstallCondition remove the NOT BNEWERPRODUCTISINSTALLED condition.

Step 7. Active Setup key added in a new component under newly created feature to ensure replication to all users.

Step 8: The following step copied from - http://www.bdts.com.au/tips-and-resources/48-msi-packaging/74-deploy-quicktime-765.html

Change QT_TRAY_ICON from #2 to #0 - this will disable the tray icon (the blue Q by the clock)Not True but left it so  .

Change the AdminProperties from:

DESKTOP_SHORTCUTS; PROGRAMMENUNAME; QT_TRAY_ICON; QTJAVADIR; QTPROGRAMMENUFOLDERNAME; SCHEDULE_ASUW

to

PROGRAMMENUNAME;QTJAVADIR;QTPROGRAMMENUFOLDERNAME

This will disable the desktop shortcuts, the tray icon, and the automatic updates.

Change SCHEDULE_ASUW from 1 to 0

Change the SecureCustomProperties from:

APPLEAPPLICATIONSUPPORTISINSTALLED; APPLEAPPLICATIONSUPPORTWISINSTALLED; ASUWISINSTALLED; BNEWERPRODUCTISINSTALLED; DESKTOP_SHORTCUTS; EXISTINGINSTALLDIR; EXISTINGPROGRAMMENUNAME; EXISTINGQTCOMPONENTS; EXISTINGQTEXTENSIONS; EXISTINGQTJAVADIR; EXISTINGQTSYSTEM; INSTALLDIR; ISACTIONPROP1; ITUNES70_801_INSTALLED; PROGRAMMENUNAME; QT7PP1INSTALLED; QTINFO.BISQTPRO; QTINFO.BITUNESHELPERRUNNING; QTINFO.BNEWERQTISINSTALLED; QTINFO.BOLDERQTISINSTALLED; QTINFO.BQTISINSTALLED; QTINFO.BSETDONOTLOADFROMBUILDRESULTS; QTINFO.BUPGRADEWOULDINVALIDATEPROKEY; QTINFO.BUYQTPROURL; QTINFO.CURRENTQTINSTALLPATH; QTINFO.CURRENTQTMACVERSNUM_BASE10; QTINFO.CURRENTQTPROCESSCOUNT; QTINFO.CURRENTQTVERSNUM; QTINFO.CURRENTQTVERSNUM_BASE10; QTINFO.CURRENTQTVERSSTR; QTINFO.EXISTINGQTVERSNUM; QTINFO.EXISTINGQTVERSSTR; QTINFO.QTPROREGNAME; QTINFO.QTPROREGNUMBER; QTJAVADIR; QTPLUGINOCXFOLDER; QTPROGRAMMENUFOLDERNAME; REGSRCH_DESKTOP_SHORTCUTS; REGSRCH_ITUNESHELPER_PATH; REGSRCH_QT_TRAY_ICON; SCHEDULE_ASUW; UPGRADEFOUND; UPGRADING750; UPGRADING755

to

APPLEAPPLICATIONSUPPORTISINSTALLED; APPLEAPPLICATIONSUPPORTWISINSTALLED; BNEWERPRODUCTISINSTALLED; DESKTOP_SHORTCUTS; EXISTINGINSTALLDIR; EXISTINGPROGRAMMENUNAME; EXISTINGQTCOMPONENTS; EXISTINGQTEXTENSIONS; EXISTINGQTJAVADIR; EXISTINGQTSYSTEM; INSTALLDIR; ISACTIONPROP1; ITUNES70_801_INSTALLED; PROGRAMMENUNAME; QT7PP1INSTALLED; QTINFO.BISQTPRO; QTINFO.BITUNESHELPERRUNNING; QTINFO.BNEWERQTISINSTALLED; QTINFO.BOLDERQTISINSTALLED; QTINFO.BQTISINSTALLED; QTINFO.BSETDONOTLOADFROMBUILDRESULTS; QTINFO.BUPGRADEWOULDINVALIDATEPROKEY; QTINFO.BUYQTPROURL; QTINFO.CURRENTQTINSTALLPATH; QTINFO.CURRENTQTMACVERSNUM_BASE10; QTINFO.CURRENTQTPROCESSCOUNT; QTINFO.CURRENTQTVERSNUM; QTINFO.CURRENTQTVERSNUM_BASE10; QTINFO.CURRENTQTVERSSTR; QTINFO.EXISTINGQTVERSNUM; QTINFO.EXISTINGQTVERSSTR; QTINFO.QTPROREGNAME; QTINFO.QTPROREGNUMBER; QTJAVADIR; QTPLUGINOCXFOLDER; QTPROGRAMMENUFOLDERNAME; REGSRCH_DESKTOP_SHORTCUTS; REGSRCH_ITUNESHELPER_PATH; UPGRADEFOUND; UPGRADING750; UPGRADING755

Note: the lines above should not have spaces in them, I inserted a space after each ; so it wrapped nicely for the web. You can easily remove the spaces by copying the text into notepad, and replace all "; " with ";"

Optional: I like to change the ProductName field to "QuickTime 7.71.80.42" so users can see which version is being installed / removed.

Make the following change to the CheckBox table:

Change ChkOptInstASU from 1 to 0 - this settings disabled the apple software update.

Make the following change to the Shortcut table:

Drop the "QuickTimeUninstaller" row - this will prevent the uninstaller shortcut from being created.

Drop the "QuickTimePlayer_Desktop" row - this will prevent the desktop shortcut being created.

Make the following change to the LaunchCondition table:

Drop the "NOT BNEWERPRODUCTISINSTALLED" row - I found that if you don't do this the install will fail, indicating that a newer version is installed (even if there's not!)

From the Orca menu, click View -> Summary Information

Delete all the numbers except for 1033 from the languages box (1033 is English). Click OK.

Step 9. In Property Table change the following – REGSRCH_DESKTOP_SHORTCUTS to 0, SCHEDULE_ASUW to 0, INSTALL_ASUW to 0, ISSETUPDRIVEN to 1.

Step 10. Added the following HKCU keys to uphold consistency of .gif, .jpg, and, .png files

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.png]"Progid"="pngfile"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.png\OpenWithProgids] "QuickTime.png"=hex: "pngfile"=hex:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.png\OpenWithList] "b"="shimgvw.dll" "MRUList"="ba" "a"="mspaint.exe"

 

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.gif] "Progid"="giffile"

 

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.gif\OpenWithProgids] "QuickTime.gif"=hex: "giffile"=hex:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.gif\OpenWithList] "b"="shimgvw.dll" "MRUList"="ba" "a"="mspaint.exe"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jpg] "Progid"="jpegfile"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jpg\OpenWithProgids] "jpegfile"=hex: "QuickTime.jpg"=hex:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jpg\OpenWithList] "b"="shimgvw.dll" "a"="mspaint.exe" "MRUList"="ba"

Step 11. In installed what i had done up to now to see if the System Tray Icon had removed but alas it had not. Some frustrating ‘googleing’ suggested to me  to do the following: Create a new component under newly created feature, obtain from your installation up to now and add file com.apple.Quicktime.plist to C:\Documents and Settings\All Users\Aplication Data\Apple Computer\Quicktime.

System Tray Icon still exists.

 

Step 12. In the QuickTimeInternet feature there is a component called QTPlugin.ocx.  In here locate the regkey [HKLM\SOFTWARE\Apple Computer, Inc.\QuickTime\ActiveX] QTTaskRunFlags=[QT_TRAY_ICON]  .  This needs to be changed to a DWORD regkey [HKLM\SOFTWARE\Apple Computer, Inc.\QuickTime\ActiveX] QTTaskRunFlags=2 

 

This last step has removed the System Tray Icon.