For Quicktime 7.4 Apple has decided to make it harder to run the msi directly by itself. You will need to set a couple of properties if you do not wish to have the installer install the applesoftwareupdate.msi. Those are:
ASUWISINSTALLED=0
SCHEDULE_ASUW=0
Without these properties being set you will receive an error and the installation will abort if it cannot find the applesoftwareupdate.msi Of course with the frequent security vulnerabilities discovered in QuickTime you may want the autoupdate.
I just downloaded the standalone package and I'm trying to deploy it to the network (1200 clients)
The technique with using the setup.exe is what we try to avoid.
So I did the following:
Launching QuickTimeInstaller.exe, and while it was asking for user input. I copied the complete directory with MSI and MST files away (%TEMP%\<something>)
And as the installer is picky enough to check if it's started by it's setup.exe or not, I use the following command to distribute
msiexec /i QuickTime.msi /t 1031.MST ISSETUPDRIVEN=1
The important part is ISSETUPDRIVEN=1.
Maybe it's helpful for someone out there.
Greetings,
Dominique
I have managed to get this to install in a corporate environment silently and using only the vendor MSIs. Here is the step by step complete roundup of everything that I have done (bear in mind that changes i recommend should be done via a transform file):
---------------------------
1. Start the Installation of the setup executable package onto a test PC, and take the two MSI files and a language transform file (e.g. 1033.mst for English) from the temp directory (it will be in one of the folders off of temp so search for quicktime.msi to find the folder)
Changes to issript11.msi :-
----------------------------
2. Remove the registry entry RunAs=InterativeUser (registry601)
Changes to QuickTime.msi :-
---------------------------
3. Add the property ISSETUPDRIVEN=1 to the property table. This enables the MSI to run without being launched via the setup executable
4. The vendor has written in a set directory custom action relies on INSTALLDIR being set via the commandline because it runs before costfinalise. Set this custom action to run AFTER costfinalise and this will prevent the QTCOMPONENT error seen in previous notes on this knowledgebase. This is perfectly safe because nothing else is reliant on this exact sequencing. This was an oversight of the vendor because they supply INSTALLDIR BEFORE cost finalise as a commandline option. You could do the same but by doing that you will hard code your installdir to a particular path rather than using dynamic path properties in the MSI such as [ProgramFilesFolder]
5. Place the upgrade code of the previous version into the upgrade table. To obtain this you can uninstall the previous version on a test PC, the upgrade code for this will then show up in the MSI log.
6. Remove the condition NOT ISSETUPDRIVEN from the findrelatedproducts action otherwise the upgrade will not work.
Other things you may want to include :-
----------------------------------------
To preconfigure settings e.g. disable automatic updates. Configure on a test PC, take the file ALL USERS\APPLICATION DATA\APPLE COMPUTER\QUICKTIME\QUICKTIME.QTP and put this file into your package to be installed into the same location.
The quicklaunch and desktop shortcuts can be removed by dropping the relevant rows from the shortcut table.
You can disable the systray icon by modify the DWORD registry entry QTTaskRunFlags to equal 2. This can be found at HKLM\Software\Apple Computer, Inc.\Quicktime\ActiveX. You will have to do this via a deferred custom action late on in the installation rather than via the registry table because one of the custom actions will overwrite your entry to equal 0. The PC will need to be rebooted after installation for this setting to become active because the systray icon is already launched via the custom action that installed it.
To install Quicktime silently after making your changes :-
-------------------------------------------------
Run the following commands:
msiexec /i isscript.msi /qn
msiexec /i quicktime.msi TRANSFORMS="mytransform.mst;1033.mst" /qn
There is a serious 'gotcha' to avoid to deploy this via Group Policy (which is an invaluable method for getting software out in lockdowned domains). The QuickTime.msi will only deploy to machines that are by default a Chinese language unless you use one of these two methods:
Method 1 (The workaround I discovered): When you add the package through Group Policy, you'll have a tab that is titled 'Deployment'. Click that and then click advanced. Check the box that says 'Ignore language when deploying this package.' This is because (as I'll explain in a minute), that Quicktime 7_1_5_120 defaults to the Chinese Language! This workaround will get the program to install okay (really, your systems reject the package because it doesn't believe the Chinese program should install on an English system. I know, it seems contrary to logic since there is an entry in the Property table for 1033 (English language), but unfortunately, that is the case. This is the method I used to get 7_1_3_100 installed on my systems.
Method 2 (A BETTER VERSION): If you open up the QuickTime.msi package through ORCA (DON"T START A TRANSFORM FOR THIS STEP), then immediately click on 'View->Summary Information. (If you have already started a blank transform, you will be unable to edit the package information.) You'll notice the supported languages are something like, 1033,1036,1031,1041,1043,1040,2052,1034,1030,1035,1042,1044,1053,1028. Remove them all but 1033 -- English. Then save the msi overtop of itself (another thing I absolutely hate doing, but it is required this time). This method will cleanly get the English version to install through GP happily. :) I used this method for getting 7_1_5_120 on my systems.
Here is my FULL recipe:
*** Download the standalone version (iTunes-free) ***
http://www.apple.com/quicktime/download/standalone.html
The new QuickTime 7.02 installer is not a Mind Installer any more. Gone is the use of the QuickTimeInstaller.ini file. It is now an InstallShield MSI driven by setup.exe (renamed QuicktimeInstaller.exe). Now many things are set in a binary QuickTime.qtp file instead of the registry. We must use the QuickTime program to write this file.
*** Create custom QuickTime.qtp file ***
-Install QuickTime on a clean machine
**DonÂ’t run QuickTime just yet. **
The nag screen asking you to 'upgrade to QuickTime pro' is launched according to a timestamp *inside* this file. The trick is to fool QuickTime into writing one in the far future.
-Set the system time to 10 years in the future
-Run the application, and hit ' LATER ' on the nag screen.
GOTCHA: If the nag screen doesnÂ’t come up:
-Windows Menu -> PRO Show Movie Properties
-click “Not Now”
-Edit menu -> Preferences -> QuickTime PreferencesÂ… -> Update tab
-Uncheck “Check for updates automatically”
-Click Ok
-Exit QuickTime
-Kill System tray icon (right-click -> Exit)
-Copy C:\Documents and Settings\All Users\Application Data\QuickTime\QuickTime.qtp
-Set the system time to back to normal
*** Extract MSI files ***
-Clean out the TEMP folder (%TEMP%)
-Run QuickTimeInstaller.exe /a
-Select language
-When you have the “Welcome” screen, copy the contents of a folder that contains
J2SE Runtime Environment 5.0 Update 4.msi to staging area.
-Cancel the install from QuickTimeInstaller.exe.exe
*** Create MST file ***
-Create the MST using the MST template inside WPS.
-In Setup Editor:
-Set a Property ISSETUPDRIVEN=1
-Change property INSTALL_DESKTOP_SHORTCUT=FALSE
-In Installation Expert, Set the current Feature to: QuickTimeEssentials
-Import this REG file to get rid of the system tray icon:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\ActiveX]
"QTTaskRunFlags"=dword:00000002
;set to 0 to make it show again
-Add the QuickTime.qtp file to All Users\Application Data\Apple Computer\QuickTime folder
-Save MST file as QT702.MST
NOTE: This will create *2* files:
QT702.MST
QT702_WISETRFM_2.cab <-- This contains the QuickTime.qtp file
*** Installation Command lines ***
msiexec /i ISScript11.Msi /qb
msiexec /i QuickTime.msi TRANSFORMS="%~DP01033.mst;%~DP0QT702.MST" /QR
The important part is the /QR
Using /QF instead will work too.
*GOTCHA: If you use a /QB or a /QN you will get this error.
“Error 1606.Could not access network location QTcomponents\.”
This is because the /QB and /QN switch suppresses the User Interface sequence. In this QT package, the INSTALLDIR property is set during this User Interface sequence.
The “ISSETUPDRIVEN=1” part is omitted because it is inside the QT702.MST file
===========================================================
NOTE#1: The reg fix to get rid of the system tray icon does not seem to work inside the transform due to some race condition. The workaround it to have a VBS script plug the registry *AFTER* MSI is done installing QuickTime. I had to add a “Call VBS from Embedded Code” Custom Action after “InstallFinallize” in the “Execute Immediate” Sequence:
Dim WSHShell
Set WSHShell = CreateObject("WScript.Shell")
Sleep(5) 'let MSI finish the install
WshShell.RegWrite "HKLM\SOFTWARE\Apple Computer, Inc.\QuickTime\ActiveX\QTTaskRunFlags", 2, "REG_DWORD"
'set to 0 to make it show again
Sub Sleep(ByVal iSleepPeriod)
'Note: Timer returns the number of seconds that have elapsed since midnight.
'Thank you Kramer http://community.installshield.com/showthread.php?t=132565
Dim iStartTime, iEndTime, iCurrentTime
On Error Resume Next
iStartTime = Timer
iEndTime = iStartTime + iSleepPeriod
Do While Timer <= iEndTime
Loop
End Sub
Also had to set “Processing” to “Asynch, No wait”
NOTE#2: How to turn off the “Hot Picks” upon launch
-Edit menu -> Preferences -> Player PreferencesÂ…
-Uncheck “Show Content Guide at start up”
(This prevents QT from calling Apple for ads upon each launch)
-Click Ok
This is stored in C:\Documents and Settings\<current user>\Application Data\Apple Computer\QuickTime\QTPlayerSession.xml
*** Testing ***
http://www.apple.com/trailers/
Sept 2005
Version 7.1.3 silent setup
Without desktop icon and AppleSoftwareUpdate. Product Language is 1033, without it installer use settings from regional settings.
msiexec /i QuickTime.msi ALLUSERS=1 REGSRCH_INSTALL_ASU=0 DESKTOP_SHORTCUTS=0 ProductLanguage=1033 /qn
Deploying Quicktime 7.5 Silently
* Launch QuickTimeInstaller.exe, and wait for the fist user input screen.
* Copy the complete MSI file from %TEMP%\something. Just search for QuickTime.MSI. Copy this to a clean directory somewhere else.
* Use your favorite MSI editor (mine's ORCA, from the MS Office Support Tools) to create the MST file.
Change these values...
Property - QT_TRAY_ICON = 0
- DESKTOP_SHORTCUTS = 0
- SCHEDULE_ASUW =
- AdminProperties, remove - DESKTOP_SHORTCUT, QT_TRAY_ICON, SCHEDULE_ASUW
- SecureCustomProperties, remove - ASUWINSTALLED, SCHEDULE_ASUW, REGSRCH_QT_TRAY_ICON
CheckBox - ChkOptInstASU = 0
* Save the MST, then install by running "msiexec /i QuickTime.msi TRANSFORMS=Qucktime.mst /qn"
You can log the installation by adding the "/log C:\temp\quicktime.log" to the end of the msiexec command. There will be an error "The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2769. The arguments are: AddDesktopShortcuts, 1", disregard.
Happy deploying!!
The 7.2 installer downloadable from here allows the following command to install it silently in the default directory:
QuickTimeInstaller.exe /qn
I have not investigated fully, but I believe that most msiexec flags work well as options for this installer. In addition, there is a problem with version 7.2 that does not allow the default settings to be changed, and I do not know of a solution.
I have been distributing quicktime via group policy using tips that have been posted above. However today when I tried using my normal method to distribute quicktime 7.3 via group policy, it stopped working and I was getting this in the application event log:
Event Type: Error
Event Source: MsiInstaller
Event Category: None
Event ID: 10005
Date: 11/6/2007
Time: 9:19:04 AM
User: NT AUTHORITY\SYSTEM
Computer: test
Description:
Product: QuickTime -- A newer version of QuickTime is already installed. This installation cannot proceed while the newer version of QuickTime is installed.
This error started coming up if a previous version of quick time was installed or even if it was none installed and there certainly was not a newer version installed. To fix this problem I used orca and created a transform that removed the row with condition:
"NOT BNEWERPRODUCTISINSTALLED"
from the LaunchCondition table. I'm not sure if this was a good idea or not, but it seems to have fixed the problem for me.
QuickTime 7.5
Sabbat's instructions above worked for me, except they didn't get rid of the tray icon. In order to remove it, remove the qttask.exe line from the Component, FeatureComponents, and File tables when building your transform.
I have downloaded the package from Apple's homepage. QuictimeInstaller.exe ver. 7.0 Pre 2
Works fine with the /s /v /qn switches.
The strange thing is where it keeps the changes in preferences. It does not write it in Registry but keeps the changes in a file called QuickTime.qtp located under
C:\Documents and Settings\All Users\Application Data\Apple Computer\QuickTime.
Full version just came out and I looked it over.
Apple dropped the ball on this one. The msi file cannot be run without the setup.exe file. Also when trying to get a transform to work in installshield I get about many errors.
Standard command line switches did work though.
The ISSETUPDRIVEN trick works for me without a restart.
To get rid of the tray icon and prevent the autoupdates, I set up the preferences on a reference machine, then copied
C:\Documents and Settings\all users\Application Data\QuickTime\QuickTime.qtp
to the target machine.
I deploy this registry setting too..
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\ActiveX]
"QTTaskRunFlags"=dword:00000002
Deploy Quicktime 7.0.2 using Group Policy:
1. Run "QuickTimeInstaller.exe /a" and the GUI will allow you to pick your Network Distribution Point.
2. Run "QuickTimeInstaller.exe" without "/a" and click OK at the language setup. Quicktime will unpack a bunch of files, at the "Welcome to the QuickTime 7 Installer" screen STOP. Get the following file "C:\Documents and Settings\<username>\Local Settings\Temp\_isxx\ISScript11.Msi" and copy this to your Network Distribution Point as well. Click "Cancel" after copying the file, you don't want to install QT7.
3. !!IMPORTANT!! Open the Quicktime.msi using an MSI Editor and make the following two changes:
i.)Table - Property: Add New Entry - ISSETUPDRIVEN = 1
ii.)Table - InstallExecuteSequence: SetQTComponent - change value from 787 to 1005
http://www.appdeploy.com/messageboards/tm.asp?m=12093&mpage=1&key=ㄫ
This will resolve an installation error 1606 that will cause your installation to fail through Group Policy.
4. Create a GPO and link the ISScript11.msi and QuickTime.msi. They need to be installed in that order. You can further customize your installation to the degree that you prefer, there is a bunch of useful information in this KB to help you with that process.
I actually had a somewhat easier time than all of this:
First, I downloaded the full installer from Apple. I ran the file and grabbed quicktime.msi from %temp%. I then set a group policy to install using the msi and added the command parameter "issetupdriven=1" without the quotes to the policy. It takes care of the rest. For any future quicktime updates, its simply a matter of switching the msi files and selecting "redeploy application" in group policy.
I'm trying to do QuickTime Only, and was able to use the easy method. Stop at the Welcome to QuickTime screen and grab the Quicktime.msi out of the %temp% folder. I got it to work by creating a shortcut with the "ISSETUPDRIVEN=1" option in the shortcut.
I found that the Mozilla/Netscape plugins are not contained in the MSI installation. You will have to use the Installer, to get these. You can, however, use transforms created for the
MSI via the Installer command line:
QuickTimeInstaller.exe /S /v"/qr TRANSFORMS=custom.mst"
*** Create a MST for QuickTime 7.x.
Works with all 7.x versions until now (7.03) and can be used in a GPO.
The recipe:
--- Start the downloaded installer, in the %TEMP% directory you can find the files needed, in a subdirectory with the name '_is48' or something alike ---
--- Or create a Admin Install (QuickTimeInstaller.exe /a) and extract the InstallShield Script Engine (IsScript11.msi) as described on this page: http://appdeploy.com/packages/detail.asp?id=520 ---
1) Make a backup copy of the original QuickTime.msi file as example I use: QuickTime_ORCA.msi.
2) Open QuickTime_ORCA.msi in Orca, you can change (you can use 1/0 instead of YES/NO):
Note: This file comes with the Microsoft Platform SDK.
You can change the following propertys:
* In the Table row (left screen) click on the 'Property' table.
ISSETUPDRIVEN = 1, you have to create this property (Default=0).
INSTALL_DESKTOP_SHORTCUT = FALSE (Default=TRUE).
* In the 'InstallExecuteSequence' table.
SetQTCOMPONENTS = 1005, You have to set this one to avoid "Error 1606. Could not access network location QTcomponents\." in GPO distribution (or use /qr or /qf instead of/qb! in the commandline)! Reason: in this package, the INSTALLDIR property is set during this User Interface sequence. (Default=787).
3) Create the FINAL Transforms file (MST): "QuickTime.mst"
Note: This file comes with the Microsoft Platform SDK.
Run the executable MsiTran.exe.
MsiTran.exe -g "[PathTo]/QuickTime.msi" "[PathTo]/QuickTime_ORCA.msi" "[PathTo]/QuickTime_ORCA.mst"
4) Now you can apply the transform on the command line as follows:
MsiExec.exe /i QuickTime.msi TRANSFORMS="QuickTime.mst" /qb!
Or it can be applied through the modification tab in the Group Policy using Active Directory.
--- Work around for v7.0.4 "Error 1606. Could not access network location QuickTime\." with Admin Install (QuickTimeInstaller.exe /a). ---
0-1) Start the downloaded installer, in the %TEMP% directory you can find the files needed, in a subdirectory with the name '_is48' or something alike ---
Make a backup copy of the original QuickTime.msi file as example I use: QuickTime_ORCA.msi.
0-2) To apply your language run the executable MsiTran.exe.
Note: This file comes with the Microsoft Platform SDK.
MsiTran.exe -a "[YourLanguage].mst" "[PathTo]/QuickTime_ORCA.msi"
0-3) To apply your old mst using MsiTran.exe.
Note: This file comes with the Microsoft Platform SDK.
MsiTran.exe -a "[YourPrevious].mst" "[PathTo]/QuickTime_ORCA.msi"
0-4) Create the FINAL Transforms file (MST): "QuickTime.mst"
Note: This file comes with the Microsoft Platform SDK.
Run the executable MsiTran.exe.
MsiTran.exe -g "[PathTo]/QuickTime.msi" "[PathTo]/QuickTime_ORCA.msi" "[PathTo]/QuickTime_ORCA.mst"
--- Update: Do NOT distribute InstallShield Script Engines (IsScript11.msi) using an GPO!
2 Reasons:
1) There NOT backward compatible!
2) The version detected by de GPO is the same for ALL versions, ie. ALL version will be installed in the SAME directory overwriting eachother!
I foud this oue out because I needed version 10 and could NOT install it...
Here you can find ALL(?) the InstallShield Installations http://consumer.installshield.com/kb.asp?id=Q108322
*** Notes ***
Most propertys discussed can be given in the commandline, like:
MsiExec.exe /i ....msi OPTION=...
Orca.exe is a FREE database table editor for creating and editing Windows Installer packages and merge modules.
See: http://msdn.microsoft.com/library/en-us/msi/setup/orca_exe.asp
MsiTran.exe is a FREE tool to generate or apply a transform file.
See: http://msdn.microsoft.com/library/en-us/msi/setup/msitran_exe.asp
MsiTran.exe will be installed in: "C:\Program Files\Microsoft Platform SDK\Bin".
ORCA and MsiTran Notes:
- ORCA and MsiTran come with the Microsoft Platform SDK.
See: http://www.microsoft.com/msdownload/platformsdk/sdkupdate / http://msdn.microsoft.com/library/en-us/msi/setup/platform_sdk_components_for_windows_installer_developers.asp
- Orca.msi, MsiTran.exe and others will be installed in: "C:\Program Files\Microsoft Platform SDK\Bin".
- Instead of the the executable MsiTran.exe you could use the new 'Gen.vbs' ~ Create this vbs as described in the Platform SDK help file ~. But, as far as I tried it, it didn't work!
To install the plugins, script component, activex control and the (default) file types, you can use the follwing commands via Custom Actions:
Set default file types and browser plugins (including nsIQTScriptablePlugin.xpt for Mozilla based browsers:
rundll32 QTInstallCode.dll,QuickTimePostInstallProc
So far, i haven't found a way to do this silently. Therefore, i use sleep and taskkill to kill this rundll-process after 30 seconds. No beauty, but it works.
Delete all file types:
rundll32 QuickTime.cpl,UninstallFileTypes
Delete browser plugins:
rundll32 QTInstallCode.dll,QuickTimeUnInstallProc
QTInstallCode.dll lies in the msifile in the table ISSetupFile, it's extracted automatically each time, when the msi is called. The Property SUPPORTDIR points to the directory, where this setup helpers are copied to. Alternatively you can it install as a regular file and call it from there.
With this, i was able to make a silent installer, that does everything i need.
When you add some entries to the Registry table of this MSI, such as the flag to hide the system tray icon, it isn't installed into the target machine's registry. This seems to be due to the Custom Action: QTPluginInstaller_QTInstallProc. It seems that this clears out certain parts of the registry, I assume to remove registry entries created by previous versions of Quicktime.
Resequencing this CustomAction in the InstallExecuteSequence table allows registry entries entered in the Registry table to be created. I sequenced it at 4990, so it's before WriteRegistryValues.
Convert To Basic MSI for Active Directory Deployment
-----------------------------------------------------
Using WinRAR open the "QuickTimeInstaller.exe" standalone installer downloaded from the QuickTime website. In here you will extract a sub "QuickTimeInstaller.exe". Using Installshield Repackager you will begin to capture this installation, which basically runs 2 msi(ISScript11.msi & QuickTime.MSI). Installshield Repackager will recognise the installer is running an InstallShield MSI and will ask if you want to convert it to a Basic MSI. You will proceed to click next, next, next, finish and will be left with a basic msi. You will still need to modify the MSI SetQTComponent as noted above to deploy through Active Directory. By extacting a basicMSI you will no longer need to deploy the installshield script engine.
The script engine had caused us many problems in our environment, we had many program installations bomb because to InstallShield Script Engine errors. If you experience this problem right click the ISScript11.MSI and choose uninstall. Add/Remove programs does not get rid of it!
Definitive step-by-step guide with no need for repackaging:
Download the standalone installer from the apple site
Extract the larger version of QuickTimeInstaller.exe using WinRAR or similar
Use the command-line switches QuickTimeInstaller.exe /S /V /qr
I'm using this sequence to install on my machines during shutdown (with some extra tweaks to delete the desktop, quick launch and system tray icons and suppress the "upgrade to QT pro" message, as detailed in other people's posts)
Full VBS below:
On Error Resume Next
Dim WshShell, oExec, oFS
Set WshShell = CreateObject("WScript.Shell")
Set oFS = CreateObject("Scripting.FileSystemObject")
ScriptVer = 1
LocalVer = WshShell.RegRead("HKLM\Software\Gazeley\Scripts\" & ScriptName)
If ScriptVer > LocalVer Then
InstallerFileSource = "\\<domain>\DFS\Apps\Quicktime\7.0.4\QuickTimeInstaller.exe"
InstallerFile = "C:\QuickTimeInstaller.exe"
oFS.CopyFile InstallerFileSource, InstallerFile
Set oExec = WshShell.Exec(InstallerFile & " /S /V /qr")
Do While oExec.Status = 0
WScript.Sleep 500
Loop
oFS.DeleteFile InstallerFile
oFSTarget = "C:\Program Files\QuickTime\QuickTimePlayer.exe"
If oFS.FileExists(oFSTarget) = TRUE Then
oFSTargetVer = split(oFS.GetFileVersion(oFSTarget), ".", -1, 1)
If cLng(oFSTargetVer(0)) = 7 And cLng(oFSTargetVer(1)) = 0 And cLng(oFSTargetVer(2)) = 4 Then
WshShell.RegWrite "HKLM\Software\<company>\Scripts\" & ScriptName, ScriptVer, "REG_DWORD"
WshShell.RegWrite "HKLM\SOFTWARE\Apple Computer, Inc.\QuickTime\ActiveX\QTTaskRunFlags", 2, "REG_DWORD"
oFS.DeleteFile "C:\Documents and Settings\All Users\Desktop\QuickTime Player.lnk"
oFS.DeleteFile wshShell.ExpandEnvironmentStrings("%userprofile%") & "\Application Data\Internet Explorer\Quick Launch\QuickTime Player.lnk"
PrefFileSource "\\<domain>\DFS\Apps\Quicktime\QuickTime.qtp"
PrefFile = "C:\Documents and Settings\All Users\Application Data\Apple Computer\QuickTime\QuickTime.qtp"
End If
End If
End If
Note: This only works if the local logged in user is a member of the administrators group. The extracted setup has a problem installing using a true system account with no local profile.
For some reason we had a problem using Zenworks and deploying this MSI with a simple AO object (we don't use the Zenworks MSI AO). Shortcuts were not created and the application would not uninstall among some other unexplained oddities. Also we wanted this new version to do its job and upgrade the old existing version.
This Zenworks simple AO pre distributes two files: The Quicktime.qtp preferences file and a reg file containing reg entries to kill the taskbar Icon etc.
Here is the batch file we run using a simple AO:
;run the quicktime setup
start /wait \\servername\distrib folder\applequicktime704\quicktimeinstaller.exe /s /v /qb
;add modified registry entries
start /wait regedit /S C:\Windows\Temp\quicktime.reg
;delete unneeded links
del "C:\Documents and Settings\All Users\Desktop\Quicktime Player.lnk"
del "C:\Documents and Settings\All Users\Start Menu\Programs\QuickTime\About Quicktime.lnk"
del "C:\Documents and Settings\%username%\Application Data\Microsoft\Internet Explorer\Quick Launch\Quicktime Player.lnk"
;kill taskbar process
ntsd -pn qttask.exe -c "q"
;delete taskbar executable
del "C:\Program Files\Quicktime\qttask.exe"
I use the following batch file script for Quicktime 7.1. To obtain QT 7.1 I had to download the entire iTunes package, decompress it to obtain the Quicktime installer, then decompress that and you're a go.
REM --------------------------
REM Installing Apple Quicktime
REM --------------------------
@echo off
msiexec /i "ISScript11.Msi" /q
msiexec /i "QuickTime.msi" /t 1033.MST ISSETUPDRIVEN=1
DEL /Q "C:\Documents and Settings\%USERNAME%\Desktop\QuickTime Player.LNK"
REGEDIT /S qt.reg
CLS
@echo on
The contents of the registry file are as follows...
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.]
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime]
"ProgramFolder"="QuickTime"
"InstallDir"="C:\\Program Files\\QuickTime\\"
"Version"=dword:07108000
"InstallState"=hex:00,00,00,00
"QuickTime.qts folder"="C:\\Program Files\\QuickTime\\QTSystem\\"
"QTExtDir"="C:\\Program Files\\QuickTime\\QTSystem\\"
"QTSysDir"="C:\\Program Files\\QuickTime\\QTSystem\\"
"QTComponentsDir"="C:\\Program Files\\QuickTime\\QTComponents\\"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\ActiveX]
"UpdateXNow"=dword:00000001
"AlwaysReclaimAssocations"=dword:00000000
"QTVersion"=dword:07000000
"QTTask"="C:\\Program Files\\QuickTime\\qttask.exe"
"QTTaskRunFlags"=dword:00000002
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\ActiveX\Installed MIME Types]
"video/quicktime"="mov,qt,mqv"
"image/x-macpaint"="pntg,pnt,mac"
"image/x-quicktime"="qtif,qti"
"application/sdp"="sdp"
"application/x-sdp"="sdp"
"application/x-rtsp"="rtsp,rts"
"video/flc"="flc,fli,cel"
"audio/x-wav"="wav,bwf"
"audio/wav"="wav,bwf"
"audio/aiff"="aiff,aif,aifc,cdda"
"audio/x-aiff"="aiff,aif,aifc,cdda"
"audio/basic"="au,snd,ulw"
"audio/mid"="mid,midi,smf,kar"
"audio/x-midi"="mid,midi,smf,kar"
"audio/midi"="mid,midi,smf,kar"
"audio/vnd.qcelp"="qcp"
"audio/AMR"="AMR"
"audio/x-gsm"="gsm"
"audio/aac"="aac,adts"
"audio/x-aac"="aac,adts"
"audio/x-caf"="caf"
"video/x-mpeg"="mpeg,mpg,m1s,m1v,m1a,m75,m15,mp2,mpm,mpv,mpa"
"video/mpeg"="mpeg,mpg,m1s,m1v,m1a,m75,m15,mp2,mpm,mpv,mpa"
"video/3gpp"="3gp,3gpp"
"audio/3gpp"="3gp,3gpp"
"video/3gpp2"="3g2,3gp2"
"audio/3gpp2"="3g2,3gp2"
"audio/x-m4a"="m4a"
"audio/x-m4p"="m4p"
"audio/x-m4b"="m4b"
"video/x-m4v"="m4v"
"video/sd-video"="sdv"
"application/x-mpeg"="amc"
"audio/mpeg"="mpeg,mpg,m1s,m1a,mp2,mpm,mpa,m2a"
"audio/x-mpeg"="mpeg,mpg,m1s,m1a,mp2,mpm,mpa,m2a"
"video/mp4"="mp4"
"audio/mp4"="mp4"
"image/pict"="pict,pic,pct"
"image/x-pict"="pict,pic,pct"
"image/png"="png"
"image/x-png"="png"
"image/x-sgi"="sgi,rgb"
"image/x-targa"="targa,tga"
"image/tiff"="tif,tiff"
"image/x-tiff"="tif,tiff"
"image/jp2"="jp2"
"image/jpeg2000"="jp2"
"image/jpeg2000-image"="jp2"
"image/x-jpeg2000-image"="jp2"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Favorite Movies]
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed File Types]
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed File Types\3g2,3gp2]
"componentType"=dword:65617420
"componentSubType"=dword:33473220
"componentManufacturer"=dword:00000000
"doNotOverrideExistingApp"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed File Types\3gp,3gpp]
"componentType"=dword:65617420
"componentSubType"=dword:33475020
"componentManufacturer"=dword:00000000
"doNotOverrideExistingApp"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed File Types\aac,adts]
"componentType"=dword:65617420
"componentSubType"=dword:61647473
"componentManufacturer"=dword:736f756e
"doNotOverrideExistingApp"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed File Types\aiff,aif,aifc,cdda]
"componentType"=dword:65617420
"componentSubType"=dword:41494646
"componentManufacturer"=dword:736f756e
"doNotOverrideExistingApp"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed File Types\amc]
"componentType"=dword:65617420
"componentSubType"=dword:414d4320
"componentManufacturer"=dword:00000000
"doNotOverrideExistingApp"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed File Types\caf]
"componentType"=dword:65617420
"componentSubType"=dword:63616666
"componentManufacturer"=dword:736f756e
"doNotOverrideExistingApp"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed File Types\dv,dif]
"componentType"=dword:65617420
"componentSubType"=dword:64766321
"componentManufacturer"=dword:00000000
"doNotOverrideExistingApp"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed File Types\mov,qt]
"componentType"=dword:65617420
"componentSubType"=dword:6d6f6f76
"componentManufacturer"=dword:00000000
"doNotOverrideExistingApp"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed File Types\mov,qt,mqv]
"componentType"=dword:65617420
"componentSubType"=dword:6d6f6f76
"componentManufacturer"=dword:00000000
"doNotOverrideExistingApp"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed File Types\mp4]
"componentType"=dword:65617420
"componentSubType"=dword:6d706734
"componentManufacturer"=dword:00000000
"doNotOverrideExistingApp"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed File Types\pict,pic,pct]
"componentType"=dword:67726970
"componentSubType"=dword:50494354
"componentManufacturer"=dword:6170706c
"doNotOverrideExistingApp"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed File Types\pntg,pnt,mac]
"componentType"=dword:67726970
"componentSubType"=dword:504e5447
"componentManufacturer"=dword:6170706c
"doNotOverrideExistingApp"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed File Types\qht,qhtm]
"componentType"=dword:65617420
"componentSubType"=dword:7168746d
"componentManufacturer"=dword:6170706c
"doNotOverrideExistingApp"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed File Types\qtif,qti]
"componentType"=dword:67726970
"componentSubType"=dword:71746966
"componentManufacturer"=dword:6170706c
"doNotOverrideExistingApp"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed File Types\qtl]
"componentType"=dword:65617420
"componentSubType"=dword:6d6f6f76
"componentManufacturer"=dword:00000000
"doNotOverrideExistingApp"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed File Types\qup]
"componentType"=dword:61626364
"componentSubType"=dword:78797a20
"componentManufacturer"=dword:6170706c
"doNotOverrideExistingApp"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed File Types\sd2]
"componentType"=dword:65617420
"componentSubType"=dword:53643266
"componentManufacturer"=dword:736f756e
"doNotOverrideExistingApp"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed Files]
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed Files\ir50_32.qtx]
"Full Path"="C:\\WINDOWS\\system32\\ir50_32.qtx"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed Files\ir50_qc.dll]
"Full Path"="C:\\WINDOWS\\system32\\ir50_qc.dll"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed Files\ir50_qcx.dll]
"Full Path"="C:\\WINDOWS\\system32\\ir50_qcx.dll"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed Files\QTPlugin.ocx]
"Full Path"="C:\\Program Files\\QuickTime\\QTPlugin.ocx"
"Uninstall Action"=dword:776f6378
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed Files\QuickTimeCheck.OCX]
"Full Path"="C:\\Program Files\\QuickTime\\QTSystem\\QuickTimeCheck.ocx"
"Uninstall Action"=dword:776f6378
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed MIME Types]
"video/quicktime"="mov,qt,mqv"
"image/x-macpaint"="pntg,pnt,mac"
"image/x-quicktime"="qtif,qti"
"application/sdp"="sdp"
"application/x-sdp"="sdp"
"application/x-rtsp"="rtsp,rts"
"video/flc"="flc,fli,cel"
"audio/x-wav"="wav,bwf"
"audio/wav"="wav,bwf"
"audio/aiff"="aiff,aif,aifc,cdda"
"audio/x-aiff"="aiff,aif,aifc,cdda"
"audio/basic"="au,snd,ulw"
"audio/mid"="mid,midi,smf,kar"
"audio/x-midi"="mid,midi,smf,kar"
"audio/midi"="mid,midi,smf,kar"
"audio/vnd.qcelp"="qcp"
"audio/AMR"="AMR"
"audio/x-gsm"="gsm"
"audio/aac"="aac,adts"
"audio/x-aac"="aac,adts"
"audio/x-caf"="caf"
"video/x-mpeg"="mpeg,mpg,m1s,m1v,m1a,m75,m15,mp2,mpm,mpv,mpa"
"video/mpeg"="mpeg,mpg,m1s,m1v,m1a,m75,m15,mp2,mpm,mpv,mpa"
"video/3gpp"="3gp,3gpp"
"audio/3gpp"="3gp,3gpp"
"video/3gpp2"="3g2,3gp2"
"audio/3gpp2"="3g2,3gp2"
"audio/x-m4a"="m4a"
"audio/x-m4p"="m4p"
"audio/x-m4b"="m4b"
"video/x-m4v"="m4v"
"video/sd-video"="sdv"
"application/x-mpeg"="amc"
"audio/mpeg"="mpeg,mpg,m1s,m1a,mp2,mpm,mpa,m2a"
"audio/x-mpeg"="mpeg,mpg,m1s,m1a,mp2,mpm,mpa,m2a"
"video/mp4"="mp4"
"audio/mp4"="mp4"
"image/pict"="pict,pic,pct"
"image/x-pict"="pict,pic,pct"
"image/png"="png"
"image/x-png"="png"
"image/x-sgi"="sgi,rgb"
"image/x-targa"="targa,tga"
"image/tiff"="tif,tiff"
"image/x-tiff"="tif,tiff"
"image/jp2"="jp2"
"image/jpeg2000"="jp2"
"image/jpeg2000-image"="jp2"
"image/x-jpeg2000-image"="jp2"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Installed Plugins]
"DeferredMutexName"="QTMLDeferredPluginUpdateMutex"
"Names"="npqtplugin.dll||npqtplugin2.dll||npqtplugin3.dll||npqtplugin4.dll||npqtplugin5.dll||npqtplugin6.dll||npqtplugin7.dll"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\LocalUserPreferences]
"FolderPath"="C:\\Documents and Settings\\All Users\\Application Data\\Apple Computer\\QuickTime\\"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\QuickTimeUpdateInProgress]
"QuickTimeUpdateCompletion"="0"
@="0"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Recent Movies]
"content_guide_6_12_2006.mov"="1,http://a654.g.akamai.net/f/654/39/5m/qtpix.apple.com/qtpix/current/content_guide_6_12_2006.mov?T1=2904&T2=2882&T3=2903&T4=2876&T5=2854&T6=2867&T7=2837&T8=2869&T9=2820&"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Registry Backup]
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Registry Backup\Content Type]
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Registry Backup\Content Type\audio/aiff]
"CLSID"="{cd3afa72-b84f-48f0-9393-7edc34128127}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Registry Backup\Content Type\audio/basic]
"CLSID"="{cd3afa73-b84f-48f0-9393-7edc34128127}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Registry Backup\Content Type\audio/mid]
"CLSID"="{cd3afa74-b84f-48f0-9393-7edc34128127}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Registry Backup\Content Type\audio/midi]
"CLSID"="{cd3afa74-b84f-48f0-9393-7edc34128127}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Registry Backup\Content Type\audio/mpeg]
"CLSID"="{cd3afa76-b84f-48f0-9393-7edc34128127}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Registry Backup\Content Type\audio/wav]
"CLSID"="{cd3afa7b-b84f-48f0-9393-7edc34128127}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Registry Backup\Content Type\audio/x-aiff]
"CLSID"="{cd3afa72-b84f-48f0-9393-7edc34128127}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Registry Backup\Content Type\audio/x-midi]
"CLSID"="{cd3afa74-b84f-48f0-9393-7edc34128127}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Registry Backup\Content Type\audio/x-mpeg]
"CLSID"="{cd3afa76-b84f-48f0-9393-7edc34128127}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Registry Backup\Content Type\audio/x-wav]
"CLSID"="{cd3afa7b-b84f-48f0-9393-7edc34128127}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Registry Backup\Content Type\video/mpeg]
"CLSID"="{cd3afa89-b84f-48f0-9393-7edc34128127}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Registry Backup\Content Type\video/x-mpeg]
"CLSID"="{cd3afa89-b84f-48f0-9393-7edc34128127}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Registry Backup\EmbedExtnToClsidMappings]
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Registry Backup\EmbedExtnToClsidMappings\.aif]
"MIMETypeCount"=dword:00000001
@="clsid:05589fa1-c356-11ce-bf01-00aa0055595a"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Registry Backup\EmbedExtnToClsidMappings\.aifc]
"MIMETypeCount"=dword:00000001
@="clsid:05589fa1-c356-11ce-bf01-00aa0055595a"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Registry Backup\EmbedExtnToClsidMappings\.aiff]
"MIMETypeCount"=dword:00000001
@="clsid:05589fa1-c356-11ce-bf01-00aa0055595a"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Registry Backup\EmbedExtnToClsidMappings\.au]
"MIMETypeCount"=dword:00000001
@="clsid:05589fa1-c356-11ce-bf01-00aa0055595a"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Registry Backup\EmbedExtnToClsidMappings\.m1v]
"MIMETypeCount"=dword:00000001
@="clsid:05589fa1-c356-11ce-bf01-00aa0055595a"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Registry Backup\EmbedExtnToClsidMappings\.mid]
"MIMETypeCount"=dword:00000001
@="clsid:05589fa1-c356-11ce-bf01-00aa0055595a"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Registry Backup\EmbedExtnToClsidMappings\.midi]
"MIMETypeCount"=dword:00000001
@="clsid:05589fa1-c356-11ce-bf01-00aa0055595a"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Registry Backup\EmbedExtnToClsidMappings\.mp2]
"MIMETypeCount"=dword:00000001
@="clsid:05589fa1-c356-11ce-bf01-00aa0055595a"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Registry Backup\EmbedExtnToClsidMappings\.mpa]
"MIMETypeCount"=dword:00000001
@="clsid:05589fa1-c356-11ce-bf01-00aa0055595a"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Registry Backup\EmbedExtnToClsidMappings\.mpeg]
"MIMETypeCount"=dword:00000001
@="clsid:05589fa1-c356-11ce-bf01-00aa0055595a"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Registry Backup\EmbedExtnToClsidMappings\.mpg]
"MIMETypeCount"=dword:00000001
@="clsid:05589fa1-c356-11ce-bf01-00aa0055595a"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Registry Backup\EmbedExtnToClsidMappings\.snd]
"MIMETypeCount"=dword:00000001
@="clsid:05589fa1-c356-11ce-bf01-00aa0055595a"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Registry Backup\EmbedExtnToClsidMappings\.wav]
"MIMETypeCount"=dword:00000001
@="clsid:05589fa1-c356-11ce-bf01-00aa0055595a"
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\Registry Backup\Media]
"video/quicktime"=hex:00
"image/x-macpaint"=hex:00
"image/x-quicktime"=hex:00
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\SystemPreferences]
"FolderPath"="C:\\Documents and Settings\\All Users\\Application Data\\Apple Computer\\QuickTime\\"
The standalone player setup executable can be downloaded here: QuickTimeInstaller.exe – 21MB – QuickTime version 7.1.0.210
Run this and stop at the ‘Select Setup Language’ screen.
Browse to C:\Documents and Settings\<username>\Local Settings\Temp\{A7453632-F549-4DF9-979C-6B2689B4E920}
Take a copy of QuickTimeInstaller.exe – 33.5MB – hide it somewhere safe for later. We’ll refer to this file as THE QuickTimeInstaller.
Click ‘OK’ at the ‘Choose Setup Language’ screen and stop at the ‘Welcome to the QuickTime 7 Installer’ screen.
Browse to C:\Documents and Settings\<username>\Local Settings\TempLook for a folder named Â’_is*Â’ - where * is a random letter or number.
From within this folder take a copy of ‘QuickTime.msi’ and save it along with THE QuickTimeInstaller.
Carry on through the application installation selecting all defaults and click ‘No Thanks’ to upgrading to QuickTime 7 Pro.
Run QuickTime Player. Select Edit, Preferences, QuickTime Preferences.
On the Update tab, deselect ‘Check for updates automatically’.
On the Advanced tab, deselect ‘Install QuickTime icon in system tray’ – that’s the notification area for you younger models…
Click ‘Apply’ then click ‘OK’ – that’s for you older models…
Close the application.
Browse to C:\Documents and Settings\All Users\Application Data\Apple Computer\QuickTime\ and copy the file ‘QuickTime.qtp’ to your safe area.
Create your mst transform to modify the Â’QuickTime.msiÂ’ file as you see fitÂ…
IÂ’d do this:
• Set the following Public Properties: ALLUSERS=1, ROOTDRIVE=C:\, INSTALL_DESKTOP_SHORTCUT=FALSE
• Delete erroneous shortcuts – rename remaining shortcuts to ‘QuickTime Player 7.1’ and ‘QuickTime Player 7.1 PictureViewer’
• Locate the saved ‘QuickTime.qtp’ – add to
Windows\Profiles\All Users\Application Data\Apple Computer\Quicktime• Custom Action ‘RunNTSD’ – Execute Program from Destination [SystemFolder] – kills QTTask.exe (system tray icon)
ntsd.exe -pn qttask.exe -c "q"
• Custom Action ‘setQTTaskRunFlags’ – Call VB script from Embedded Code – disables the QuickTime system tray icon
1. Dim objShell
2. Set objShell = CreateObject("WScript.Shell")
3. objShell. RegWrite"HKLM\Software\Apple Computer, Inc.\QuickTime\ActiveX\QTTAskRunFlags", "00000002", "REG_DWORD"
The Custom Actions reside after the ‘QuickTimePlayer_RegServer’ Custom Action and are wrapped inside an ‘IF Not Installed then’ statement – Execute Deferred, system context – processing Synchronous.
Here comes the science bitÂ…
Create a new wsi project file.
Add the following files to C:\Temp\QT71
• QuickTime.mst – the Transform you just made…
• QuickTime 7.1_WISETRFM_2.cab – the cabinet file that contains the added qtp file
• THE QuickTimeInstaller exe
Add a Remove Files Operation to the QT71 folder – remove all files on uninstall.
Add a Custom Action ‘InstQT71’ – Execute Program from Installed Files – Execute Deferred prior to InstallFinalize – processing Async no wait.
Browse to QuickTimeInstaller.exe and add the command line argument:
/s /b"C:\Temp\QT71" /verbose"C:\Temp\QT71\QT71.log" /v"TRANSFORMS=C:\Temp\QT71\QuickTime.mst /qr"
• /s – silent install
• /b”C:\Temp\QT71” – extract ‘QuickTime.msi’ to this location – not some randomly named folder – if you don’t specify this the install will fail (unable to locate cab file)
• /verbose”C:\Temp\QT71\QT71.log” – MSI log file location
• /v – pass command line parameters to msiexec
• “TRANSFORMS=C:\Temp\QT71\QuickTime.mst /qr" – apply the Transform, silent install – the whole line has to be in double-quotes, I didn’t try adding additional quotes around the mst path – that’s why I haven’t used long file names – honest…
Wrap the Custom Action inside an ‘If Not Installed then’ statement.
Compile… we’ll call this ‘QuickTime Player 7.1.msi’.
Note: that the Temp\QT71 folder will be used by THE QuickTimeInstaller and so be mindful of your environment (lock down policy) and deployment solution.
Now clean your machine – it’s dirty…
Install ‘QuickTime Player 7.1.msi’ – the three files are installed to C:\Temp\QT71The QuickTimeInstaller will run in silent mode – you’ll see it install ISScript11 and QuickTime itself but only as info boxes on the Taskbar.
Then the Custom Actions in the Transform should kick in – a dos box opens and closes as ntsd.exe kills the system tray icon exe – you’ll see the QuickTime icon in the system tray but it magically disappears as you hover your mouse over it…
This Custom Action isn’t really needed as the system tray icon will not be there after a reboot – but hey…
Uninstalling ‘QuickTime Player 7.1.msi’ removes the three files in C:\Temp\QT71\ and the QuickTime.msi and associated files extracted by THE QuickTime Installer…
BUT QuickTime – the application – is still installed…
Checking the registry, the uninstall string for the InstallShield Product is
C:\PROGRA~1\COMMON~1\INSTAL~1\Driver\11\INTEL3~1\IDriver.exe /M{C21D5524-A970-42FA-AC8A-59B8C7CDCA31} /l1033
Running this completely removes the Product (well, the QuickTime.msi uninstall leaves behind files in the Program Files\QuickTime\plugins folder) but it prompts you to click ‘OK’ to remove the Product.
Adding /uninst to make the uninstall silent leaves file association information in the registry (e.g. HKCR\QuickTime.ext).
Run IDriver.exe /M{C21D5524-A970-42FA-AC8A-59B8C7CDCA31} –r
Click ‘OK’ to remove the Product and click ‘Finish’.
Browse to C:\Windows\ and take a copy of ‘setup.iss’ - rename it to ‘UninstallQT71.iss’ – this is your response file.
We can now run the following to uninstall the Product silently:
C:\PROGRA~1\COMMON~1\INSTAL~1\Driver\11\INTEL3~1\IDriver.exe /M{C21D5524-A970-42FA-AC8A-59B8C7CDCA31} /s /f1"C:\UninstallQT71.iss"
Back in ‘QuickTime Player 7.1.msi’ – that’s our MSI…
Add the Public Property:
IDRIVERPATH=C:\PROGRA~1\COMMON~1\INSTAL~1\Driver\11\INTEL3~1\IDriver.exe
Add a Custom Action ‘UninstQT71’ just after Custom Action ‘InstQT71’ – wrap it inside an ‘If REMOVE~=”ALL” then’ statement.
Execute Program from Path – Property IDRIVERPATH -
Command Line:
/M{C21D5524-A970-42FA-AC8A-59B8C7CDCA31} /s /f1"C:\UninstallQT71.iss"
Deferred Execution system context – processing Async no wait.
IDRIVERPATH – set this as a Public Property because they you can change it from the command line should you wish or need to…
/f1”C:\UninstallQ71.iss” – this sets the path to the response file.
But if this file is added to the ‘QuickTime Player 7.1.msi’ then the file will be removed before the Custom Action is run!
You could add the response file to C:\Temp\QT71\ and then add a Custom Action to copy it to C:\ during install - but I wouldnÂ’t do that thoughÂ…
In fact, I wouldn’t do any of this! I doubt it would work when deployed in a locked down environment but I was bored in my hotel room one night and thought I’d look at an app – for fun…?
What I would like to do however, is drive down to Apple, knock on their front door and tell them that deployment of their application is somewhat convolutedÂ…
Regards,
Al
I downloaded the latest Version 7.15. The Installer contains a msi which can be installed without any parameters. Just use WinRAR or ZIP to unpack the contents of the downloaded file. You'll find the QuickTime.msi which can be installed by msiexec /i QuickTime.msi /qb.
Additional Information:
Same procedure also works for new version 7.16.
Vista Info
We have a mixed environment and need to code for Vista as well as the XP/2000/2003 line. This has been a hoot to say the least. While many of the items listed in the post have been more than helpful (as usual), I have found that what works for XP certainly doesn't work for Vista. For instance, the app data option for XP will throw the files (QTPlayerSession.xml and quicktime.qtp for example) into the roaming folder. That is not where QT looks for player settings. It needs to go in to the local and locallow folders. While creating my MST I ended up using the localappdatafolder and appdatafolder (installshield) folders in order to get the install to do what I wanted for all OSes we use. Good thing the files are small as I needed to put both files in both folders to get the settings to work properly, depending on the OS.
Unfortunately, QuickTime 7.3 no longer uses the QuickTime.qtp file in the "C:\Documents and Settings\All Users\Application Data\Apple Computer\QuickTime" folder. It creates a new file for each user that logs in, which essentially means we can no longer customise settings for users (particularly in educational or corporate environments).
I've submitted a bug report to Apple in the hope they might address this (I seriously doubt they will, though; there are bugs in Mac OS they've been ignoring for years).
I'm now continuing to deploy 7.1.3 to hundreds of computers because I can at least prevent it from launching hundreds of updaters. Apple, if you read this, you seriously need to fix this problem!
This is how I managed to get Quicktime 7.4.1.14 to deploy to my XP/Vista systems over Group Policy using nothing but Orca and group policy itself. First, I extracted the quicktime.msi from the exe installer, then I had to create a new transform and in the transform I had to remove NOT BNEWERPRODUCTISINSTALLED from the LaunchCondidtion. Then under Property, I set SCHEDULE_ASUW and ASUWISINSTALLED both equal to 0. Then in the group policy when I deployed the package, I took the original MSI, added the transform file .MST, and then under the Deployment tab, I had to go to Advanced and check the box that says, "Ignore language when deploying the package" Otherwise my Vista systems just wouldn't install the package.
Quicktime 7.4.1 :
Environment: Deployment via Group Policy automation. Install with no prompting prior to logon.
Prep:
As you probably know, begin your install of the application, goto your %temp% folder - Find the msi files and copy them to your network folder you plan on distributing this from.
ex.
\\domainname.local\domain-gpo-apps\Quicktime\7.4.1open ORCA and the msi (quicktime.msi)
(Thanks to previous entries on this fix)
goto view... summary and remove all language codes except for 1033 (english)
Open (flexnet adminstudio) Tuner
Direct editor.
Remove the Table Entry:
NOT BNEWERPRODUCTISINSTALLED
I would remove any desktop icons or whatever other prefs (like auto update etc) But that depends on your environment.
Save your MST.
Deploy away - I manage about 30 applications this way accross 300 workstations. Upgrades find overtop of other QT versions (from 7.0 upwards)
Put the following in one CMD file:
msiexec /i ISScript11.Msi /qb
msiexec /i QuickTime.msi TRANSFORMS=1033.mst ISSETUPDRIVEN=1 /QR
The important part is the /QR
Using /QF instead will work too.
*GOTCHA: If you use a /QB or a /QN you will get this error.
“Error 1606.Could not access network location QTcomponents\.”
This is because the /QB and /QN switch suppresses the User Interface sequence. In this QT package, the INSTALLDIR property is set during this User Interface sequence.
Sept 2005
I'm affraid kbu either stumbled on a quirk and doesn't know what he did or is jerking our collective chains.
Editing the QuickTime.msi with WPS 5.60.0.466 (with or without converting to .WSI) does not remove the InstallScript dependencies. There are plenty of InstallScript calls done in Custom Actions in QuickTime.msi and recompiling in WPS does not automagically convert those into pure MSI.
Installing Quicktime with Group Policy in a lockdown environment:
I did all of the suggestions above.
-Added the Quicktime.qtp file to CommonAppDataFolder
-Set a Property ISSETUPDRIVEN=1
-[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\ActiveX]"QTTaskRunFlags"=dword:00000002
-InstallExecuteSequence: SetQTComponent - change value from 787 to 1005 and Predeployed the ISScript11.msi
- I had to remove the two Install Conditions (I have not seen that mentioned before)
Everything worked fine until I went to Quicktime.com and I was missing a activex plugin (I guess the custom action that installs the plug-in doesn't work over AD Group Policy) I added 3 more steps
- manually added the 7 npqtplugin.dll files into Internet Explrer\Plugins folder (not sure this was needed)
- added QTPlugin.ocx to program files/Quicktime (I had to log in as a admin and go to quicktime.com and install the activex plug-in to get it. This fixed the issue I was having) the plug-in would work fine if users had rights to write to Program files\quicktime folder we lock this down and that is why I had to add this step.
I'm doing quicktimeinstaller.exe /s/v/qn, but bizarrely, I had to find a 2nd copy of quicktimeinstaller.exe in a temp folder, that the original version of quicktimeinstaller.exe launches:
"C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\{336C06E7-0219-44AF-8593-E2009E24FCCD}\QuickTimeInstaller.exe" /s/v/qn
(I got that commandline from sysinternals' process explorer.)
If I used the original version of quicktimeinstaller.exe, I couldn't tell with my deployment software when the install was done.
Then copy the prefs file to get rid of the autoupdate:
copy /y QuickTime.qtp "c:\Documents and Settings\All Users\Application Data\Apple Computer\QuickTime"
Set registry entries to keep quicktime out of the system tray:
regedit -s cleanup.reg
cleanup.reg looks like this:
[HKEY_LOCAL_MACHINE\SOFTWARE\Apple Computer, Inc.\QuickTime\ActiveX]
"QTTaskRunFlags"=dword:00000002
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"QuickTime Task"=-
(Setting a registry value equal to '-' deletes it.)
Many thanks for all your information posts which got me to a developed QT7.
Regarding problems with ZENworks (Novell6.5), we haven't used an MSI AO either but haven't had problems. I went with a command line installation within a simple AO, because even though I could apply ISSETUPDRIVEN=1 via the MSI properties within an MSI AO, I couldn't apply the /QR switch with the command line as per below. We try to avoid tinkering with supplied MSIs wherever possible, which is why I've not amended the tables within the file via WPS or ORCA.
I downloaded the standalone version, ran it to get the "ISScript11.Msi" and "QuickTime.msi" from the temp directory, created an MSI AO for ISScript11.Msi, but created a simple AO for the QT installation with a commandline of C:\WINDOWS\system32\MSIEXEC /i\\<server>\QUICKTIMEPLAYER-V70480-R1\QuickTime.msi ISSETUPDRIVEN=1 /QR
We use secondary icons to launch the apps with all install AO as dependent apps invisible to users, so I use that one to push down the QTP file, untick the update option, remove the icon from the system tray (Thanks for the registry settings in the earlier post!), and delete the shortcuts from the menu, from within the Distribution Options > Application Files tab
***(Extract from AXT file)***
[File Delete]
Flag=Update Create
File=%*PROGRAMS%\QuickTime\About QuickTime.lnk
[File Delete]
Flag=Update Create
File=%*PROGRAMS%\QuickTime\PictureViewer.lnk
[File Delete]
Flag=Update Create
File=%*PROGRAMS%\QuickTime\QuickTime Player.lnk
[File Delete]
Flag=Update Create
File=%*PROGRAMS%\QuickTime\Uninstall QuickTime.lnk
[Directory Delete]
Flag=Write Always
Directory=%*PROGRAMS%\QuickTime
I also used ZENWorks snappshot to double-check on the settings being added/deleted on my test pc.
Thanks again Appdeploy and all contributors, you're our first port of call when developing apps. HJ
I've been pulling 99% of my hair off my head, just to find out - at last - that the package needs write access to %temp% when it is run in system context (by SMS) when a non-admin user is logged in.
markus
QUICKTIME V 7.1
Hi People Yesterday I downloaded the latest version of Quicktime 7.1 and extracted it with /a and what do you know even though I had a 2 clean test machines that didn't have Install Script engine installed or a product that requires this. I could do a simple installation of the MSI created by the extraction using Group policy. Strangely though if you look at the executable while doing a local install it still unpacks to your local profile the Install Script engine. I hope Apple keeps the installer working this way the way it should :-) I hope this works the same for you.
Addendum: IT Seems some hidden version of the annoying Install Script engine was on my test machine as on a third test machine my instaqllation failed. Long live the day when we have native MSI installers
Since I was having trouble making a transform file that would add the plugins to Firexfox I decided to just copy them. Here is what I use to execute a silent install on desktops:
msiexec /i ISScript11.Msi /qn
msiexec /i QuickTime.msi ISSETUPDRIVEN=1 /qn
sleep 120
copy /y c:\hhcamis\qtsilent\quicktime.qtp "c:\documents and settings\all users\application data\apple computer\quicktime"
copy /y c:\hhcamis\qtsilent\plugins\*.dll "c:\program files\mozilla firefox\plugins"
Hopefully this will help someone.
I made this commandline to install it silent. We install our packages with IBM Tivoli, and the QR switch didnt work when installing with Tivoli.
First i ran:
QuickTimeInstaller.exe -r -f1 "C:\temp\setup.iss" to make an recorded installation file.
Then this cmd-file to install QuickTime:
REM Uninstalls the previous versions
msiexec /x {GUIDOFPREVIOUSINSTALLEDVERSION} /QN
REM Installs QuickTime 7.1 silently with the QuickTimeInstaller.exe
"\\SERVER\SHARE\QuickTimeInstaller.exe" -s -F1"\\SERVER\SHARE\setup.iss" -F2"C:\LOGDIR\QuickTime 7.1.log"
REM Remove all shortcuts
rd /S /Q "C:\Documents and Settings\All Users\Start Menu\Programs\QuickTime"
del /F /Q "C:\Documents and Settings\All Users\Desktop\QuickTime Player.lnk"
REM Removes the old QuickTime.qtp file, copy the new one, adds the qttask value, removes the run value, and kill the qttask.exe process.
del /F /Q "C:\Documents and Settings\All Users\Application Data\Apple Computer\QuickTime\QuickTime.qtp"
copy /Y "\\SERVER\SHARE\QuickTime.qtp" "C:\Documents and Settings\All Users\Application Data\Apple Computer\QuickTime"
reg add "HKLM\SOFTWARE\Apple Computer, Inc.\QuickTime\ActiveX" /v QTTaskRunFlags /t REG_DWORD /d 00000002 /f
reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v "QuickTime Task" /F
pskill qttask.exe
And for the uninstall:
msiexec /x {C21D5524-A970-42FA-AC8A-59B8C7CDCA31} /QN
c:\PROGRA~1\COMMON~1\INSTAL~1\Driver\11\INTEL3~1\IDriver.exe /M{C21D5524-A970-42FA-AC8A-59B8C7CDCA31} /l1053
This can be run with a /qb or even /qn. You'll need to change the type for the following two custom actions SetOLDQTAPPSFOLDER and SetQTCOMPONENTS from 51 to 35, you'll then need to change their sequence in the InstallExecuteSequence table so they come after CostFinalize, I went for 1001 and 1002 respectively. I can now deploy via Radia with a /qn.
I have just downloaded the standalone 7.1.3 installer from Apple.
Using WinRar, I extracted the 3 files contained within (QuickTime.msi, AppleSoftwareUpdate.msi & QuickTimeInstallerAdmin.exe). I then simply edited the QuickTime.msi directly, removed the desktop shortcut and deployed it - no hassle at all! Obviously there are more tweaks if you want to investigate, but it's very easy now!
UPDATE: Spoke to soon - this installs fine when using msiexec /i, but adding to GPO throws up and error about being unable to extract deployment information from the package. Further investigation required.
UPDATE 2: FIXED!!! The reason the msi wouldn't deploy via GPO was that there were multiple languages specified in the Summary Information. Go the the following MS link for info on this:
http://support.microsoft.com/kb/304746
After the languages were removed and I left just "Intel;1033" the package deployed like a charm!
The latest verison 7.1.3 appears to be a normal MSI that does not require an isscript*.msi to be installed prior to installation of the main application. Under Novell Zenworks the deployment is pretty straight forward. Create a simple AO that runs the MSI in whatever manner you prefer... we prefer the /qb so that there is a visual of the install.
Note: Apple appears to have changed where some of the preferences are stored now.
Add the following files under the Distribution Options tab for Application Files. (They are created when you install the first time and configure the player)
%*CommonAppData%\Apple Computer\Quicktime\quickTime.qtp
%*UserProfile%\Application Data\Apple Computer\Quicktime\QTPlayerSession.xml
By copying these files you are presetting options such as disabling the Content Guide during startup, turning off automatic updates, not installing the quicktime icon in system tray(see below), etc.
As for the tray icon and desktop shortcuts I found it was easiest to modify the MSI and remove all references to qttask.exe, then it never gets installed, and delete the shortcuts under the Shortcuts table.
Version 7.1.3 is now available and does not use the crappy old ISSCRIPT.
Saves considerable hassle of earlier versions.
Comment on information by dgdavis on 10/16/2006.
When setting up a GPO to distribute the 7.1.3 package, I found that all I needed to do was to set the field
"Ignore Language when deploying this package" to ENABLED in the advanced settings of the policy editor.
That way I did not need to modify the package which I try not to.
I got working by setting ignore language like earlier post and works fine.
Here's what you need to do for QuickTime 7.2...
---- Notes and Other Items Concerning the Source Files ----
1. Obtain the .EXE file from www.apple.com/quicktime (download the QuickTime only bundle).
2. Navigate to the user's Temp folder (for example: C:\Documents and Settings\JoeUser\Local Settings\Temp) and clear out any existing folders in order to make things easier to locate in the next step.
3. Launch the downloaded QuickTime .EXE installation, but do NOT install the program (just leave it running at the initial installation screen).
4. Copy the newly created XXXXX.TMP folder containing the extracted contents of the downloaded .EXE file to another location.
5. Cancel the QuickTime installation setup.
---- To configure the QuickTime.qtp file ----
1. Set the date ahead 10 years on a machine and then install QuickTime manually.
2. Locate the .qtp file and copy it to the source folder.
Then once you've got the "QuickTime.msi" file (you can delete the others if you don't use them) you can use something like this VBScript command to execute the installation...
strScriptFileDirectory = objFSO.GetParentFolderName(wscript.ScriptFullName)
objWshShell.Run "msiexec /i """ & strScriptFileDirectory & "\QuickTime.msi"" DESKTOP_SHORTCUTS=0 /qn /norestart", 1, True
* strScriptFileDirectory is used because I store my installation .VBS script in the same directory as my source files.
I'd also suggest that you have your script delete the default Start menu icons and copy new shortcuts in their place because the default ones fire off a .MSI setup for each user which in turn generates the Desktop and Start menu icons again (I hate having the icons cluttering up everyone's desktop)...
Quicktime 7.2 will self-heal when the first person launches the shortcut. This is because a component code is being detected on the machine, QuicktimeLocalizedde_dll. The MSI is detecting that this component is already installed and the version on the computer is newer(higher) thus blocking the installation of the localizedTime_de.dll.
I wrote this from memory, so the component name and file name maybe a little off. You can log the installation and then scan it for "Disallowing", which will give you the component code that I'm talking about.
*I changed the component code and the installation installed with no problem and no self healing. Not sure if this is going to cause any problems at next release, but I really don't see how it could.
I was able to install QuickTime 7.2 on Windows 2000 by using Orca to edit the .msi and changing the LaunchCondition table "VersionNT" entry to say VersionNT>=500 (instead of 501 which is XP)
Then had to copy gdiplus.dll into the C:/Program Files/QuickTime folder
I just downloaded QT 7.4 and there is no longer an ISScript11.msi file! I ran the installer and dragged the QuickTime.msi from the temp folder to a network folder and installed it after making some tweaks. Works like a charm. Looks like Apple finally abandoned InstallScript.
QuickTime 7.4.0.91
____________________
Instructions for creating a standard install for a corporate environment where all workstations have access to the central install point.
I went to
http://www.apple.com/quicktime/download/ and saved the download. It downloads as a .zip file titled "QuickTime740Installer.exe" When you extract it's contents it has 3 files.
1) AppleSoftwareUpdate.msi
2) QuickTime.msi
3) QuickTimeInstallerAdmin.exe
The "QuickTime.msi" will install without any hitches, but if you open it with InstallShield and edit it, the install will fail. I believe they are using a checksum to verify the integrity of the install. However, the checksum takes place in a custom action which doesn't get executed during the silent install. So if you edit the .msi, you will have to run it with the silent /qb or /qn.
Customizations:
After installing Quicktime, you will notice the "QuickTimePlayer" popup that asks if you would like to "restore these file type associations to QuickTime?" Yes, No, checkbox to never ask again.
From this point, I did the following:
1) Checked the box to not ask again.
2) Once QuickTime opened I went to Edit => Preferences and set my "Player Preferences" and "QuickTime Preferences."
3) Closed QuickTime and went to the following locations and copied the following files.
A) C:\Documents and Settings\{userProfile}\Application
Data\Apple Computer\QuickTime\QTPlayerSession.xml
B) C:\Documents and Settings\{userProfile}\Local Settings\Application Data\Apple Computer\QuickTime\QuickTime.qtp
These files should hold all your settings and the checkbox setting from step 1.
I used installshield to open the .msi and add the QuickTime.qtp and QTPlayerSession.xml files in the following way.
1) Add QTPlayerSession.xml to
[AppDataFolder]Apple Computer\QuickTime
2)Add QuickTime.qtp to
[LocalAppDataFolder]Apple Computer\QuickTime
Now the obvious thing is that these files will only show up for the user that installs the application, but the .msi already has an advertised shortcut, so all I did was the following:
1) Go to the components view and find your the first added file. For me the Component was titled "AllOtherFiles2" and contained my "QuickTime.qtp" file. I clicked on Registry Data under this component and added a registry key under HKEY_CURRENT_USER titled "QuickTimeRepairKey" and then added a string value of "RepairToInstallAssocFile" with value of "Repair Key 1"
***all of these values can be whatever you want, as long as it is under "HKEY_CURRENT_USER" and doesn't conflict with actual products. The final step is to right click on that string value and set it as a "Key Path"
2) Do the same for the component that contains "QTPlayerSession.xml", but give it a different string value, such as "Repair Key 2" or something.
Now your files should be taken care of.
You will need to go to the "Property Manager" view and set "ALLUSERS" with a value of "2"
save the .msi. and install.
When you install using the .msi. You should spot check for the files prior to executing the application, just to make sure they are in the correct location. Then execute and check to see if your settings were maintained. If everything looks good, then the next step in testing is the big one.
1) Log on as different user and check the folders. They will, as expected, not be there.
2) Launch the Quicktime Shortcut from the StartMenu (I removed the one on the desktop as part of our standards). The install should start up as part of the repair operation and the files should be added to the proper directories. Your settings should be incorporated for the newly logged on user.
_________________________
If you are having trouble with the repair operation, there are a few catches.
1) The components that you added for your files must be part of the same feature that the advertised shortcut is added to. If installshield automatically puts the new components under a different feature, you can easily change this with a click and drag operation. I have been using Installshield for 3 years and may take some information for granted so feel free to add to this article. Hope it helps.
This is from a batch file that I used...
QuickTimeInstaller.exe /passive
<passively installs quicktime>
copy com.apple.QuickTime.plist "C:\Documents and Settings\All Users\Application Data\Apple Computer\QuickTime\" /Y
<copies a pre-made configuration file to the new install>
copy QuickTimePlayer.exe "C:\Program Files\Quicktime\" /Y
<copies a keyserved executable(not everyone uses this)>
Hope this helps!
I followed sabbats notes to the T and it got me very close. Elmikos suggestions got me a little closer. I am using Orca so I searched for any row with QTTask.exe and dropped it this removed QTTask and that got me a clean install msi.
I wrote this script based off of what can be read here http://www.appdeploy.com/messageboards/tm.asp?m=36411. I use group policy to run it every time a user logs in. It evaluates whether or not QuickTime.qtp needs to be copied from a shared location to the user profile location. Like mentioned before the qtp file is now located in each user profile.
Option Explicit
Dim WshShell, objFSO, strHomePath, objLocalFile, objRemoteFile, strLocalFile, strRemoteFile, objEnv, strReferenceTemplate, strLocalTemplate
Const ForReading = 1
Set WshShell = WScript.CreateObject("WScript.Shell")
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objEnv = WshShell.Environment("Process")
strHomePath = objEnv("HOMEPATH")
'the following line must be changed to represent where your configured .qtp is.
strReferenceTemplate = "\\awesome.net\distributables\Apple\QuickTime\7.50.61.0\QuickTime.qtp"
strLocalTemplate = "\Local Settings\Application Data\Apple Computer\QuickTime\QuickTime.qtp"
If objFSO.FileExists (strReferenceTemplate) Then
If objFSO.FileExists (strHomePath & strLocalTemplate) Then
Set objRemoteFile = objFSO.OpenTextFile(strReferenceTemplate, 1 )
strRemoteFile = objRemoteFile.ReadAll
Set objLocalFile = objFSO.OpenTextFile(strHomePath & strLocalTemplate, 1 )
strLocalFile = objLocalFile.ReadAll
If strLocalFile <> strRemoteFile Then
' MsgBox("objLocalFile <> objRemoteFile")
objFSO.CopyFile strReferenceTemplate, (strHomePath & strLocalTemplate), true
Else
' MsgBox("strLocalFile = strRemoteFile")
End If
Else
' MsgBox("Local file doesn't exist.")
objFSO.CopyFile strReferenceTemplate, (strHomePath & strLocalTemplate), true
End If
Else
' MsgBox("Remote file doesn't exist.")
End If
At this time Quicktime 7 is Preview Release... NOT final..
http://www.apple.com/quicktime/download/preview/
There is a msi in the package.
Basically we are closer than ever to having this deploy at the domain level with a GPO. The ISSETUPDRIVEN problem that you get when you get the MSI from the temp directory is a pain, but get ORCA on the case and you are able to edit a few tables and away you go. You need the installscript msi to install first, but for now i'll live with that.
Still to do at my end is customise the preferences and then remove the need to deploy the install script msi.
I am hoping now that Macromedia realise the power of MSI installers, and I have a completely deployable suite.
What I did, was to extract the MSI + MST + ISScript from %temp%
I then opened the MSI with Wise Package studio, and just re-compiled the package. - That somehow removes the check for the ISSETUPDRIVEN=1 issue.
Works like a charm for me now.
UPDATE: The ISSETUPDRIVEN trick ***absolutely*** worked for me without restarting!
Full standalone version of the software available here:
http://www.apple.com/quicktime/download/standalone.html
You guys are both right/wrong.
The "trick" only works if a previous install installed ISSCRIPT11.MSI
If you want to use this option, you must chain ISSCRIPT11.MSI into your install before QT installs (either through your ESD tool or with a internal MSI db call), if it hasn't already been installed on your target PC's.
I just took a Ordinary SetupCapture of Quicktimeinstaller.exe. After the install I started quicktime and made a the changes In preferences I wanted then ended the setupCapture.
Then I had a nice msi-package that worked without any problem.. Have tested it with both AD and SMS deployment.
When you have downloaded the 7.4.5 version the EXE will extract an MSI (as usual). Inside this EXE are 2 MSI's and another EXE.
You cannot just use the QuickTime.msi to deploy. When this MSI is ran with a UI the installation will fail.
This problem can be fixed to remove the "InstallPackages" entry form the "InstallUISequence" table.
The installation will now run with or without UI.
You can sucessfully install the Beta of quicktime 7 using AD it seems when the Adminastrative install version of the QT 7 beta is created it doesn't copy the ISScript11.Msi file to your network. So run the executable one more time without the /a until you get to the install Dialog. then search your Harddrive for ISScript11.Msi file, It should be in your documents and some temp folder. Then copy this to your deployment folder on your network.
Then goto the same Group policy that you are using to deploy the beta of QT7 then add the IIScript11.Msi to that group polciy.
Then hopefully Bob is your mothers Brother :-)
These notes are based on the QuickTime 7 Public Preview currently available as of 06/22.
-Download the QuicktimeInstaller.exe. Here
-Run Quicktimeinstaller.exe /a (Admin Install)
-Specify a network location to install to
I Ran it through InstallShield Tuner, specified settings. I am unable to locate the Serial Number property in this version, so we may have to wait until the final release is out.
Now you have a nice clean MSI, which I have been waiting for quicktime for the life of the product.
UPDATE: After testing MSI, it appears that you must run SETUP.EXE and cannot run the MSI by itself. Hopefully they fix this in the FINAL release!
Silent Uninstall Commandlines v7.1
IDriver.exe
"C:\Program Files\Common Files\InstallShield\Driver\11\Intel 32\IDriver.exe" /M{C21D5524-A970-42FA-AC8A-59B8C7CDCA31} /uninst
Native MSI Command against product GUID
msiexec /x {C21D5524-A970-42FA-AC8A-59B8C7CDCA31} /QB
HOWTO: Silently Uninstall an InstallScript MSI Project (IDriver.exe)
The latest release of Quicktime (7.6.4) has changed how it installs yet again. After hours of research and trial/error, I found the following to work for me when trying to silently deploy Quicktime 7.6.4 with no UI, no apple software update, and no desktop icon.
I downloaded the exe from apple. Started the exe install and then grabbed all the .msi files from the temp directory. (C:\Documents and Settings\username\Local Settings\Temp) for me.
I found that if you use the following command line it will install the QuickTime.msi silently.
msiexec /q /i QuickTime.msi
However when you open it, it says you must install Apple Application Support.
So then I used the same command line to install the Apple App Support silently as well.
msiexec /q /i AppleApplicationSupport.msi
I confirmed that Quicktime works and there is not apple software update installed on the computer. Now it is a simple matter of creating a batch file to run them both and delete the desktop icon without the command window being visible to users. Here is what I came up with:
Create a batch file called launch.bat with the following line:
wscript.exe invis.vbs qt.bat
Create a .vbs file called invis.vbs with the following line:
CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False
Create your batch file called qt.bat that will run your msi installs. I used the following:
msiexec /q /i QuickTime.msi INSTALL_DESKTOP_SHORTCUT="FALSE"
del "C:\Documents and Settings\All Users\Desktop\QuickTime Player.lnk"
msiexec /q /i AppleApplicationSupport.msi
Now you just make sure all 4 msi's and the 3 files you just created are in the same folder. Run the launch.bat.
**Note, I don't know if the install needs the other two .msi files that are in the Temp folder, I just grabbed all four and built mine with all four in the folder. You could probably delete them with no problems, but I don't care if they hang out in mine.
Hope this helps someone. P.S. I tried the post directly above mine and it didn't work for me.
Update 2/15/2011
I just tested and confirmed that this technique works with 7.6.9 for both upgrades and clean installs.
Instructions for packaging Apple QuickTime version 7.6.0(7.60.92.0). My requirements were QuickTime had to work stand alone, as a plug-in with IE 7 and FireFox 3.x with NO Auto Update. No tray icon and desktop shortcut was also a requirement.
Apple got Tricky with versions 7.5.x and above. I package 7.5.5. and now 7.6.0. Instructions below works for both.
I ran out a blank 7.6.0 install. Made all my settings. ("Check for updates automatically" was turned off, Edit-->Preferences-->QuickTime Preferences..., Update Tab)
Once QuickTime is setup like you want it you will need to grab some config files.
1. C:\Documents and Settings\All Users\Application Data\Apple Computer\QuickTime
Files:
com.apple.QuickTime.plist
QTPlayerSession.xml
2. C:\Documents and Settings\%USERNAME%\Local Settings\Application Data\Apple Computer\QuickTime
File:
QuickTime.qtp
Grab the file above from the user login that you configured QuickTime with. (This is important for auto update being disabled)
Ok... now that all the config files are gathered a quick explanation is in order because of the change Apple made from version 4.5.0 to 5.x. and above. QuickTime no longer uses the QuickTime.qtp file found in "C:\Documents and Settings\All Users\Application Data\Apple Computer\QuickTime" to build the new profiles. It does it internally(I'm still trying to figure out what mechanism it uses). So all users have their own config... yes... it sucks. Now apple uses a default config file (QuickTime.qtp) found here: "C:\Documents and Settings\Default User\Local Settings\Application Data\Apple Computer\QuickTime". This config file is used for user's that don't have a Windows profile on the computer at the time of the QuickTime installation. So if a user logs into a computer after QuickTime is installed it will create a QuickTime.qtp based on that file above in the default User folder. For user's that have a windows profile at the time of installation it puts a config file (QuickTime.qtp) in each user's appdata folder: C:\Documents and Settings\%USERNAME%\Local Settings\Application Data\Apple Computer\QuickTime. Below I'll outline how to handle each.
I started but unpacking the "QuickTimeInstaller.exe" This will give you 3 files(WinZip or winrar can do this):
AppleSoftwareUpdate.msi
QuickTimeInstallerAdmin.exe
QuickTime.msi
Discard all but "QuickTime.msi"(remember I'm taking out the auto update feature)
You will need to build a Transform. Orca is free and easy. I modified/added the following lines into the Properties table:
Modified:
SCHEDULE_ASUW; Set this to 0
AdminProperties; Removed all references to ASUW
SecureCustomProperties; Removed all references to ASUW
Added:
QTINFO.BISQTPRO; 1
ChkOptInstASU; 0
ASUWISINSTALLED; 0
QTTaskRunFlags; 0
ARPCOMMENTS; Provided by "Company Name"
Settings Explained:
SCHEDULE_ASUW =0; One a few settings to turn off the Apple Software Updater .
AdminProperties= I removed ASUW references in this to help keep out the Apple Software Updater.
SecureCustomProperties= I removed ASUW references in this to help keep out the Apple Software Updater.
QTINFO.BISQTPRO=1; Keep the tray icon out (Doesn’t seem to work after version 7.4.5 I left it in for good measure)
ChkOptInstASU=0; One a few settings to turn off the Apple Software Updater .
ASUWISINSTALLED=0; One a few settings to turn off the Apple Software Updater
QTTaskRunFlags=0; Keep the tray icon out (Doesn’t seem to work after version 7.4.5 I left it in for good measure)
ARPCOMMENTS=Provided by "Company Name"; Brands QuickTime with your company.(Optional)
I used Admin Studio so I also removed the Desktop Shortcut in there. You can do this with Orca but is much more labor intensive. Once this is done you should be able to save out an .mst with he changes outlined above.
I wrapped the QuickTime.msi in a Wise .exe and called it with the following command line:
TRANSFORMS=QuickTime.mst /qb
Once the .msi is done I copy the following files:
com.apple.QuickTime.plist
QTPlayerSession.xml
The config files from "C:\Documents and Settings\All Users\Application Data\Apple Computer\QuickTime" that you copied earlier... you will copy them back to that same place in your script. Overwrite the files that the installer puts in if any (or from a previous installation). You will also need to take the "QuickTime.qtp" config file that you pulled from "C:\Documents and Settings\%USERNAME%\Local Settings\Application Data\Apple Computer\QuickTime"(%USERNAME% being the login ID you used to login and configure the QuickTime installation originally). This is the config file QuickTime uses now. The auto update setting is also housed in this file. This file needs to go into 2 main places. The default user folder and ever single user profiles folder. Copy the new config file to:
"C:\Documents and Settings\Default User\Local Settings\Application Data\Apple Computer\QuickTime" As outlined above this will set any new user that might log into the computer in the future that doesn’t have a windows profile on the box at the time of the QuickTime installation. The next location/s to copy to, are a little trickier. You need to copy it into every user's app data folder:
"C:\Documents and Settings\%USERNAME%\Local Settings\Application Data\Apple Computer\QuickTime"
%USERNAME% being the variable used in place of the user profile names.
For this I simply called cmd.exe with the following command line:
/C DIR "C:\Documents and Settings\*." /AD /B > C:\temp\UserList.txt
This generated a .txt file that contains a list of every profile name on the computer for me to read lines into Wise(You might want to build in exclusions. It will pick up accounts like Administrator, All Users, NetworkService, etc). This allowed me to copy the config file into each user's profile over writing any config files that might have already existed. This should take care of any config problems encountered with QuickTime.
This leaves one last requirement to cover. No tray icon. I have read many great suggestions on this board. They have worked but some stop working with new versions of QuickTime. Apple is famous for changing the install up for no reason. One trick I use for this that has worked since 7.1.x for me is this.
I make a copy of qttask.exe in the main install directory and name it qttask.old. Then I delete qttask.exe from C:\Program Files\QuickTime\. After this I remove the following registry key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"QuickTime Task"="C:\Program Files\QuickTime\qttask.exe" -atboottime
This will keep the tray icon at bay and has worked over all version of 7.x I've done thus far including 7.6.0.
Hope this was helpful… Good luck and God speed ,
To extract the MSI files from QuickTimeInstaller.exe into it's current folder:
QuickTimeInstaller.exe /extract
Apple QuickTime 7.69.80.9
Since we're running a mixed environment (WinXP and Win7), I needed a package that would install on both OS without having to create two separate packages. Requirements: no updates, no tray icon, no desktop icon, no nag screens, no accessing the internet on startup. Directions below are specifically for InstallShield 2011, though you can adapt them as needed.
Ran program on a clean machine and made preference adjustments (no updates, no Content Guide, etc); copied QuickTime.qtp and QTPlayerSession.xml preference files over (same pref files can be used on both OS-- I used the ones I created on a Win7 box). IMPORTANT: Edited QTPlayerSession.xml to put in system variable %USERPROFILE% instead of hard coded path.
Extracted MSIs from executable (AppleApplicationSupport.msi and QuickTime.msi) Apple Application Support is required for QuickTime now. Running vendor MSI for that, no changes.
Transform for QuickTime.msi: Accepted all defaults in creating base transform.
Transform Changes:
Property Manager:
Added ISSETUPDRIVEN=1
Custom Actions set to Absent From Sequence:
Set_Desktop_Shortcuts
Set_QT_TRAY_ICON
Launch_QTTask
Launch_iTunesHelper
MoveQuickTimeMPEG2
Registry:
Deleted HKLM\Software\Microsoft\Windows\Current Verson\Run
Deleted HKLM\Software\Apple Computer, Inc.\QuickTime\ActiveX "QTTaskRunFlags"
Created HKLM\Software\Apple Computer, Inc.\QuickTime\ActiveX "QTTaskRunFlags"=dword:2
Changed HKLM\Software\Apple Computer, Inc.\QuickTime\ActiveX "UpdateXNow"=0
Components added to install the following files (marked as key files for each separate component):
For the XP installations:
Added QuickTime.qtp to [LocalAppDataFolder]Apple Computer\QuickTime
Added QTPlayerSession.xml to [AppDataFolder]Apple Computer\QuickTime
For the Win7 installations:
Added QuickTime.qtp to [UserProfile]AppData\LocalLow\Apple Computer\QuickTime
Added QTPlayerSession.xml to [LocalAppDataFolder]Apple Computer\QuickTime
Component added with the following registry key created (and added a self-heal for this key):
[HKEY_CURRENT_USER\Software\Apple Computer, Inc.\QuickTime]
"LastFileAssociationCheck"=dword:07698000
(I created a reg file from the above and imported it.)
Deleted unneeded shortcuts.
Firstly I ran the QuickTimeInstaller.exe and when this was running it extracted 4 files to the %TEMP% folder, on my machine it was called (IXP016.TMP). It might be different on your machine.(IXPXXX.TMP)
The filenames of the extracted files are
AppleApplicationSupport.msi
AppleSoftwareUpdate.msi
QuickTime.msi
QuickTimeInstallerAdmin.exe
I soon discovered that I didn’t need the AppleSoftwareUpdate.msi and the QuickTimeInstallerAdmin.exe so concentrated on the Quicktime.msi.
I copied the Quicktime.msi to my Project folder.
Using Wise I created an mst(transform) using InstallTailor.
This gave me a base transform to work on which I had to edit.
Delete_Run_Reg_Key
Firstly I removed the Run reg key to ensure that Quicktime (Launch_QTTask) isn’t run at Startup.
The run key that I removed was
HKLM\Software\Microsoft\Windows\CurrentVersion\Run Name= QuickTime Task
Type = REG_SZ
Value = "C:\Program Files\QuickTime\QTTask.exe" -atboottime
Edit_Reg_Value_QTTaskRunFlags
Next I edited the value of the QTTaskRunFlags in the registry.
I edited the key to have the value below. The original value of QTTaskRunFlags was [QT_TRAY_ICON].
The key was HKLM\Software\Apple Computer, Inc.\Quicktime\ActiveX
Name = QTTaskRunFlags
Type =REG_DWORD
New Value = 00000002
Remove “LaunchQTTask†Custom Action
I removed the Launch_QTTask Custom Action from the sequence to ensure that this wasn’t run on install.
Remove “InstallPackages†Custom Action
To ensure that the Quicktime msi doesn’t try to install other packages during it’s install I removed the InstallPackages Custom Action from the sequence.
Move the Set_INSTALLDIR Custom Action so that it comes after CostFinalize.
The next step was to ensure that I included the preferences file/s with my package.
In order to create this preference file I installed Quicktime and ran it.
First Run dialog box
On first run a dialog box pops up with the following text –
"some of the file types associated with Quicktime applications are currently associated with other applications. Should I restore these file type associations to Quicktime?"
Yes or No?
There is also a tick box in this window with the following text beside it.....
"Do not ask to perform this check again. The Quicktime Control Panel can be used to make subsequent changes."
I ticked the tick box and selected No to that Dialog Box.
To ensure that the dialog box doesn’t appear again you need to add the following registry key –
[HKEY_CURRENT_USER\Software\Apple Computer, Inc.\QuickTime]
"LastFileAssociationCheck"=dword:07658000
This is a Hex value and when added to the mst through Wise I had to give it a the Binary value of 124092416, Double Word. When installed this value gets installed as the Hex value stated above (07658000).
Then I edited the “Quicktime Preferences†to ensure that the AutoUpdate was switched off.
These changes get saved to a couple of files
As I was packaging on Windows 7 the Preferences file (Quicktime.qtp, QTPlayerSession.xml) gets saved to
C:\Users\%username%\AppData\LocalLow\Apple Computer\Quicktime\Quicktime.qtp.
There is also a file which i took a copy of
C:\Users\%username%\AppData\Local\Apple Computer\Quicktime\QTPlayerSession.xml
I took a copy of both of these files and added them to my installation by creating 2 new components, one for each file,
Component 1 – Quicktime.qtp
Component 2 – QTPlayerSession.xml
I had trouble installing these files to the right location as wise doesn’t have in built custom properties for the Locallow folder and local folders in AppData.
I had to add a couple of lines to the directory table in order to be able to install the preference files to the right location
Directory Directory Parent DefaultDir
AppData ProfilesFolder AppData
LOCALLOW AppData LocalLow
LOCAL AppData Local
Apple_Computer LOCALLOW APPLEC~2|Apple Computer
Apple_Computer_Local LOCAL APPLEC~2|Apple Computer
Quicktime_Local Apple_Computer_Local QuickTime
When I had these folders added I was then able to add the 2 added components to the relevant areas.
Component 1 – Quicktime.qtp – installed to C:\Users\%username%\AppData\LocalLow\Apple Computer\QuicktimeComponent 2 – QTPlayerSession.xml – installed to C:\Users\%username%\AppData\Local\Apple Computer\Quicktime
To ensure that these files get installed I added a Dummy HKCU registry key to each component and then used Active Setup to ensure that these files got installed for each user.
Remove Desktop Shortcuts.
Installing –
When installing Quicktime, install it with the following command line
Msiexec /i Quicktime.msi transforms=Quicktime.mst /qr
Apple Application Support.
This has to be installed in order to be able to use the Quicktime package. I created a Custom Transform for this which contained company standards.
To install this i used the same command line options as with Quicktime.
Msiexec /i “Apple Application Support.msi†transforms=â€ÂApple Application Supportâ€Â.mst /qr
I’m not sure if /qr is definitely required but I used it anyway.
I installed this after Quicktime installed and Quicktime worked ok.
Quictime 7.69 seems to be a pain to pkg. Download quicktimeinstaller.exe and double click to expand. Check in application data for expanded msi. You should have 4 files. I found if I ran in this order everything was fine
msiexec /i "\\server\share\quicktime\appleapplicationsupport.msi" /qn ALLUSERS=2
msiexec /i "\\server\share\quicktime\quicktime.msi" /qn ALLUSERS=2.
I was having file assoication problems, but that was because initially I was running the appleapplicationsupport.msi after the quicktime.msi.
Here is how I do it with current version 7.64.17.13:
* Download "QuickTimeInstaller.exe" from "http://www.apple.com/quicktime/download/win.html".
* Extracts contents with any archive manager (I personally use 7-Zip) or the temporary folder technique (grab the files from %TEMP% when installer is running and waiting for input).
* Only keep "AppleApplicationSupport.msi" and "QuickTime.msi" and discard the other files. Install the Application Support first and then QuickTime:
msiexec /package "AppleApplicationSupport.msi" /quiet
msiexec /package "QuickTime.msi" /quiet DESKTOP_SHORTCUTS=NO
The new Apple Application Support is required. Without it, even the installer will crash towards the end of installation and the ActiveX will not work. I never managed to use the original EXE: as soon as I use the "/quiet" switch, Apple Application Support does not get installed which makes the installer crash and the ActiveX not to work, no matter what other parameters I give (e.g. APPLEAPPLICATIONSUPPORTISINSTALLED=YES or =1 has no effect).
To install without auto-updates and desktop shortcut:
msiexec /i AppleApplicationSupport.msi /qn /norestart
msiexec /i Quicktime.msi /qn /norestart ALLUSERS=1 DESKTOP_SHORTCUTS=0 SCHEDULE_ASUW=0
Hey Folks,
Here are my notes for packaging Quicktime 7.62 so that the customized files are stored locally on the machine (e.g. If a PC is off the network and a new user logs in, it will not need to go back to the installation media to for the customized user files)
It's quite easy to follow. You can customize other options as you wish, but the basics are here to make packaging it nice and simple.
Extracted msi and QuickTimeInstallerAdmin.exe
Created admin install
Added the file QuickTimeInstallerAdmin.exe into the admin installation folder as the installation will not work without it
Created a transform and applied the following changes
User Interface sequence
-Commented out the 'InitInstallOptionsCheckboxes' custom action (this will uncheck the 'Install Desktop shortcuts' and 'Automatically update Quicktime and other Apple Software' options)
Execute Immediate Sequence
-Commented out the 'Launch_QTTask' custom action (this will prevent the Quicktime from launching in the System tray)
Created the feature 'CurrentUser' and made this the parent for the 'QuickTimeEssentials' feature
Created the component 'User_Settings'
-Assigned Feature = CurrentUser
-Directory = Program Files\QuickTime\User_Settings
Added the following files to the 'User_Settings' component
-QTPlayerSession.xml
-QuickTime.qtp
Added the following registry settings to the 'User_Settings' component (NOTE the /fup to install the missing user profile files)
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\[ProductCode]]
@="[ProductName]"
"+"=""
"StubPath"="msiexec.exe /fup [ProductCode] /qn"
"Version"="[ProductVersion]"
Created the component 'Duplicate_Files'
-Assigned Feature = CurrentUser
-Directory = Windows\Profiles\Local Settings\Application Data\Apple Computer\QuickTime
Addded the following Duplicate file entries to the DuplicateFile component
- Existing File = 'Program Files\QuickTime\User_Settings\QuickTime.qtp'
- Destination Directory = 'Windows\Profiles\Local Settings\Application Data\Apple Computer\QuickTime'
- Existing File = 'Program Files\QuickTime\User_Settings\QTPlayerSession.xml'
- Destination Directory = 'Windows\Profiles\Application Data\Apple Computer\QuickTime'
Added the following registry key to the 'Duplicate_Files' component and set it as the keypath
[HKEY_CURRENT_USER\Software\Apple Computer, Inc.\QuickTime]
"7.62.14.0"="DummyRegKey"
Download the quicktimeinstaller.exe from quicktimes site and extract the file into a folder using 7zip or winrar.
Inside the extracted folder create a file called quicktime.cmd and drop these to lines into the file
msiexec /i %~dp0quicktime.msi ALLUSERS=1 REGSRCH_INSTALL_ASU=0 DESKTOP_SHORTCUTS=1 ProductLanguage=1033 /qn
msiexec /i %~dp0appleapplicationsupport.msi ALLUSERS=1 REGSRCH_INSTALL_ASU=0 DESKTOP_SHORTCUTS=1 ProductLanguage=1033 /qn
then deploy the quicktime.cmd as hidden (just so the users do not see the command box)
How I've managed to get Quicktime 7.6.5 or 7.65.17.80 installed via Group Policy..
For those of who have installed QuickTime before, or have read through the other
install guides, I want to skip the basics and just focus on the changes required
to get this working.
1. After extracting the MSI files from the EXE installer, you end up wtih...
AppleApplicationSupport.msi
AppleSoftwareUpdate.msi
QuickTime.msi
QuickTimeInstallerAdmin.exe
We are only going to install ..
AppleApplicationSupport.msi
QuickTime.msi
The Apple Application Support package is required for Quicktime to run.
You will need to install it via GPO. Thankfully there are no changes (transforms
or otherwise) required to get this working.
2. Create yourself a Group Policy (or edit your existing one) and add
AppleApplicationSupport.msi to install under Computer Configuration.
I chose to select "Uninstall this application when it falls out of the
scope of management", but that's up to you.
The default of "Ignore language when deploying this package" was left unchecked
and "Make this 32-bit X86 application available to Win64 machines" was left checked.
3. You can try assignnig QuickTime.msi for installation but will notice that the
Language is set to Chinese (Taiwan). For those of you with English (United States)
or 1033 as the language on your workstations, that just won't work.
You can try setting the "Ignore language when deploying this package" under the
delpoyment tab, but that doesn't work. Infact it'll attempt to install then give
you error messages in the wrong charachter set.
Like Quicktime [][][][][][][][][][][][][][][][][][] <- pretend those are boxes.
3. Apples use of the MSI package for this version of Quicktime does NOT support
using transforms that play nice with software deployment via GP or msiexec with /t.
They want you to pass TRANSFORMS=somefile.someextension. So, since we can't pass a
transform file, we'll just edit the MSI directly. Yes, this is frowned upon.
4. Edit the QuickTime.msi with an MSI editor like Orca.
These are the changes I made...
Property - QT_TRAY_ICON
was #2
now #0
Property - AdminProperties
was DESKTOP_SHORTCUTS;PROGRAMMENUNAME;QT_TRAY_ICON;QTJAVADIR;QTPROGRAMMENUFOLDERNAME;SCHEDULE_ASUW
now PROGRAMMENUNAME;QTJAVADIR;QTPROGRAMMENUFOLDERNAME
Property - SecureCustomProperties
was 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
now 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
CheckBox - ChkOptInstASU
was 2
now 0
LaunchCondition - NOT BNEWERPRODUCTISINSTALLED
was A newer version of QuickTime is already installed. This installation cannot proceed while the newer version of QuickTime is installed.
now, the entire row has been removed.
5. Save that MSI. Go test it on a worksation with msiexec and make sure it installs.
6. You still need to change the language. Since I couldn't find a way to do this
with Orca, I fired up MSIDB to edit the _SummaryInformation table.
7. Load your newly modified QuickTime.msi into MSIDB, point it to some file where you
can put temporary files that you can easily access, then export _SummaryInformation.
8. Find the _SummaryInformation.idt file into your a text editor and changed
the following line.
Intel;1033,1036,1031,1041,1043,1040,1028,2052,1034,1030,1034,1052,1044,1045,2070,1046,1049,1053
to
Intel;1033
9. Save the file. Go back to MSIDB, hit Import, select _SummaryInformation.idt as
it should be the only one in your list. Click Ok then Quit.
10. That should be it, however I had to go back and do that above step twice. YMMV.
11. Now go take your new QuickTime.msi file and set it to deploy via GP. When you
add it the Language should now show English (United States).
12. For those of you upgrading from a previously managed version of QuickTime,
don't forget to specify the Package/GPO that you're upgrading from in the
Upgrades tab.
12. If you continue to have problems pushing this bad boy out, please enable
logging for the Windows Installer.
Computer Configuration -> Administrative Templates -> Windows Components ->
Windows Installer -> Logging and set it to voicewarmupx.
Once applied to the client machine check %temp%. More information on Windows
Installer Logging is available at http://support.microsoft.com/kb/223300
Notes:
So far I am still testing the installation scenarios (upgrading from a previous
managed version, upgrading from a previously UNmanaged version, installing
from no previous installation). I'm not done all of my testing but am sure
that these instructions will help most people.
At this point upgrading from an older version seems to work without issue.
However if you apply the GPO to a machine where someone has manually installed
Quicktime 7.6.5 or 7.65.17.80, it seems to corrupt the installation.
I've only run into this problem on two machines after deploying 300.
Version: 7.69.80.9
I read these two from the above to get an idea. Command Line notes by ColinBragg & and Notes by mark_holland21, thank you both!
It seems that Apple jiggle the MSI around with each new version so some of the above notes dont apply anymore. This here, is to help you along in your transforming/repackaging quest.
Aim: To do a fresh install, but also replace existing .qtp and .xml files which handle nag screens and update suppression's in existing user profiles, this is to ensure updates & nags are suppressed with this new version. Remove unnecessary shortcuts and start ups. This is for a Win7 based install, transformed with Wise.
1) Get the MSI's and make your quicktime.qtp and QTPlayerSession.xml preference files. Read above, no point in reinventing the wheel.
2) With whatever packaging software you use, for Quicktime.msi make a transform for the following.
- place the .qtp and .xml file into the quicktime installation directory.
- create the folders under the user profile directory, note this is for Win7.
a) Profiles\AppData\Local\Apple Computer\QuickTime
Place the QTPlayerSession.xml file here, it should show up as a duplicate file.
b) Profiles\AppData\LocalLow\Apple Computer\QuickTime
Place the QuickTime.qtp file here, it should also show up as a duplcating file.
3) In the "File" table find the files "QTPlayerSession.xml" and "QuickTime.qtp" and enter in a file version, ie 1.0.0. This will ensure the existing file is overwritten on install, this is because a file with no version will always be over written with a versioned file. If the existing file has a version, just make sure your replacement file has a higher version.
4) In the "Components" section find the DuplicateFile component. You should see your two .qtp and .xml files. Add in a dummy registry key in the HKCU to ensure the files are placed/installed when self healing for each user. Set this registry key as the (primary) "key".
example. "HKCU\Software\YourCompany\[ProductCode]" make a key called "DuplicateFile_Component_DummyReg"
Add this registry key to the component too.
"HKCU\Software\Apple Computer, Inc.\QuickTime\LocalUserPreferences" make a key called "FolderPath" with the data value of "C:\Users\[%USERNAME]\AppData\LocalLow\Apple Computer\QuickTime\". Quicktime does this itself if you do a "normal" install, but for some reason if you transform it, it changes the "FolderPath" value and it starts looking in the system32\config\systemprofile\AppData...blah\blah dir for the pref files. I overcame this by specifying the key value myself, which happens to be the "normal" default value.
5) Add in a active setup. This is a trigger to update any old .qtp and .xml files in the exisiting user profile.
6) Remove unwanted shortcuts and registry settings. In my case, removed desktop shortcuts, uninstall shortcut, readme shortcut. Removed QT startup stuff.
Done!
Install Process:
AppleApplicationSupport.msi
QuickTime.msi with your transform applied.
*** QuickTime 7.1.5 deployed via AD Group Policy ***
Grab the QuickTime.msi from %temp%
Open the MSI with ORCA, do NOT create a transform at this point.
Go to VIEW / Summary Information. In the Languagaes field you will have a lot language codes. Delete them all other than your chosen language (1033 for English) then save your MSI.
Create your transform:
Property Table
QTINFO.BISQTPRO = 1 (Removes QuickTime Pro nagware)
DESKTOP_SHORTCUTS = 0 (No desktop shortcuts)
REGSRCH_INSTALL_ASU = 0 (Deselects Apple Software Updater)
Registry Table
New Key - "NoTaskTray", "2", "SOFTWARE\Apple Computer, Inc.\QuickTime\ActiveX", "OTTaskRunFlags", "#2", OTPlugin.ocx"
Shortcut Table
Delete row - QuickTimePlayer_Desktop
Save your transform and you are good to go.
Other tweaks you can make are to rename Qttask.exe so that it will never appear (I hate it so very much) and copy across your preferences (%appdata%\Apple Computer\QuickTime\QuickTime.qtp) to your PCs.
Kudos to dlernstrom on this thread where I got this answer.
In reply to the posts that have mentioned the issue with the installer being in 'Chinese' language by default, which can cause problems with Group Policy deployment, there is a slightly more elegant solution than removing all except one language, which will make the installer 'language neutral' and hence able to install on *any* locale:
Edit the MSI with Orca (NB you cannot use a transform)
View/Summary Information...
Add '0,' (without the quotes) to the *beginning* of the Language field (leave the rest of the field intact)
Save the MSI
This should make the MSI language neutral and allow deployment via Group Policy no matter what the locale.
Current version, as of April 2009, is now 7.6.
http://www.apple.com/quicktime/download/
Here's the method I've used to deploy to PCs using GP and a Startup script:
Extract the msi's using 7-zip or the like to your distribution point. Create a batch file with the following..
Setlocal
REM Deployment code begins here.
set qtjava
if %errorlevel%==1 (goto DeployQT) else (goto End)
REM If 1 returned, QT not found, begin install.
:DeployQT
start /wait <path to dp>\AppleApplicationSupport.msi /qn
start /wait <path to dp>\QuickTime.msi /qn
REM If 0 is returned do nothing.
:End
Endlocal
qtjava is an environmental variable set by the qt installer, if it doesn't appear it's reasonable to assume that qt isn't installed.
<path to dp> will accept a unc path.
I've only selected (and tested) those two msi's I required, however you should be able add the others if required.
Installing via System account (SCCM) failed with error about a newer version being installed already. Found a thread on Apple's support site (https://discussions.apple.com/thread/2150407?start=0&tstart=0) to remove the NOT BNEWERPRODUCTISINSTALLED row from the LaunchCondition Table in the QuickTime.msi
I am working with the new QuickTime Player 7.6.2, and I noticed that all settings changes I apply manually are now in QuickTime.qtp and QTPlayerSession.xml in the APPDATA directory. Thst is, these are in C:\Documents and Settings\%USERNAME%\Application Data\Apple Computer\QuickTime, *not* under C:\Documents and Settings\%USERNAME%\Local Settings\Application Data\Apple Computer\QuickTime as in previous versions.
For installation of 7.6.4 without autoupdate and plugins in place:
Extract QuickTime.msi and AppleApplicationSupport.msi from QuickTimeInstaller.exe (winzip, winrar, 7-zip, whatever).
For Quicktime 7.6.4 edit quicktime.msi and remove reference to AppleSoftwareUpdate.msi from caPackages -table. Change SCHEDULE_ASUW property to 0 (from command line or from property table directly).
Copy both of those files in installation directory which must be local disk. Install AppleApplicationSupport first and then Quicktime. That order of installation is needed there for plugins to appear.
I found this on the Apple Discussions Board: -
http://discussions.apple.com/thread.jspa?threadID=2150407&start=0&tstart=0
Jar3dItGuy suggests,
"Here's what you gotta do...
To obtain both needed MSI's (AppleApplicationSupport.msi & QuickTime.msi) use the Apple Update Software tool (which installs with quicktime by default).
1. Launch Apple Update Software tool.
- Choose download only option instead of install.
- The files will be saved in the following directory:
C:\Documents and Settings\%username%\Local Settings\Application Data\Apple\Apple Software Update
2. Use orca to modify QuickTime.msi for English deployment.
- Open MSI w/Orca.
- Click View -> Summary Information.
- Under Language delete all except for 1033 (this is the code for US English).
- Save MSI/close Orca
3. If deploying using group policy be sure to include both MSI’s in your GPO.
I’ve also found that installs sometimes fail if the following condition exists in the quicktime package:
"NOT BNEWERPRODUCTISINSTALLED"
If you’re running into the same issue, just drop/remove that row. It’s located in:
- LaunchCondition -> NOT BNEWERPRODUCTISINSTALLED
You can also due a search for "NOT BNEWERPRODUCTISINSTALLED"
Hope this helps.
BTW, I used to work for the school system down here in Miami, good luck with those teachers. I find educators are the hardest users to train.
Take care,
-Jared"
The tip about removing "NOT BNEWERPRODUCTISINSTALLED" I found invaluable. It's the first time I've managed a successful deployment of QuickTime Player through Group Policy.
For those of you that don't necessarily like using Orca, here's a set of command lines to accomplish the same thing Munro's edits do for QT 7.7.1.
Grab the QTInstaller.exe from apple, and using Winzip or 7-zip, extract just the AppleApplicationSupport and QuickTime msi's.
REM The Task kills make sure there's no prompt to end a program in use...
taskkill /im quicktime.exe /F /T >NUL 2>&1
taskkill /im qttask.exe /F /T >NUL 2>&1
taskkill /im iexplore.exe /F /T >NUL 2>&1
taskkill /im java.exe /F /T >NUL 2>&1
taskkill /im javaw.exe /F /T >NUL 2>&1
msiexec /i AppleApplicationSupport.msi /qb /norestart BNEWERPRODUCTISINSTALLED=0
msiexec /i QuickTime.msi /qb /norestart APPLEAPPLICATIONSUPPORTISINSTALLED=1 ASUWISINSTALLED=1 QT_TRAY_ICON=0 BNEWERPRODUCTISINSTALLED=0 DESKTOP_SHORTCUTS=0 QT71PPINSTALLED=0 REGSRCH_DESKTOP_SHORTCUTS=0 REGSRCH_QT_TRAY_ICON=0 SCHEDULE_ASUW=0 QTINFO.BUYQTPROURL="about:blank"
taskkill /im qttask.exe /F /T >NUL 2>&1
reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v "QuickTime Task" /f >NUL 2>&1
reg delete HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run /v "QuickTime Task" /f >NUL 2>&1
I have a second procedure down in the notes section to copy over all the prefs, too.
Cheers.
This is working at our place with V 7.65.17.80
Obviously you first need to extract all msi's from the Quicktime Package. We use 7-zip to do this.
1. First we check if QT Lite is installed (we actually prefer it) and uninstall it. The only reasons to use the complete Quicktime instead of QT Lite are Quicktime VR and maybe some iTunes incompatibilities???
reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\qt7lite_is1 /v QuietUninstallString && for /f "tokens=2* skip=2" %%U in ('reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\qt7lite_is1 /v QuietUninstallString') do start "Uninstalling QT Lite" /wait %%V
2. you normally won't need this
assoc .mov=
3. First need to install AppleApplicationsSupport.
start /w msiexec /i %~dp0MultiMedia\QuickTime\AppleApplicationSupport.msi /quiet /passive /norestart
4. Then install QuickTime. The UID seems to be necessary (I think I got it from previous notes)
start /w msiexec /i %~dp0MultiMedia\QuickTime\QuickTime.msi /quiet /passive /norestart ASUWISINSTALLED=0 APPLEAPPLICATIONSUPPORTISINSTALLED={0C34B801-6AEC-4667-B053-03A67E2D0415} DESKTOP_SHORTCUTs=NO QT_TRAY_ICON=NO SCHEDULE_ASUW=NO
5. you normally won't need this
assoc .mov=QuickTime.mov
6. We like to keep autoruns tidy, so delete from Run Key in Registry
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "QuickTime Task" /f
This is how I got around the install
1. Installed Pre-Requisite separately (AppleApplicationSupport.msi)
2. Create transform with following changes:-
-Added preference file to C:\Users\%USERNAME%\AppData\LocalLow\Apple Computer\QuickTime
-The preference file taken from test machine after choosing the options necessary and disabled update
-Added registry
[HKEY_CURRENT_USER\Software\Apple Computer, Inc.\QuickTime\LocalUserPreferences]
"FolderPath"="C:\\Users\\%UserName%\\AppData\\LocalLow\\Apple Computer\\QuickTime\\"
-Deleted InstallPackages CustomAction
-Deleted desktop shortcut and if a desktop shortcut is needed create an advertised shortcut to enable self repair.
During the first start the application does a self repair and no popups, updates is disabled.Using IS you may need a set property custom action to set LOCALLOWFOLDER to the value of [%USERPROFILE]\AppData\LocalLow as there is no standard variable for this folder.
How will you disable the AutoUpdates on QuickTime.
Install the vendor exe.
Look for Quicktime.qtp file and save it. It could be found at c:\users\username\appdata\applecomputer\quicktime\quicktime.qtp.
Create an active setup(.exe) that will install the old dated QT.qtp file to the current date install for every user.
Copy the file QT.qtp at programfiles/windows/applicationdata/apple computer/qt.qtp on the transform that you have made over the qt.msi... when you compile this .mst you should get 2 cab files.
Include that in your install folder with all the necessary files including the .exe for active setup and you are done!
For Quicktime 7.71
To install via GPO with the following mods:
English not Chinese
No updates (for current user)
No tray icon
No Desktop icon
Extract the following from the QT installer EXE with 7-Zip or simailar.
AppleApplicationSupport.msi
QuickTime.msi
QuickTimeInstallerAdmin.exe
The Apple Application Support package is required for Quicktime to run.
You will need to install it via GPO. Thankfully there are no changes (transforms
or otherwise) required to get this working.
QuickTimeInstallerAdmin.exe is needed for installs to XP machines.
2. In a GPO add AppleApplicationSupport.msi to install under Computer Configuration.
3. Edit Quicktime.msi with Orca
Apples use of the MSI package for this version of Quicktime does NOT support
using transforms. So we'll just edit the MSI directly. Yes, this is frowned upon but cannot be helped.
3a. To keep it as an English installation rather than Chinese:
Change: View > Summary Information > Languages:
From 1033,1036,1031,1041,1043,1040,1028,2052,1034,1030,1035,1042,1044,1045,2070,1046,1049,1053
To 1033
3b in the following tables change:
Property - QT_TRAY_ICON
from #2
to 0
Property - SCHEDULE_ASUW
from 1
to 0
Property - REGSRCH_DESKTOP_SHORTCUTS
from 1
to 0
Property - AdminProperties
from DESKTOP_SHORTCUTS;PROGRAMMENUNAME;QT_TRAY_ICON;QTJAVADIR;QTPROGRAMMENUFOLDERNAME;SCHEDULE_ASUW
to PROGRAMMENUNAME;QTJAVADIR;QTPROGRAMMENUFOLDERNAME
Property - 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;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_ITUNESHELPER_PATH;UPGRADEFOUND;UPGRADING750;UPGRADING755
now 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
CheckBox - ChkOptInstASU
from 1
to 0
CheckBox - ChkOptInstShortcuts
from 1
to 0
LaunchCondition - NOT BNEWERPRODUCTISINSTALLED
Remove the entire row.
File - QTTask.exe
Change FileName
from QTTask.exe
to QTTask-disabled.exe
Registry - reg112554B54F7763D33D9A81F0E41562C1 SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Remove the entire row.
CustomAction - Launch_QTTask
Remove the entire row.
4. Save that MSI. Go test it on a worksation and make sure it installs with.
msiexec /i [path]\Quicktime.msi /qn /norestart
5. Add your new QuickTime.msi file to the GPO computer software install. Choose to Update any old versions, not update to remove any prior copies of QTTask.exe.
Sweet
Thanks, munro!
I'd like to add to you post by saying that, at least for our environment (YMMV):
1. The default language for AppleApplicationSupport.msi had to be changed from Arabic to English (1033) in the same way as quicktime.msi was changed, else GPO installation would fail on Win7 Pro. (Didn't test it unmodified on any other platform)
2. The packaged excutable QuickTimeInstallerAdmin.exe needed to be in the installation folder to manually test the modified QuickTime.msi package. Without it, the installer would fail. Did not test a GPO installation without the .exe being present.
Hope this can help someone, if they run into these issues.
How to copy over all the preferences, on Vista and 7 (haven't tried XP, but it should be trivial to adjust the paths):
1. Install QT 7.7.1 on a reference machine, preferably one that's never had QT installed before.
2. Start the QT Player App, and answer "no" when prompted to associate file types to QT.
3. In the player app, go to edit -> preferences and configure both the player preferences and quicktime preferences to your liking.
4. Exit QT.
5. Go into the profile directories for the user you installed and configured QT as. You want to get the following two files:
%USERPROFILE%\AppData\Local\Apple Computer\Quicktime\QTPlayerSession.xml
-and-
%USERPROFILE%\AppData\LocalLow\Apple Computer\Quicktime\Quicktime.qtp
6. Copy these to a directory of your choosing, appropriate for your software install system.
7. Use the VBScript at the end to get it to all users...
8. Repackage the three files up, push it out and execute the VB.
--- Begin VB Script ----
On Error Resume Next
Const HKEY_LOCAL_MACHINE = &H80000002
strComputer = "."
strQTLocal = "\AppData\Local\Apple Computer\Quicktime"
strQTLocalLow = "\AppData\LocalLow\Apple Computer\Quicktime"
strDefUser = "C:\Users\Default\"
Set objRegistry=GetObject("winmgmts:\\" & _
strComputer & "\root\default:StdRegProv")
Set objFSO = CreateObject("Scripting.FileSystemObject")
strKeyPath = "SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList"
objRegistry.EnumKey HKEY_LOCAL_MACHINE, strKeyPath, arrSubkeys
For Each objSubkey In arrSubkeys
if (Left(objSubkey,8) = "S-1-5-21") then
strValueName = "ProfileImagePath"
strSubPath = strKeyPath & "\" & objSubkey
objRegistry.GetExpandedStringValue HKEY_LOCAL_MACHINE,strSubPath,strValueName,strValue
if NOT objFSO.FolderExists (strValue & "\AppData\Local\Apple Computer") Then
set objFolder = objFSO.CreateFolder (strValue & "\AppData\Local\Apple Computer")
end if
if NOT objFSO.FolderExists (strValue & strQTLocal) Then
set objFolder = objFSO.CreateFolder (strValue & strQTLocal)
else set objFolder = objFSO.GetFolder (strValue & strQTLocal)
end if
objFSO.CopyFile "QTPlayerSession.xml" , objFolder & "\", True
if NOT objFSO.FolderExists (strValue & "\AppData\LocalLow\Apple Computer") Then
set objFolder = objFSO.CreateFolder (strValue & "\AppData\LocalLow\Apple Computer")
end if
if NOT objFSO.FolderExists (strValue & "strQTLocalLow") Then
set objFolder = objFSO.CreateFolder (strValue & strQTLocalLow)
else set objFolder = objFSO.GetFolder (strValue & strQTLocalLow)
end if
objFSO.CopyFile "QuickTime.qtp" , objFolder & "\", True
End If
Next
if NOT objFSO.FolderExists (strDefUser & "AppData\LocalLow") Then
set objFolder = objFSO.CreateFolder (strDefUser & "AppData\LocalLow")
end if
if NOT objFSO.FolderExists (strDefUser & "AppData\LocalLow\Apple Computer") Then
set objFolder = objFSO.CreateFolder (strDefUser & "AppData\LocalLow\Apple Computer")
end if
if NOT objFSO.FolderExists (strDefUser & strQTLocalLow) Then
set objFolder = objFSO.CreateFolder (strDefUser & strQTLocalLow)
else set objFolder = objFSO.GetFolder (strDefUser & strQTLocalLow)
end if
objFSO.CopyFile "QuickTime.qtp" , objFolder & "\", True
if NOT objFSO.FolderExists (strDefUser & "AppData\Local\Apple Computer") Then
set objFolder = objFSO.CreateFolder (strDefUser & "AppData\Local\Apple Computer")
end if
if NOT objFSO.FolderExists ("strDefUserstrQTLocal") Then
set objFolder = objFSO.CreateFolder (strDefUser & strQTLocal)
else set objFolder = objFSO.GetFolder (strDefUser & strQTLocal)
end if
objFSO.CopyFile "QTPlayerSession.xml" , objFolder & "\", True
Set objRegistry = Nothing
Set objFSO = Nothing
Set objFolder = Nothing
---End VBScript ---
How to deploy TrueCrypt 7.1:
1. Download a latest version from http://www.truecrypt.org/downloads.
2. The installer from the vendor doesn't have switches for silent installation or an internal msi. Setup capture should be performed. The capture isn't complex for this application.
3. The application contains the driver service. This type of services is unsupported by Windows installer and should be installed from batch, vbscript etc. I use the following command line to install the service:
for 32-bit OS:
sc create truecrypt type= kernel start= system binPath= "System32\drivers\truecrypt.sys" DisplayName= truecrypt
for 64-bit OS:
sc create truecrypt type= kernel start= system binPath= "SysWOW64\drivers\truecrypt.sys" DisplayName= truecrypt
And, of course, the service should be started:
sc start truecrypt
4. To make the package that could be installed on 32-bit OS as well on 64-bit OS, duplicate files truecrypt.sys or truecrypt-x64.sys from INSTALLDIR to the "System32\drivers\truecrypt.sys" or "SysWOW64\drivers\truecrypt.sys" respectively.
5. During the capture of an application, you, possibly, want to remove from the package unnecessary registry keys under "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall".
But in the case of TrueCrypt it's a bad idea. Please, look http://lists.wpkg.org/pipermail/wpkg-users/2010-May/006630.html for more information.
6. So, to avoid an UAC prompts, add to the package the empty registry key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\TrueCrypt".
The package is ready for deploying now.
**** Apple QuickTime 7.6.4 WARNING!!!! ****
Please see the last entry in this thread:
http://discussions.apple.com/thread.jspa?messageID=10232123
Basically, it appears that silent installation functionality has been totally wrecked by Apple. They're also forcing an install of Apple Software Update ... without it, QuickTime will not function.
To install quicktime free 7 and higher
*** Extract the package
QuickTimeInstaller.exe /extract (thanks to kkyoung)
*** Create a .cmd file with the following code
Open notepad type the following
@echo off
echo.
cd /d "Replace with the folder where you extract the packages Eg C:\directory"
echo.
start /wait AppleApplicationSupport.msi /passive /norestart
start /wait QuickTime.msi /passive /norestart
start /wait AppleSoftwareUpdate.msi /passive /norestart
echo.
rem the following code will reboot the computer in 10 sec
echo
shutdown -r -t 10
exit
Save as cmd file
*** Execute the batch
During sequencing with APP-V the following folder isn't captured;
C:\program files\common files\Apple\Apple Application Support
Because of this an error is generated that Apple Application Support needs to be installed.
Add the files manually using the wizard
Source: http://social.technet.microsoft.com/Forums/en-US/appvgeneralsequencing/thread/3ecce53b-0ff3-443d-8c00-6ba2d62ad033
If your using ConfigMgr instead of a GPO to push out Quicktime... This method will work with version 7.65.
Create a package containing your Quicktimeinstall.exe file and all extracted files from it. (quicktime.msi, appleapplicationsupport.msi, etc) Set this location as your source for the package, and then create 2 programs... the first running "Quicktimeinstaller.exe" as your command line... this installs all of the basic quicktime components. For the second program, set "msiexec /i appleapplicationsupport.msi /qn" as your command line to run. This will install a completely functioning Quicktime 7.65 on your client machines silently. You can choose then to get rid of the desktop icon or not.
[HKEY_CURRENT_USER\Software\Apple Computer, Inc.\QuickTime]
"LastFileAssociationCheck"=dword:07698000
The above REGKEY ONLY works for the user it was installed. If you import this registry change, it will NOT work for other users logging into the workstation. Solution is unknown to me at this point. I am still trying to find a way....
Correction: While what I said above may be true, this can be rectified by introducing auto-healing. Review: Active Setup and how to implement this into registry. What will happen is that whenever a user attempts to run the software, the msi installer will add all registry keys and even update profiles to fix the issue with "per user" problems.
Here's my little install script for QuickTime 7.6.9 :
start /wait msiexec /i AppleApplicationSupport.msi /passive /norestart
start /wait msiexec /i Quicktime.msi /passive /norestart ALLUSERS=1 DESKTOP_SHORTCUTS=0 SCHEDULE_ASUW=0
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "QuickTime Task" /f
REM - remove automatic restar of QTask.exe
REG DELETE "HKLM\Software\Apple Computer, Inc.\QuickTime\ActiveX" /v "QTTaskRunFlags" /f
REG ADD "HKLM\Software\Apple Computer, Inc.\QuickTime\ActiveX" /v "QTTaskRunFlags" /t REG_DWORD /d "2" /f
REM - remove QTask.exe keep staring itself
REG DELETE "HKLM\Software\Apple Computer, Inc.\QuickTime\ActiveX" /v "UpdateXNow" /f
REG ADD "HKLM\Software\Apple Computer, Inc.\QuickTime\ActiveX" /v "UpdateXNow" /t REG_DWORD /d "0" /f
REM - Delete link
DEL /Q "%ALLUSERSPROFILE%\Menu D‚marrer\Programmes\QuickTime\· propos de QuickTime.lnk"
DEL /Q "%ALLUSERSPROFILE%\Menu D‚marrer\Programmes\QuickTime\D‚sinstaller QuickTime.lnk"
REM - the QT parameters for each user currently in the system
FOR /F "delims==" %%A IN ('DIR/B "C:\Documents and Settings"') DO mkdir "C:\Documents and Settings\%%A\Local Settings\Application Data\Apple Computer\QuickTime"
FOR /F "delims==" %%A IN ('DIR/B "C:\Documents and Settings"') DO copy /y "QuickTime.qtp" "C:\Documents and Settings\%%A\Local Settings\Application Data\Apple Computer\QuickTime"
FOR /F "delims==" %%A IN ('DIR/B "C:\Documents and Settings"') DO mkdir "C:\Documents and Settings\%%A\Application Data\Apple Computer\QuickTime"
FOR /F "delims==" %%A IN ('DIR/B "C:\Documents and Settings"') DO copy /y "QTPlayerSession.xml" "C:\Documents and Settings\%%A\Application Data\Apple Computer\QuickTime"
REM - Copy for futur users
mkdir "C:\Documents and Settings\Default User\Local Settings\Application Data\Apple Computer\QuickTime"
copy /y "QuickTime.qtp" "C:\Documents and Settings\Default User\Local Settings\Application Data\Apple Computer\QuickTime"
mkdir "C:\Documents and Settings\Default User\Application Data\Apple Computer\QuickTime"
copy /y "QTPlayerSession.xml" "C:\Documents and Settings\Default User\Application Data\Apple Computer\QuickTime"
Scenario – QuicktimePlayer_7.6.4 application creates cache of the vendor MSI in “C:\Documents and Settings\All Users\Application Data\Apple Computer\Installer Cache\QuickTime 7.64.17.73†folder and set the source list accordingly. I have included quicktime.qtp file to uncheck/disable Auto update checkbox in Edit>preference menu. Due to this data1.cab file is created. Since this .cab file is not copied to the same location as vendor MSI, repair of this application fails.
Solution - Have used a VB custom action to copy data1.cab file to the same location as vendor MSI from installation source folder. In this CA I’ve used session.property(“SourceDirâ€Â). Still the file was not getting copied, and found that the “SourceDir†property is not getting resolved. While troubleshooting came to know that a standard action called “ResolveSource†is required to be added before the CA runs in “InstallExecuteSequence†table. This standard action is not a part of MSI by default. After adding the standard action, desired result was achieved.
KB – If “SourceDir†property is used in MSI, “ResolveSource†standard action needs to be included in “InstallExecuteSequence†table and condition to be set to (Not Installed), so that it only runs at the time of installation only, otherwise “SourceDir†property will not get resolved.
Quicktime 7.68.75. I was able to install with no user interactions useing the line below. When trying to hide cancel button the install works, but doesn't install all needed peices to work. We didn't want to break down the MSIs as to keep the logic Apple built into the installer.
QuickTimeinstaller.exe TRANSFORMS="Transforms.mst" /norestart /qr /l*v c:\temp\QT_768_Install.log
Quicktime 7.60.92.0
Used Sabbat's and Elmiko's comments but still wasn't deploying for me with just the quicktime.msi. Finally realised that I also needed to search for AppleSoftwareUpdate.msi and delete the entries for it as well. 2 entries for me.
It was trying to deploy the update software first but beacuse it wasn't there the quicktime software itself was falling over and not even installing quicktime.
TrueCrypt can be installed according 2 methods :
- Normal installation
Deployment seems heavy as you have to repackage everything with specific tools etc. see : http://wpkg.org/TrueCrypt
- Portable installation (usable only with admin rights !)
The only difference is that with the portable installation you won't be able to crypt your system partion or drive. If you don't care about both options, then go ahead with this method :
Download TrueCrypt and install it as a portable version, it will extract the required files to the path you specify.
Then you only have to do a script to copy these files on needed computers (with a shortcut on all users\desktop for example).
Before deployment you can also specify another language, it will create you a configuration.xml file that you can join to your file copy list.
Sorry I won't provide a script as it is very basic to do and I have a deployment software to do so (I'm also a little bit lazy =D ).
After you download the file right click the file choose winzip, extract here. Then run QuickTime.msi /qb or /qn if you don't want to see the progress bar.
For a Basic command line install batch file First start the QuickTimeInstaller.exe Goto your %temp% directory and copy out QuickTime.msi, AppleSoftwareUpdate.msi, and AppleApplicationSupport.msi to your deployment directory.
Open notepad, paste in the lines below and save it as installQuickTime.cmd
msiexec /passive /i (PathToFile)QuickTime.msi
msiexec /passive /i (PathToFile)AppleSoftwareUpdate.msi
msiexec /passive /i (PathToFile)AppleApplicationSupport.msi
This is the quick and dirty method to deploy the app to your users. You can install the software silently to a group of machines using a dos for loop and either the AT or schedule tasks command.
as of 1:14 PM 7/24/2009 EST
* install
* set options you like
* copy the QuickTime.qtp
# almost silent install ... whocares works over Rcon so im good
QuickTimeInstaller.exe /passive
# copy the config into all
FOR /F "delims==" %%A IN ('DIR/B "C:\Documents and Settings"') DO mkdir "C:\Documents and Settings\%%A\Local Settings\Application Data\Apple Computer\QuickTime"
FOR /F "delims==" %%A IN ('DIR/B "C:\Documents and Settings"') DO copy /y "%path1%QuickTime.qtp" "C:\Documents and Settings\%%A\Local Settings\Application Data\Apple Computer\QuickTime"
rmccurdy_com out !
**************************
** About version 7.64 **
**************************
I found a way to install Quicktime WITHOUT AppleApplicationSupport and AppleSoftwareUpdate, Insert these 2 property :
ASUWISINSTALLED={6956856F-B6B3-4BE0-BA0B-8F495BE32033} APPLEAPPLICATIONSUPPORTISINSTALLED={0C34B801-6AEC-4667-B053-03A67E2D0415}
Ex. : msiexec /i QuickTime7.64.msi ASUWISINSTALLED={6956856F-B6B3-4BE0-BA0B-8F495BE32033} APPLEAPPLICATIONSUPPORTISINSTALLED={0C34B801-6AEC-4667-B053-03A67E2D0415} /qn
Enjoy!
7.6 Quicktime
Brother above i think when you are talking about the "com.apple" you are thinking mac. Here is how i got it down and dirty. Run the installer, copy the msi you have heard teh story about thousand times before. The guy above me has the right idea the XML is spot on you need that and the quicktime.qtp. Copy those to the corrisponding folders for your users application data, local app data. For you DLU peeps make the folders in your Default Profile and you shall see the sunny start to a friday. Note that if you don't customize your build to exclude the startup it can place it on the current user HKCU/Soft/Microsoft/Windows/CurrentVersion/Run and also HLKM/Soft/Microsoft/Windows/CurrentVersion/Run kill those keys with the good ol' Minus and you are in! God bless brothers from other mothers and sisters from other misters.
View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.