[wpkg-users] OS check matching

Paul McGrath J.P.McGrath at leeds.ac.uk
Mon Feb 3 22:15:44 CET 2014


Hi,
  I am having some problems with check and install OS matching.
Windows 8 already includes Flash Player ActiveX so I want to skip the check and install for Windows 8 so I have this
<check type="uninstall" os="windows.+6\.\d{1}\.\d{4}|windows.+6\.\d{0}\.\d{4}" condition="exits" path"Adobe Flash Player %version% Active" /> <!-- 6\.\d{1} = W7  6\.\d{0} = Vista -->

then for installing
<install os="windows.+6\.\d{1}\.\d{4}|windows.+6\.\d{0}\.\d{4}" cmd="msiexec /i flash.%version%.activex.msi /qn /norestart " />

In the install case it still attempts to run in Windows 8 when it should be ignoring because I've put in W7 and Vista only.  I've delimited then in OS using | 

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 | ?
thanks
Paul


More information about the wpkg-users mailing list