Changes

Jump to: navigation, search

Flash Player

216 bytes added, 12:09, 15 September 2014
Package for WPKG 1.2.1 or higher
==== Package for WPKG 1.2.1 or higher ====
 
Since Version 14.0.0.179 the ActiveX and Browser Plugin based Flasplayer has different Versions. Common checks must be done by different versions.
<source lang="xml">
<package id="AdobeFlashPlayerADOBE-FLASHPLAYER" name="Adobe Flash PlayerADOBE-FLASHPLAYER" revision="%PKG_VERSION%" reboot="false" priority="10">
<variable name="PKG_VERSION" value="13.0.0.214" /> <!-- version of wpkg package --> <variable name="PKG_VERSION_ACTIVEX" value="13.0.0.214" /> <!-- use "." separator --> <variable name="PKG_VERSION_PLUGINPKG_NAME" value="13.0.0.214" /> <variable name="shortversion_activex" value="13_0_0_214" /> <!ADOBE-- use "_" separator --> <variable name="shortversion_plugin" value="13_0_0_214" /> <variable name="PKG_MAJ_VERSION" value="13FLASHPLAYER" />
<variable name="PKG_SOURCE" value="Adobe\FlashPlayer\%PKG_VERSION%" /> <!-- edit --> <variable name="PKG_DESTINATION" value="%SystemRoot%\System32\Macromed\Flash14.0.0.179"/> <variable name="PKG_DESTINATION" value="%SystemRoot%\SysWOW64\Macromed\Flash" architecture="x64"/> <variable name="PKG_DESTINATION_X64PLUGIN_VERSION" value="%SystemRoot%\System32\Macromed\Flash14.0.0.179"/> <variable name="PKG_FILE_ACTIVEXACTIVEX_VERSION" value="Flash32_%shortversion_activex%14.ocx0.0.176" /> <variable name="PKG_FILE_PLUGINPLUGIN_shortversion" value="NPSWF32_%shortversion_plugin%.dll14_0_0_179" /> <variable name="PKG_FILE_ACTIVEX_X64ACTIVEX_shortversion" value="Flash64_%shortversion_activex%.ocx14_0_0_176" /> <variable name="PKG_FILE_PLUGIN_X64MAJORVERSION" value="NPSWF64_%shortversion_plugin%.dll14" />
<variable name="PKG_SOURCE" value="%SWSOURCE%\AdobeFlashPlayer\V14\ALL" /> <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="%PKG_VERSION_ACTIVEXACTIVEX_VERSION%" /> <check type="uninstall" condition="versiongreaterorequal" path="Adobe Flash Player .+ Plugin.*" value="%PKG_VERSION_PLUGINPLUGIN_VERSION%" /> <check type="file" condition="versiongreaterorequal" path="%PKG_DESTINATION%\%PKG_FILE_ACTIVEX%" value="%PKG_VERSION_ACTIVEXACTIVEX_VERSION%" /> <check type="file" condition="versiongreaterorequal" path="%PKG_DESTINATION%\%PKG_FILE_PLUGIN%" value="%PKG_VERSION_PLUGINPLUGIN_VERSION%" /> <check type="file" condition="versiongreaterorequal" path="%PKG_DESTINATION_X64%\%PKG_FILE_ACTIVEX_X64%" value="%PKG_VERSION_ACTIVEXACTIVEX_VERSION%" architecture="x64" /> <check type="file" condition="versiongreaterorequal" path="%PKG_DESTINATION_X64%\%PKG_FILE_PLUGIN_X64%" value="%PKG_VERSION_PLUGINPLUGIN_VERSION%" architecture="x64" /> <commands> <command type="install " include="remove" /> <command type="install " cmd='"%SOFTWARE%\%PKG_SOURCE%\install_flash_player_%PKG_MAJ_VERSIONMAJORVERSION%_active_x.exe" /install ' /> <command type="install " cmd='"%SOFTWARE%\%PKG_SOURCE%\install_flash_player_%PKG_MAJ_VERSIONMAJORVERSION%_plugin.exe" /install ' /> <command type="upgrade " include="install" /> <command type="remove " cmd="taskkill /F /IM Firefox.exe"> <exit code="0" /> <exit code="128" /> <exit code="1" /> </removecommand> <command type="remove " cmd="taskkill /F /IM iexplore.exe"> <exit code="0" /> <exit code="128" /> <exit code="1" /> </removecommand> <command type="remove " cmd='"%SOFTWARE%\%PKG_SOURCE%\uninstall_flash_player.exe" -uninstall' > <exit code="any" /> </removecommand> </commands> </package>
</source>
Anonymous user

Navigation menu