[wpkg-users] Flash 16 ActiveX Plugin

Stefan Pendl stefan.pendl.71 at gmail.com
Mon Dec 15 10:38:29 CET 2014


Am 15.12.2014 um 06:01 schrieb Jon Rhoades:
> Just testing Flash 16 on Windows 8 and it was failing with an error 
> code of 1031 (install_flash_player_16_active_x.exe" /install).  When I 
> run the package interactively, the installer gives me the message 
> "Your MS IE includes the latest version of Flash installed. Windows 
> Updates will inform you blah blah..."
>
> This is somewhat vexing as, per the wiki, I'm using the same package 
> for XP/Win7/Win8 and for IE/FFox.
>
> Does anybody have a clever solution before I split the packages up?

Windows 8 and 8.1 are already shipping with flash for IE, so you don't 
have to install it.
That has always been the case since the release of Windows 8, so it is 
nothing new for flash 16.

Below find my solution by only installing and checking flash for IE on 
Windows 7 and below.

'---code start (watch for line wraps)

     <package id="AdobeFlashPlayer16" name="Adobe Flash Player 16" revision="%PKG_VERSION%" reboot="false" priority="10">

         <variable name="PKG_VERSION"   value="16.0.0.235" />
         <variable name="PKG_SHORT_VER" value="16" />
         <variable name="PKG_SOURCE"    value="%SOFTWARE%\Flash Player" />

         <check type="uninstall" condition="versiongreaterorequal" path="Adobe Flash Player %PKG_SHORT_VER% ActiveX" value="%PKG_VERSION%"
             os="(5\.[1-9]|6\.[01])\.\d{4}"/>
         <check type="uninstall" condition="versiongreaterorequal" path="Adobe Flash Player %PKG_SHORT_VER% NPAPI"  value="%PKG_VERSION%" />

         <install include="remove" />
         <install cmd='"%PKG_SOURCE%\install_flash_player_%PKG_SHORT_VER%_active_x.exe" /install ' os="(5\.[1-9]|6\.[01])\.\d{4}"/>
         <install cmd='"%PKG_SOURCE%\install_flash_player_%PKG_SHORT_VER%_plugin.exe" /install ' />

         <upgrade include="install" />
         <downgrade include="install" />

         <remove cmd='"%PKG_SOURCE%\install_flash_player_%PKG_SHORT_VER%_active_x.exe" -uninstall' >
             <exit code="any" />
         </remove>
         <remove cmd='"%PKG_SOURCE%\install_flash_player_%PKG_SHORT_VER%_plugin.exe" -uninstall' >
             <exit code="any" />
         </remove>
     </package>

'---code end

--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20141215/03922684/attachment-0003.html>


More information about the wpkg-users mailing list