152
edits
Changes
Updated to Flash Player 10 for Firefox and Internet Explorer
== Adobe Flash Player 10 for Firefox ==
Installer packaged as an executable, installs as a plugin.
<source lang="xml">
<package id="flashplayer10firefox" name="Adobe Flash Player 10 for Firefox" revision="1" reboot="false" priority="0">
<check type="file" condition="versiongreaterorequal" path="%WINDIR%\system32\Macromed\Flash\NPSWF32.dll" value="10.0.12.36"/>
<install cmd='%SOFTWARE%\Flash\install_flash_player_10.exe /S' />
<upgrade cmd='%SOFTWARE%\Flash\install_flash_player_10.exe /S' />
<remove cmd='%WINDIR%\system32\Macromed\Flash\uninstall_plugin.exe /S'/>
</package>
</source>
It's good to kill Firefox application process before installing, since the installer won't work with browser running. To do this add to code:
<source lang="xml">
<install cmd="taskkill /F /IM Firefox.exe">
<exit code="0" />
<exit code="128" />
</install>
</source>
And of course:
<source lang="xml">
<upgrade cmd="taskkill /F /IM Firefox.exe">
<exit code="0" />
<exit code="128" />
</upgrade>
</source>
== Adobe Flash Player 10 for Internet Explorer ==
Installer packaged as .msi, installs as an ActiveX.
You have to apply for a Distribution License before you can download from Adobe website. Beware that the license does not allow you to share the download link, so read the terms carefully.
<source lang="xml">
<package id="flashplayer10ie" name="Adobe Flash Player 10 for Internet Explorer" revision="1" reboot="false" priority="0">
<check type="logical" condition="and">
<check type="file" condition="versiongreaterorequal" path="%WINDIR%\system32\Macromed\Flash\Flash10a.ocx" value="10.0.12.36"/>
<check type="uninstall" condition="exists" path="Adobe Flash Player 10 ActiveX"/>
</check>
<install cmd='msiexec /q /i %SOFTWARE%\Flash\install_flash_player_10_active_x.msi'>
<exit code="3010" reboot="true" />
</install>
<upgrade cmd='msiexec /q /i %SOFTWARE%\Flash\install_flash_player_10_active_x.msi'>
<exit code="3010" reboot="true" />
</upgrade>
<remove cmd='MsiExec.exe /qn /X{2BD2FA21-B51D-4F01-94A7-AC16737B2163}'/>
</package>
</source>
== Adobe Flash Player 9.0.124.0 for Firefox ==
</upgrade>
</source>
== Adobe Flash Player 9.0.124.0 for Internet Explorer ==