Changes

Flash Player

3,055 bytes added, 10:10, 28 October 2011
Combined 32-bit and 64-bit Windows package for both, IE and others: Added script compatible with current stable WPKG release
** [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 !!!'''See other script below this one for a backwards-compatible version.
<source lang="xml">
</package>
</packages>
</source>
 
Backwards compatible version (tested using WPKG 1.2 to service requests, and client version 1.3.14). Currently the installer updates the version info in the uninstall section of the registry so it's not necessary to run file-level version checks above.
 
<source lang=xml>
<package id="AdobeFlashPlayer"
name="Adobe Flash Player (all versions, all platforms)"
revision="%PKG_VERSION%"
reboot="false"
priority="10">
<variable name="PKG_VERSION" value="11.0.1.152" />
<variable name="PKG_SOURCE" value="%SOFTWARE%\AdobeFlashPlayer" />
<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% == AMD64 "%PKG_SOURCE%\uninstall_flash_player_64bit.exe" -uninstall' >
<exit code="any" />
</install>
<install cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == x86 "%PKG_SOURCE%\install_flash_player_ax_32bit.exe" /install' />
<install cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == x86 "%PKG_SOURCE%\install_flash_player_32bit.exe" /install ' />
<install cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == AMD64 "%PKG_SOURCE%\install_flash_player_ax_64bit.exe" /install ' />
<install cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == AMD64 "%PKG_SOURCE%\install_flash_player_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% == AMD64 "%PKG_SOURCE%\uninstall_flash_player_64bit.exe" -uninstall' >
<exit code="any" />
</upgrade>
<upgrade cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == x86 "%PKG_SOURCE%\install_flash_player_ax_32bit.exe" /install' />
<upgrade cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == x86 "%PKG_SOURCE%\install_flash_player_32bit.exe" /install ' />
<upgrade cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == AMD64 "%PKG_SOURCE%\install_flash_player_ax_64bit.exe" /install ' />
<upgrade cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == AMD64 "%PKG_SOURCE%\install_flash_player_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>
60
edits