0
edits
Changes
added combined 32-bit and 64-bit Windows package for both, IE and others
== Adobe Flash Player 11 ==
Starting with Flash Player 11 there is a separate download available for 64-bit Windows.
The 32-bit installer will refuse to install on 64-bit systems.
The 64-bit installer installs the 32-bit and 64-bit executables.
=== Internet Explorer ===
<remove cmd='%COMSPEC% /C if exist "%SYSTEMROOT%\SysWOW64\Macromed\Flash\FlashUtil%shortversion%_Plugin.exe" "%SYSTEMROOT%\system32\Macromed\Flash\FlashUtil%shortversion%_Plugin.exe" /uninstall'/>
</package>
</source>
=== Combined 32-bit and 64-bit Windows package for both, IE and others ===
* Download files for install and upgrade:
** [http://fpdownload.adobe.com/get/flashplayer/current/install_flash_player_32bit.exe Installer Others 32-bit]
** [http://fpdownload.adobe.com/get/flashplayer/current/install_flash_player_64bit.exe Installer Others 64-bit]
** [http://fpdownload.adobe.com/get/flashplayer/current/install_flash_player_ax_32bit.exe Installer IE 32-bit]
** [http://fpdownload.adobe.com/get/flashplayer/current/install_flash_player_ax_64bit.exe Installer IE 64-bit]
* Download files for remove:
** [http://download.macromedia.com/pub/flashplayer/current/uninstall_flash_player_32bit.exe Cleanup Tool 32-bit]
** [http://download.macromedia.com/pub/flashplayer/current/uninstall_flash_player_64bit.exe Cleanup Tool 64-bit]
'''!!! This package requires wpkg.js 1.2.1-RC20 or higher !!!'''
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
<packages
xmlns:xsi="http://www.wpkg.org/packages"
xsi:noNamespaceSchemaLocation="../xsd/packages.xsd" >
<package id="AdobeFlashPlayer"
name="Adobe Flash Player"
revision="%PKG_VERSION%"
reboot="false"
priority="10">
<variable name="PKG_VERSION" value="11.0.1.152" />
<variable name="PKG_SOURCE" value="%SOFTWARE%\Flash Player" />
<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="Flash11c.ocx" />
<variable name="PKG_FILE_PLUGIN" value="NPSWF32.dll" />
<variable name="PKG_FILE_ACTIVEX_X64" value="Flash64_11_0_1.ocx" />
<variable name="PKG_FILE_PLUGIN_X64" value="NPSWF64_11_0_1.dll" />
<check type="uninstall" condition="versiongreaterorequal" path="Adobe Flash Player .+ ActiveX.*" value="%PKG_VERSION%" />
<check type="uninstall" condition="versiongreaterorequal" path="Adobe Flash Player .+ Plugin.*" value="%PKG_VERSION%" />
<check type="file" condition="versiongreaterorequal" path="%PKG_DESTINATION%\%PKG_FILE_ACTIVEX%" value="%PKG_VERSION%" />
<check type="file" condition="versiongreaterorequal" path="%PKG_DESTINATION%\%PKG_FILE_PLUGIN%" value="%PKG_VERSION%" />
<check type="file" condition="versiongreaterorequal" path="%PKG_DESTINATION_X64%\%PKG_FILE_ACTIVEX_X64%" value="%PKG_VERSION%" architecture="x64" />
<check type="file" condition="versiongreaterorequal" path="%PKG_DESTINATION_X64%\%PKG_FILE_PLUGIN_X64%" value="%PKG_VERSION%" architecture="x64" />
<install include="remove" />
<install architecture="x86" cmd='"%PKG_SOURCE%\install_flash_player_ax_32bit.exe" /install ' />
<install architecture="x86" cmd='"%PKG_SOURCE%\install_flash_player_32bit.exe" /install ' />
<install architecture="x64" cmd='"%PKG_SOURCE%\install_flash_player_ax_64bit.exe" /install ' />
<install architecture="x64" cmd='"%PKG_SOURCE%\install_flash_player_64bit.exe" /install ' />
<upgrade include="install" />
<remove architecture="x86" cmd='"%PKG_SOURCE%\uninstall_flash_player_32bit.exe" -uninstall' >
<exit code="any" />
</remove>
<remove architecture="x64" cmd='"%PKG_SOURCE%\uninstall_flash_player_64bit.exe" -uninstall' >
<exit code="any" />
</remove>
</package>
</packages>
</source>