Difference between revisions of "Microsoft Silverlight"
m |
(Added Silverlight 3.) |
||
Line 1: | Line 1: | ||
This is a silent installer for Microsoft Silverlight, a plugin for rich interactive web content, in some extent similar to Macromedia Flash Player. | This is a silent installer for Microsoft Silverlight, a plugin for rich interactive web content, in some extent similar to Macromedia Flash Player. | ||
+ | |||
+ | == Silverlight 2 == | ||
<source lang="xml"> | <source lang="xml"> | ||
Line 16: | Line 18: | ||
Silverlight install sometimes (always for some) exits with strange error codes (and says that it has done a rollback), yet the plugin is working fine after such fiasco. | Silverlight install sometimes (always for some) exits with strange error codes (and says that it has done a rollback), yet the plugin is working fine after such fiasco. | ||
+ | |||
+ | |||
+ | == Silverlight 3 == | ||
+ | |||
+ | <source lang="xml"> | ||
+ | <package id="silverlight3" name="SilverLight 3 with auto-update check disabled" revision="1" reboot="false" priority="0"> | ||
+ | <check type='file' condition='versionequalto' path='%PROGRAMFILES%\Microsoft Silverlight\sllauncher.exe' value='3.0.40624.0' /> | ||
+ | <install cmd='"%SOFTWARE%\silverlight3\SilverLight.exe" /q /noupdate' /> | ||
+ | <upgrade cmd='"%SOFTWARE%\silverlight3\SilverLight.exe" /q /noupdate' /> | ||
+ | <remove cmd='MsiExec.exe /X{89F4137D-6C26-4A84-BDB8-2E5A4BB71E00}' /> | ||
+ | </package> | ||
+ | </source> | ||
+ | |||
+ | |||
+ | Please notice how check has to be performed on an executable since the uninstall string seems to always be "Microsoft Silverlight" despite the version. Also notice that uninstallation GUID seems to always be {89F4137D-6C26-4A84-BDB8-2E5A4BB71E00} despite the version. | ||
+ | |||
+ | Some documentation on Silveright installation switches: http://blogs.technet.com/extreme/archive/2009/04/02/silverlight-installation-switches.aspx. | ||
+ | |||
+ | The "/noupdate" installation switch seems to set the "HKEY_LOCAL_MACHINE\Software\Microsoft\Silverlight" "UpdateMode" to DWORD value "2". | ||
+ | |||
[[Category:Silent Installers]] | [[Category:Silent Installers]] |
Revision as of 07:57, 14 July 2009
This is a silent installer for Microsoft Silverlight, a plugin for rich interactive web content, in some extent similar to Macromedia Flash Player.
Silverlight 2
<package
id="silverlight"
name="SilverLight"
revision="1"
reboot="false"
priority="0">
<check type="uninstall" condition="exists" path="Microsoft Silverlight" />
<install cmd='"%SOFTWARE%\silverlight\SilverLight 2.0.exe" /q' />
<upgrade cmd='"%SOFTWARE%\silverlight\SilverLight 2.0.exe" /q' />
<remove cmd='MsiExec.exe /X{89F4137D-6C26-4A84-BDB8-2E5A4BB71E00}' />
</package>
Silverlight install sometimes (always for some) exits with strange error codes (and says that it has done a rollback), yet the plugin is working fine after such fiasco.
Silverlight 3
<package id="silverlight3" name="SilverLight 3 with auto-update check disabled" revision="1" reboot="false" priority="0">
<check type='file' condition='versionequalto' path='%PROGRAMFILES%\Microsoft Silverlight\sllauncher.exe' value='3.0.40624.0' />
<install cmd='"%SOFTWARE%\silverlight3\SilverLight.exe" /q /noupdate' />
<upgrade cmd='"%SOFTWARE%\silverlight3\SilverLight.exe" /q /noupdate' />
<remove cmd='MsiExec.exe /X{89F4137D-6C26-4A84-BDB8-2E5A4BB71E00}' />
</package>
Please notice how check has to be performed on an executable since the uninstall string seems to always be "Microsoft Silverlight" despite the version. Also notice that uninstallation GUID seems to always be {89F4137D-6C26-4A84-BDB8-2E5A4BB71E00} despite the version.
Some documentation on Silveright installation switches: http://blogs.technet.com/extreme/archive/2009/04/02/silverlight-installation-switches.aspx.
The "/noupdate" installation switch seems to set the "HKEY_LOCAL_MACHINE\Software\Microsoft\Silverlight" "UpdateMode" to DWORD value "2".