Changes

Flash Player

4,833 bytes added, 03:26, 10 December 2014
Updated for 16.0.0.235, added a note about filenames & amended a statement about mismatched versions based on current information
Installer: http://www.adobe.com/special/products/flashplayer/fp_distribution3.html
==Adobe Flash Player 14, 13, 12 and 11 (Since version 11.2)16==
Package written to keep in-line with previously documented working solutions which should give you the ability to just download the latest and update version number to make the jump to future versions.
Flash Player 12 onwards features "Universal 32-bit The files you download from Adobe are not named the way this package requires. You must rename the NPAPI plugin from <code>install_flash_player.exe</code> to <code>install_flash_player_%MAJORVERSION%_npapi.exe</code> and 64-bit installers for Mac the ActiveX plugin from <code>install_flash_player_ax.exe</code> to <code>install_flash_player_%MAJORVERSION%_active_x.exe</code>, e.g. <code>install_flash_player_16.0.0.235_npapi.exe</code> and Windows browsers"<code>install_flash_player_16.0.0.235_active_x.exe</code>. The uninstall check for the NPAPI plugin changed slightly for version 16, but it's otherwise the same as 15.
==== Package for WPKG 1.2.1 or higher ====
Since Version 14.0.0.179 176 of the ActiveX Flash Player was only released for NPAPI and Browser Plugin based Flasplayer has different Versionsversion 14. Common checks must be done by 0.0.179 was only released for ActiveX, so this package supports checking different versionsof each plugin. As of 16.0.0.235 no further mismatched-version releases have been made.
<source lang="xml">
<variable name="PKG_NAME" value="ADOBE-FLASHPLAYER" />
<variable name="PKG_VERSION" value="1416.0.0.179235" />
<variable name="PLUGIN_VERSIONNPAPI_VERSION" value="1416.0.0.179235" /> <variable name="ACTIVEX_VERSION" value="1416.0.0.176235" />
<variable name="PLUGIN_shortversionNPAPI_shortversion" value="14_0_0_17916_0_0_235" /> <variable name="ACTIVEX_shortversion" value="14_0_0_17616_0_0_235" />
<variable name="MAJORVERSION" value="1416" />
<variable name="PKG_SOURCE" value="%SWSOURCE%\AdobeFlashPlayer\V14\ALL" /><!-- set this to your environment, %SWSOURCE% my be \\servername\path -->
<variable name="PKG_FILE_ACTIVEX" value="Flash32_%ACTIVEX_shortversion%.ocx" />
<variable name="PKG_FILE_PLUGINPKG_FILE_NPAPI" value="NPSWF32_%PLUGIN_shortversion%.dll" />
<variable name="PKG_FILE_ACTIVEX_X64" value="Flash64_%ACTIVEX_shortversion%.ocx" />
<variable name="PKG_FILE_PLUGIN_X64PKG_FILE_NPAPI_X64" value="NPSWF64_%PLUGIN_shortversion%.dll" />
<check type="uninstall" condition="versiongreaterorequal" path="Adobe Flash Player .+ ActiveX.*" value="%ACTIVEX_VERSION%" />
<check type="uninstall" condition="versiongreaterorequal" path="Adobe Flash Player .+ PluginNPAPI.*" value="%PLUGIN_VERSIONNPAPI_VERSION%" />
<check type="file" condition="versiongreaterorequal" path="%PKG_DESTINATION%\%PKG_FILE_ACTIVEX%" value="%ACTIVEX_VERSION%" />
<check type="file" condition="versiongreaterorequal" path="%PKG_DESTINATION%\%PKG_FILE_PLUGINPKG_FILE_NPAPI%" value="%PLUGIN_VERSIONNPAPI_VERSION%" />
<check type="file" condition="versiongreaterorequal" path="%PKG_DESTINATION_X64%\%PKG_FILE_ACTIVEX_X64%" value="%ACTIVEX_VERSION%" architecture="x64" />
<check type="file" condition="versiongreaterorequal" path="%PKG_DESTINATION_X64%\%PKG_FILE_PLUGIN_X64PKG_FILE_NPAPI_X64%" value="%PLUGIN_VERSIONNPAPI_VERSION%" architecture="x64" />
<commands>
<command type="install" cmd='"%PKG_SOURCE%\install_flash_player_%MAJORVERSION%_active_x.exe" /install ' />
<command type="install" cmd='"%PKG_SOURCE%\install_flash_player_%MAJORVERSION%_plugin_npapi.exe" /install ' />
<command type="remove" cmd="taskkill /F /IM Firefox.exe">
== Older Versions ==
 
===Adobe Flash Player 11.2 through 15==
 
Package written to keep in-line with previously documented working solutions which should give you the ability to just download the latest and update version number to make the jump to future versions.
 
