[wpkg-users] check conditions "and or"

Paul McGrath J.P.McGrath at leeds.ac.uk
Tue Jun 15 17:19:09 CEST 2010


Hi,
  Is it possible to combine check conditions?  I ask because with the advent of Windows 7 64bit the %programfiles% variable becomes inaccurate for file location between XP and Win7 64.  I'll show you what I would like to achieve

<check type="logical" condition="and">
        <check type="uninstall" condition="exists" path="McAfee VirusScan Enterprise" />
   <check type="logical" condition="or">
        <check type="file" condition="versiongreaterorequal" path="%programfiles%\mcafee\virusscan enterprise\mcupdate.exe" value="8.7.0.659" />
        <check type="file" condition="versiongreaterorequal" path="%programfiles(x86)%\mcafee\virusscan enterprise\mcupdate.exe" value="8.7.0.659" />
 </check>

If this is not possible now could it be possible in the future?

I would prefer this to creating multiple packages and profiles for multiple OS.

Thanks
Paul

------------------------------
Paul McGrath,
IT Manager,
Leeds Institute of Molecular Medicine,
St James's University Hospital,
Beckett Street, Leeds, LS9 7TF, UK
Ext.....: Uni - 38630, NHS - (89)38630
Tel.....: +44 113 34 38630
Email...: j.p.mcgrath at leeds.ac.uk<mailto:j.p.mcgrath at leeds.ac.uk>
Homepage: http://www.limm.leeds.ac.uk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20100615/fbd69753/attachment-0001.html>


More information about the wpkg-users mailing list