577
edits
Changes
Let's not lose the 11.1 info just yet, have both 11.1 and 11.2
** [http://download.macromedia.com/pub/flashplayer/current/uninstall_flash_player_64bit.exe Cleanup Tool (64-bit)]
== Adobe Flash Player 11 .2 ==
Starting with Flash Player 11 there is a separate download available for 64-bit Windows.
</install>
<install cmd='%SOFTWARE%\flash\install_flash_player_11_active_x_32bitinstall_flash_player_12_active_x_32bit.exe -install' />
<upgrade cmd='taskkill /f /im iexplore.exe'>
</upgrade>
<upgrade cmd='%SOFTWARE%\flash\install_flash_player_11_active_x_32bitinstall_flash_player_12_active_x_32bit.exe -install' />
<remove cmd='%COMSPEC% /C if exist "%SYSTEMROOT%\system32\Macromed\Flash\FlashUtil32_%shortversion%_ActiveX.exe" "%SYSTEMROOT%\system32\Macromed\Flash\FlashUtil32_%shortversion%_ActiveX.exe" /uninstall'/>
</install>
<install cmd='%SOFTWARE%\flash\install_flash_player_11_plugin_32bitinstall_flash_player_32bit.exe -install' />
<upgrade cmd='taskkill /f /im firefox.exe'>
</package>
</source>
== Adobe Flash Player 11.1 ==
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 / ActiveX control version ===
<source lang="xml">
<package
id="flashplayer_ie"
name="Adobe Flash Player for IE"
revision="%version%"
reboot="false"
priority="10">
<variable name="version" value="11.1.102.63" />
<variable name="shortversion" value="11g" />
<check type="logical" condition="or">
<check
type="file"
condition="versionequalto"
path="%SYSTEMROOT%\system32\Macromed\Flash\Flash%shortversion%.ocx"
value="%version%" />
<check
type="file"
condition="versionequalto"
path="%SYSTEMROOT%\SysWOW64\Macromed\Flash\Flash%shortversion%.ocx"
value="%version%" />
</check>
<install cmd='taskkill /f /im iexplore.exe'>
<exit code='0' />
<exit code='1' />
<exit code='128' />
</install>
<install cmd='%SOFTWARE%\flash\uninstall_flash_player_32bit.exe -uninstall activex'>
<exit code='any' />
</install>
<install cmd='%SOFTWARE%\flash\install_flash_player_11_active_x_32bit.exe -install' />
<upgrade cmd='taskkill /f /im iexplore.exe'>
<exit code='0' />
<exit code='1' />
<exit code='128' />
</upgrade>
<upgrade cmd='%SOFTWARE%\flash\uninstall_flash_player_32bit.exe -uninstall activex'>
<exit code='any' />
</upgrade>
<upgrade cmd='%SOFTWARE%\flash\install_flash_player_11_active_x_32bit.exe -install' />
<remove cmd='%COMSPEC% /C if exist "%SYSTEMROOT%\system32\Macromed\Flash\FlashUtil%shortversion%_ActiveX.exe" "%SYSTEMROOT%\system32\Macromed\Flash\FlashUtil%shortversion%_ActiveX.exe" /uninstall'/>
<remove cmd='%COMSPEC% /C if exist "%SYSTEMROOT%\SysWOW64\Macromed\Flash\FlashUtil%shortversion%_ActiveX.exe" "%SYSTEMROOT%\system32\Macromed\Flash\FlashUtil%shortversion%_ActiveX.exe" /uninstall'/>
</package>
</source>
=== Firefox and Other Browsers / Plugin version ===
<source lang="xml">
<package
id="flashplayer_mozilla"
name="Adobe Flash Player for Mozilla/Opera"
revision="%version%"
reboot="false"
priority="10">
<variable name="version" value="11.1.102.63" />
<variable name="shortversion" value="11g" />
<check type="logical" condition="or">
<check
type="file"
condition="versionequalto"
path="%SYSTEMROOT%\system32\Macromed\Flash\NPSWF32.dll" value="%version%" />
<check
type="file"
condition="versionequalto"
path="%SYSTEMROOT%\SysWOW64\Macromed\Flash\NPSWF32.dll" value="%version%" />
</check>
<install cmd='taskkill /f /im firefox.exe'>
<exit code='0' />
<exit code='1' />
<exit code='128' />
</install>
<install cmd='%SOFTWARE%\flash\uninstall_flash_player_32bit.exe -uninstall plugin'>
<exit code='any' />
</install>
<install cmd='%SOFTWARE%\flash\install_flash_player_11_plugin_32bit.exe -install' />
<upgrade cmd='taskkill /f /im firefox.exe'>
<exit code='0' />
<exit code='1' />
<exit code='128' />
</upgrade>
<upgrade cmd='%SOFTWARE%\flash\uninstall_flash_player_32bit.exe -uninstall plugin'>
<exit code='any' />
</upgrade>
<upgrade cmd='%SOFTWARE%\flash\install_flash_player_11_plugin_32bit.exe -install' />
<remove cmd='%COMSPEC% /C if exist "%SYSTEMROOT%\system32\Macromed\Flash\FlashUtil%shortversion%_Plugin.exe" "%SYSTEMROOT%\system32\Macromed\Flash\FlashUtil%shortversion%_Plugin.exe" /uninstall'/>
<remove cmd='%COMSPEC% /C if exist "%SYSTEMROOT%\SysWOW64\Macromed\Flash\FlashUtil%shortversion%_Plugin.exe" "%SYSTEMROOT%\SysWOW64\Macromed\Flash\FlashUtil%shortversion%_Plugin.exe" /uninstall'/>
</package>
</source>
=== Combined Internet Explorer / ActiveX control version and Firefox and Other Browsers / Plugin version, and 32-bit and 64-bit versions ===
==== 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.1.102.63" />
<variable name="PKG_SOURCE" value="%SOFTWARE%\Flash\%PKG_VERSION%" />
<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="Flash11g.ocx" />
<variable name="PKG_FILE_PLUGIN" value="NPSWF32.dll" />
<variable name="PKG_FILE_ACTIVEX_X64" value="Flash64_11_1_102.ocx" />
<variable name="PKG_FILE_PLUGIN_X64" value="NPSWF64_11_1_102.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_11_active_x_32bit.exe" /install ' />
<install architecture="x86" cmd='"%PKG_SOURCE%\install_flash_player_11_plugin_32bit.exe" /install ' />
<install architecture="x64" cmd='"%PKG_SOURCE%\install_flash_player_11_active_x_64bit.exe" /install ' />
<install architecture="x64" cmd='"%PKG_SOURCE%\install_flash_player_11_plugin_64bit.exe" /install ' />
<upgrade include="install" />
<remove cmd="taskkill /F /IM Firefox.exe">
<exit code="0" />
<exit code="128" />
<exit code="1" />
</remove>
<remove cmd="taskkill /F /IM iexplore.exe">
<exit code="0" />
<exit code="128" />
<exit code="1" />
</remove>
<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>
==== This package works with WPKG 1.2.0 ====
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
<package id="AdobeFlashPlayer" name="Adobe Flash Player (all versions, all platforms)" revision="%PKG_VERSION%" reboot="false" priority="1">
<variable name="PKG_VERSION" value="11.1.102.63" />
<variable name="PKG_SOURCE" value="%SOFTWARE%\Flash\%PKG_VERSION%" />
<check type="logical" condition="and" >
<check type="uninstall" condition="versionequalto" path="Adobe Flash Player .+ ActiveX.*" value="%PKG_VERSION%" />
<check type="uninstall" condition="versionequalto" path="Adobe Flash Player .+ Plugin.*" value="%PKG_VERSION%" />
</check>
<install cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == x86 "%PKG_SOURCE%\uninstall_flash_player_32bit.exe" -uninstall' ><exit code="any" /></install>
<install cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == x86 "%PKG_SOURCE%\install_flash_player_11_active_x_32bit.exe" /install' />
<install cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == x86 "%PKG_SOURCE%\install_flash_player_11_plugin_32bit.exe" /install ' />
<install cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == AMD64 "%PKG_SOURCE%\uninstall_flash_player_64bit.exe" -uninstall' ><exit code="any" /></install>
<install cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == AMD64 "%PKG_SOURCE%\install_flash_player_11_active_x_64bit.exe" /install ' />
<install cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == AMD64 "%PKG_SOURCE%\install_flash_player_11_plugin_64bit.exe" /install ' />
<upgrade cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == x86 "%PKG_SOURCE%\uninstall_flash_player_32bit.exe" -uninstall' ><exit code="any" /></upgrade>
<upgrade cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == x86 "%PKG_SOURCE%\install_flash_player_11_active_x_32bit.exe" /install' />
<upgrade cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == x86 "%PKG_SOURCE%\install_flash_player_11_plugin_32bit.exe" /install ' />
<upgrade cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == AMD64 "%PKG_SOURCE%\uninstall_flash_player_64bit.exe" -uninstall' ><exit code="any" /></upgrade>
<upgrade cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == AMD64 "%PKG_SOURCE%\install_flash_player_11_active_x_64bit.exe" /install ' />
<upgrade cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == AMD64 "%PKG_SOURCE%\install_flash_player_11_plugin_64bit.exe" /install ' />
<remove cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == x86 "%PKG_SOURCE%\uninstall_flash_player_32bit.exe" -uninstall' ><exit code="any" /></remove>
<remove cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == AMD64 "%PKG_SOURCE%\uninstall_flash_player_64bit.exe" -uninstall' ><exit code="any" /></remove>
</package>
</source>
== Adobe Flash Player 10 ==