<div dir="ltr"><div><div>I do not check for Win8 in the general package where I assign the different releases.<br><br></div>I check for Win8 in the package of the different releases, see the flash player 11 and 12 release packages.<br>
<br>---<br></div>Stefan<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-04 Paul McGrath <span dir="ltr"><<a href="mailto:J.P.McGrath@leeds.ac.uk" target="_blank">J.P.McGrath@leeds.ac.uk</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Stefan,<br>
<br>
Your example for XP and above is XP '5\.[1-9]' and the Windows Vista, 7 and 8 '6\.\d' plus the ')\.\d{4}'<br>
<div class="im">os="(5\.[1-9]|6\.\d)\.\d{4}"<br>
<br>
</div>so if I am doing Vista ' 6\.0\.\d{4}' and Windows 7 ' 6\.1\.\d{4}´ BUT NOT Windows 8 then should it be like this?<br>
os="( 6\.0\.\d{4}| 6\.1\.\d{4})"<br>
or<br>
os="(6\.0|6\.1)\.\d{4}" (not sure about this one ;-))<br>
<br>
<br>
Just to repeat my original post Flash ActiveX is now a component part of Windows 8 and managed by Microsoft update so a WPKG install will fail with a 1722 error. Obviously the Firefox/Chrome Flash Plugin still needs to be installed in Windows 8.<br>
<br>
thanks<br>
<span class="HOEnZb"><font color="#888888">Paul<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
-----Original Message-----<br>
From: <a href="mailto:wpkg-users-bounces@lists.wpkg.org">wpkg-users-bounces@lists.wpkg.org</a> [mailto:<a href="mailto:wpkg-users-bounces@lists.wpkg.org">wpkg-users-bounces@lists.wpkg.org</a>] On Behalf Of Stefan Pendl<br>
Sent: 03 February 2014 21:41<br>
To: <a href="mailto:wpkg-users@lists.wpkg.org">wpkg-users@lists.wpkg.org</a><br>
Subject: Re: [wpkg-users] OS check matching<br>
<br>
Am 03.02.2014 22:15, schrieb Paul McGrath:<br>
> Hi,<br>
> I am having some problems with check and install OS matching.<br>
> Windows 8 already includes Flash Player ActiveX so I want to skip the<br>
> check and install for Windows 8 so I have this <check type="uninstall"<br>
> os="windows.+6\.\d{1}\.\d{4}|windows.+6\.\d{0}\.\d{4}"<br>
> condition="exits" path"Adobe Flash Player %version% Active" /> <!--<br>
> 6\.\d{1} = W7 6\.\d{0} = Vista --><br>
><br>
> then for installing<br>
> <install os="windows.+6\.\d{1}\.\d{4}|windows.+6\.\d{0}\.\d{4}"<br>
> cmd="msiexec /i flash.%version%.activex.msi /qn /norestart " /><br>
><br>
> In the install case it still attempts to run in Windows 8 when it<br>
> should be ignoring because I've put in W7 and Vista only. I've<br>
> delimited then in OS using |<br>
><br>
> Can anyone advise if I am using the correct matching "windows.+6....." for Windows 7 and Vista? Also, can I delimit them with a pipe | ?<br>
> thanks<br>
> Paul<br>
><br>
You have the os match wrong, the pipe must be used inside of brackets.<br>
<br>
Below find my flash player packages.<br>
<br>
Assign the package AdobeFlashPlayer through a common profile, this package will include the correct flash player version based on the os.<br>
<br>
The packages AdobeFlashPlayer11 and 12 include the checks for Windows 8 and higher to skip the Active X install on it.<br>
<br>
'---code start (watch for line wraps)<br>
<br>
<?xml version="1.0" encoding="UTF-8"?><br>
<br>
<packages:packages xmlns:packages="<a href="http://www.wpkg.org/packages" target="_blank">http://www.wpkg.org/packages</a>" xmlns:wpkg="<a href="http://www.wpkg.org/wpkg" target="_blank">http://www.wpkg.org/wpkg</a>"<br>
xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>" xsi:noNamespaceSchemaLocation="../xsd/packages.xsd" ><br>
<br>
<package<br>
id="AdobeFlashPlayer"<br>
name="Adobe Flash Player"<br>
revision="2012.02.19"<br>
reboot="false"<br>
priority="10"<br>
execute="once"><br>
<br>
<!-- install version 10 on Windows 2000 --><br>
<include package-id="AdobeFlashPlayer10" os="5\.0\.\d{4}"/><br>
<br>
<!-- install version 12 on Windows XP and above --><br>
<include package-id="AdobeFlashPlayer12" os="(5\.[1-9]|6\.\d)\.\d{4}" /><br>
</package><br>
<br>
<package id="AdobeFlashPlayer10" name="Adobe Flash Player 10" revision="%PKG_VERSION%" reboot="false" priority="10"><br>
<br>
<variable name="PKG_VERSION" value="10.3.183.11" /><br>
<variable name="PKG_SOURCE" value="%SOFTWARE%\Flash Player" /><br>
<variable name="PKG_DESTINATION" value="%SystemRoot%\System32\Macromed\Flash"/><br>
<br>
<check type="uninstall" condition="versiongreaterorequal" path="Adobe Flash Player .+ ActiveX.*" value="%PKG_VERSION%" /><br>
<check type="uninstall" condition="versiongreaterorequal" path="Adobe Flash Player .+ Plugin.*" value="%PKG_VERSION%" /><br>
<br>
<install include="remove" /><br>
<install cmd='"%PKG_SOURCE%\install_flash_player_10_active_x.exe" /install ' /><br>
<install cmd='"%PKG_SOURCE%\install_flash_player_10.exe" /install ' /><br>
<br>
<upgrade include="install" /><br>
<br>
<remove cmd='"%PKG_SOURCE%\uninstall_flash_player.exe" -uninstall' ><br>
<exit code="any" /><br>
</remove><br>
</package><br>
<br>
<package id="AdobeFlashPlayer11" name="Adobe Flash Player 11" revision="%PKG_VERSION%" reboot="false" priority="10"><br>
<br>
<variable name="PKG_VERSION" value="11.9.900.170" /><br>
<variable name="PKG_SOURCE" value="%SOFTWARE%\Flash Player" /><br>
<br>
<check type="uninstall" condition="versiongreaterorequal" path="Adobe Flash Player .+ ActiveX.*" value="%PKG_VERSION%"<br>
os="(5\.[1-9]|6\.[01])\.\d{4}"/><br>
<check type="uninstall" condition="versiongreaterorequal" path="Adobe Flash Player .+ Plugin.*" value="%PKG_VERSION%" /><br>
<br>
<install include="remove" /><br>
<install cmd='"%PKG_SOURCE%\install_flash_player_11_active_x.exe" /install ' os="(5\.[1-9]|6\.[01])\.\d{4}"/><br>
<install cmd='"%PKG_SOURCE%\install_flash_player_11_plugin.exe" /install ' /><br>
<br>
<upgrade include="install" /><br>
<br>
<remove cmd='"%PKG_SOURCE%\install_flash_player_11_active_x.exe" -uninstall' ><br>
<exit code="any" /><br>
</remove><br>
<remove cmd='"%PKG_SOURCE%\install_flash_player_11_plugin.exe" -uninstall' ><br>
<exit code="any" /><br>
</remove><br>
</package><br>
<br>
<package id="AdobeFlashPlayer12" name="Adobe Flash Player 12" revision="%PKG_VERSION%" reboot="false" priority="10"><br>
<br>
<variable name="PKG_VERSION" value="12.0.0.38" /><br>
<variable name="PKG_SOURCE" value="%SOFTWARE%\Flash Player" /><br>
<br>
<check type="uninstall" condition="versiongreaterorequal" path="Adobe Flash Player .+ ActiveX.*" value="%PKG_VERSION%"<br>
os="(5\.[1-9]|6\.[01])\.\d{4}"/><br>
<check type="uninstall" condition="versiongreaterorequal" path="Adobe Flash Player .+ Plugin.*" value="%PKG_VERSION%" /><br>
<br>
<install include="remove" /><br>
<install cmd='"%PKG_SOURCE%\install_flash_player_12_active_x.exe" /install ' os="(5\.[1-9]|6\.[01])\.\d{4}"/><br>
<install cmd='"%PKG_SOURCE%\install_flash_player_12_plugin.exe" /install ' /><br>
<br>
<upgrade include="install" /><br>
<br>
<remove cmd='"%PKG_SOURCE%\install_flash_player_12_active_x.exe" -uninstall' ><br>
<exit code="any" /><br>
</remove><br>
<remove cmd='"%PKG_SOURCE%\install_flash_player_12_plugin.exe" -uninstall' ><br>
<exit code="any" /><br>
</remove><br>
</package><br>
</packages:packages><br>
<br>
'---code end<br>
<br>
--<br>
Stefan P.<br>
<br>
Top-posting:<br>
A: Because it messes up the order in which people normally read text.<br>
Q: Why is top-posting such a bad thing?<br>
A: Top-posting.<br>
Q: What is the most annoying thing in e-mail?<br>
<br>
</div></div><div class="HOEnZb"><div class="h5">-------------------------------------------------------------------------<br>
Hotel discounts, best prices: <a href="http://www.booking.com/index.html?aid=366545" target="_blank">http://www.booking.com/index.html?aid=366545</a><br>
-------------------------------------------------------------------------<br>
wpkg-users mailing list archives >> <a href="http://lists.wpkg.org/pipermail/wpkg-users/" target="_blank">http://lists.wpkg.org/pipermail/wpkg-users/</a><br>
_______________________________________________<br>
wpkg-users mailing list<br>
<a href="mailto:wpkg-users@lists.wpkg.org">wpkg-users@lists.wpkg.org</a><br>
<a href="http://lists.wpkg.org/mailman/listinfo/wpkg-users" target="_blank">http://lists.wpkg.org/mailman/listinfo/wpkg-users</a><br>
-------------------------------------------------------------------------<br>
Hotel discounts, best prices: <a href="http://www.booking.com/index.html?aid=366545" target="_blank">http://www.booking.com/index.html?aid=366545</a><br>
-------------------------------------------------------------------------<br>
wpkg-users mailing list archives >> <a href="http://lists.wpkg.org/pipermail/wpkg-users/" target="_blank">http://lists.wpkg.org/pipermail/wpkg-users/</a><br>
_______________________________________________<br>
wpkg-users mailing list<br>
<a href="mailto:wpkg-users@lists.wpkg.org">wpkg-users@lists.wpkg.org</a><br>
<a href="http://lists.wpkg.org/mailman/listinfo/wpkg-users" target="_blank">http://lists.wpkg.org/mailman/listinfo/wpkg-users</a><br>
</div></div></blockquote></div><br></div>