The files you download from Adobe are not named the way this package requires. You must rename the NPAPI plugin from <code>install_flash_player.exe</code> to <code>install_flash_player_%MAJORVERSION%_plugin.exe</code> and the ActiveX plugin from <code>install_flash_player_ax.exe</code> to <code>install_flash_player_%MAJORVERSION%_active_x.exe</code>, e.g. <code>install_flash_player_16.0.0.235_plugin.exe</code> and <code>install_flash_player_16.0.0.235_active_x.exe</code>.
 
Flash Player 12 onwards features "Universal 32-bit and 64-bit installers for Mac and Windows browsers".
 
==== Package for WPKG 1.2.1 or higher ====
 
Version 14.0.0.176 of the Flash Player was only released for NPAPI and version 14.0.0.179 was only released for ActiveX, so this package supports checking different versions of each plugin. As of 16.0.0.235 no further mismatched-version releases have been made.
 
<source lang="xml">
 
<package id="AdobeFlashPlayer"
name="AdobeFlashPlayer"
revision="%PKG_VERSION%"
reboot="false"
priority="10">
 
<variable name="PKG_NAME" value="ADOBE-FLASHPLAYER" />
 
<variable name="PKG_VERSION" value="14.0.0.179" />
<variable name="PLUGIN_VERSION" value="14.0.0.179" />
<variable name="ACTIVEX_VERSION" value="14.0.0.176" />
<variable name="PLUGIN_shortversion" value="14_0_0_179" />
<variable name="ACTIVEX_shortversion" value="14_0_0_176" />
<variable name="MAJORVERSION" value="14" />
 
<variable name="PKG_SOURCE" value="%SWSOURCE%\AdobeFlashPlayer\V14\ALL" /><!-- set this to your environment, %SWSOURCE% my be \\servername\path -->
<variable name="PKG_DESTINATION" value="%SystemRoot%\System32\Macromed\Flash"/>
<variable name="PKG_DESTINATION" value="%SystemRoot%\SysWOW64\Macromed\Flash" architecture="x64"/>
<variable name="PKG_DESTINATION_X64" value="%SystemRoot%\System32\Macromed\Flash"/>
<variable name="PKG_FILE_ACTIVEX" value="Flash32_%ACTIVEX_shortversion%.ocx" />
<variable name="PKG_FILE_PLUGIN" value="NPSWF32_%PLUGIN_shortversion%.dll" />
<variable name="PKG_FILE_ACTIVEX_X64" value="Flash64_%ACTIVEX_shortversion%.ocx" />
<variable name="PKG_FILE_PLUGIN_X64" value="NPSWF64_%PLUGIN_shortversion%.dll" />
<check type="uninstall" condition="versiongreaterorequal" path="Adobe Flash Player .+ ActiveX.*" value="%ACTIVEX_VERSION%" />
<check type="uninstall" condition="versiongreaterorequal" path="Adobe Flash Player .+ Plugin.*" value="%PLUGIN_VERSION%" />
<check type="file" condition="versiongreaterorequal" path="%PKG_DESTINATION%\%PKG_FILE_ACTIVEX%" value="%ACTIVEX_VERSION%" />
<check type="file" condition="versiongreaterorequal" path="%PKG_DESTINATION%\%PKG_FILE_PLUGIN%" value="%PLUGIN_VERSION%" />
 
<check type="file" condition="versiongreaterorequal" path="%PKG_DESTINATION_X64%\%PKG_FILE_ACTIVEX_X64%" value="%ACTIVEX_VERSION%" architecture="x64" />
<check type="file" condition="versiongreaterorequal" path="%PKG_DESTINATION_X64%\%PKG_FILE_PLUGIN_X64%" value="%PLUGIN_VERSION%" architecture="x64" />
<commands>
<command type="install" include="remove" />
<command type="downgrade" include="install" />
<command type="upgrade" include="install" />
 
<command type="install" cmd='"%PKG_SOURCE%\install_flash_player_%MAJORVERSION%_active_x.exe" /install ' />
<command type="install" cmd='"%PKG_SOURCE%\install_flash_player_%MAJORVERSION%_plugin.exe" /install ' />
<command type="remove" cmd="taskkill /F /IM Firefox.exe">
<exit code="0" />
<exit code="128" />
<exit code="1" />
</command>
<command type="remove" cmd="taskkill /F /IM iexplore.exe">
<exit code="0" />
<exit code="128" />
<exit code="1" />
</command>
<command type="remove" cmd='"%PKG_SOURCE%\uninstall_flash_player.exe" -uninstall'>
<exit code="any" />
</command>
</commands>
</package>
</source>
=== Adobe Flash Player 11.1 ===
91
edits