[wpkg-users] Flash Player

Stefan Pendl stefan.pendl.71 at gmail.com
Fri Sep 30 10:28:01 CEST 2011


>
> I used WPKG with Flash Player package since few months ago without problems.
> But with this package http://wpkg.org/Flash_Player (10.3.183.10), i have some troubles :
>

I am currently using the package below to install both plugins in one go, since I see no reason to install only one or the other due
to its small footprint.

This definition needs wpkg.js 1.2.1-RC20 available at http://wpkg.svn.sourceforge.net/viewvc/wpkg/wpkg/stable/1.2/ due to the
command inheritance feature.


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

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

        <variable name="PKG_VERSION"      value="10.3.183.10" />
        <variable name="PKG_SOURCE"       value="%SOFTWARE%\Flash Player" />
        <variable name="PKG_DESTINATION"  value="%SystemRoot%\System32\Macromed\Flash" architecture="x86"/>
        <variable name="PKG_DESTINATION"  value="%SystemRoot%\SysWOW64\Macromed\Flash" architecture="x64"/>
        <variable name="PKG_FILE_ACTIVEX" value="Flash10x.ocx" />
        <variable name="PKG_FILE_PLUGIN"  value="NPSWF32.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%"
/>

        <install include="remove" />
        <install cmd='"%PKG_SOURCE%\install_flash_player_ax.exe" /install ' />
        <install cmd='"%PKG_SOURCE%\install_flash_player.exe" /install ' />

        <upgrade include="install" />

        <remove cmd='"%PKG_SOURCE%\uninstall_flash_player.exe" -uninstall' >
            <exit code="any" />
        </remove>
    </package>

'---code end

---
Stefan

Windows 7 Home Premium 64-bit SP1
AMD Turion X2 RM-70 2GHz, 4GB RAM

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?




More information about the wpkg-users mailing list