Difference between revisions of "Quicktime"
(QuickTime 7.6.6 classid) |
(Use single quotes where there are double quotes in a string) |
||
Line 9: | Line 9: | ||
<check type="uninstall" condition="exists" path="QuickTime" /> | <check type="uninstall" condition="exists" path="QuickTime" /> | ||
</check> | </check> | ||
− | <install cmd= | + | <install cmd='"%SOFTWARE%\Apple\Quicktime\7.3.1\QuickTimeInstaller.exe" /quiet /norestart ChkOptInstASU=0 DESKTOP_SHORTCUTS=0 QT_TRAY_ICON=0 SCHEDULE_ASUW=0' timeout="0"> |
<exit code="0" /> | <exit code="0" /> | ||
<exit code="3010" /> | <exit code="3010" /> | ||
Line 17: | Line 17: | ||
<exit code="3010" reboot="true" /> | <exit code="3010" reboot="true" /> | ||
</remove> | </remove> | ||
− | <upgrade cmd= | + | <upgrade cmd='"%SOFTWARE%\Apple\Quicktime\7.3.1\QuickTimeInstaller.exe" /quiet /norestart ChkOptInstASU=0 DESKTOP_SHORTCUTS=0 QT_TRAY_ICON=0 SCHEDULE_ASUW=0' timeout="0"> |
<exit code="0" /> | <exit code="0" /> | ||
<exit code="3010" reboot="true" /> | <exit code="3010" reboot="true" /> | ||
Line 61: | Line 61: | ||
<check type="uninstall" condition="exists" path="QuickTime"/> | <check type="uninstall" condition="exists" path="QuickTime"/> | ||
<install cmd="%SOFTWARE%\Quicktime\QuickTimeInstaller.exe /quiet"/> | <install cmd="%SOFTWARE%\Quicktime\QuickTimeInstaller.exe /quiet"/> | ||
− | <install cmd= | + | <install cmd='cmd /c del /s /q "%ALLUSERSPROFILE%\Desktop\QuickTime Player.lnk"'/> |
<remove cmd="%SYSTEMROOT%\system32\msiexec.exe /i {5E863175-E85D-44A6-8968-82507D34AE7F} /qf /quiet"/> | <remove cmd="%SYSTEMROOT%\system32\msiexec.exe /i {5E863175-E85D-44A6-8968-82507D34AE7F} /qf /quiet"/> | ||
<upgrade cmd="%SOFTWARE%\Quicktime\QuickTimeInstaller.exe /quiet"/> | <upgrade cmd="%SOFTWARE%\Quicktime\QuickTimeInstaller.exe /quiet"/> | ||
− | <upgrade cmd= | + | <upgrade cmd='cmd /c del /s /q "%ALLUSERSPROFILE%\Desktop\QuickTime Player.lnk"'/> |
</package> | </package> | ||
</packages> | </packages> |
Revision as of 07:36, 31 March 2010
This is a silent installer for Quicktime.
Package for Quicktime 7.3.1:
<package id="Apple_Quicktime" name="Apple Quicktime Player" revision="731" priority="40" reboot="false">
<check type="logical" condition="and">
<check type="registry" condition="exists" path="HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E0D51394-1D45-460A-B62D-383BC4F8B335}" />
<check type="uninstall" condition="exists" path="QuickTime" />
</check>
<install cmd='"%SOFTWARE%\Apple\Quicktime\7.3.1\QuickTimeInstaller.exe" /quiet /norestart ChkOptInstASU=0 DESKTOP_SHORTCUTS=0 QT_TRAY_ICON=0 SCHEDULE_ASUW=0' timeout="0">
<exit code="0" />
<exit code="3010" />
</install>
<remove cmd="%windir%\system32\MsiExec.exe /X {E0D51394-1D45-460A-B62D-383BC4F8B335} /qb-!" timeout="0">
<exit code="0" />
<exit code="3010" reboot="true" />
</remove>
<upgrade cmd='"%SOFTWARE%\Apple\Quicktime\7.3.1\QuickTimeInstaller.exe" /quiet /norestart ChkOptInstASU=0 DESKTOP_SHORTCUTS=0 QT_TRAY_ICON=0 SCHEDULE_ASUW=0' timeout="0">
<exit code="0" />
<exit code="3010" reboot="true" />
</upgrade>
</package>
With each QuickTime release, the classID for the registry check and uninstall command changes. To find the correct classID for unknown QuickTime versions, try running strings QuickTimeInstaller.exe | egrep '\{[0-F]+(-[0-F]+){4}\}'
.
For example, QuickTime 7.6.6 uses {28BE306E-5DA6-4F9C-BDB0-DBA3C8C6FFFD}
.
Now you only have to delete the Registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" -> "QuickTime Task". I do this one using KIXTART.
Below a "truly silent" method, taken from http://www.mediamacros.com/item/item-1006687115/:
How do I make Quicktime Install Silently?
First you need the stand alone installer from Quicktime. Then place a text file beside the installer and name it QuickTimeInstaller.ini and place this text inside....
[QTSETUP]
license_option=0
no_dialogs=true
registration_dialog=false
supress_speed_dialog=true
install_qtjava=false
install_qd3d=true
show_sample=false
show_readme=false
show_programfolder=false
install_qtinfo=true
Then I use these settings:
<packages>
<package id="quicktime" name="QuickTime" revision="3" priority="10" reboot="false">
<check type="uninstall" condition="exists" path="QuickTime"/>
<install cmd="%SOFTWARE%\Quicktime\QuickTimeInstaller.exe /quiet"/>
<install cmd='cmd /c del /s /q "%ALLUSERSPROFILE%\Desktop\QuickTime Player.lnk"'/>
<remove cmd="%SYSTEMROOT%\system32\msiexec.exe /i {5E863175-E85D-44A6-8968-82507D34AE7F} /qf /quiet"/>
<upgrade cmd="%SOFTWARE%\Quicktime\QuickTimeInstaller.exe /quiet"/>
<upgrade cmd='cmd /c del /s /q "%ALLUSERSPROFILE%\Desktop\QuickTime Player.lnk"'/>
</package>
</packages>
Note: You may wish to use 'start /wait' to ensure installation is completed before the installer returns.