Simon,
  We have only used that variable in the actual install lines:
<install os="windows.+5\.\d{1}\.\d{4}" cmd=

Differentiating between the OS so one package does both XP and Win7 (32bit and 
64bit with architecture=)
We don't make separate packages for each OS.

As Andrew said in his reply it is on that WPKG web page but it will work in the 
install line but not in the package definition (yet).
P.

From: simon.be...@institutsmq.qc.ca [mailto:simon.be...@institutsmq.qc.ca]
Sent: 11 November 2011 13:58
To: Paul McGrath
Cc: wpkg-users@lists.wpkg.org
Subject: RE: [wpkg-users] os="windows xp" in WPKG 1.2


Hi Paul,

Whatever os line I put in packages, it is not read by wpkg..

I have tried this (note the OS line):

<package
      id="G_WPKG_tstpkg"
      name="Simple TEST Package"
      os="Cheeze-whizz"
      revision="1"
      reboot="false"
      priority="0">

      <check type="file" condition="exists" path="c:\tstpkg\tstpkg.dat"  />

      <install cmd='%SOFTWARE%\tstpkg\tstpkg.bat'>
      <exit code="0" />
      </install>
   </package>

and it is allways installed.


Paul McGrath <j.p.mcgr...@leeds.ac.uk>

2011-11-11 08:36

A

"'simon.be...@institutsmq.qc.ca'" <simon.be...@institutsmq.qc.ca>, 
"wpkg-users@lists.wpkg.org" <wpkg-users@lists.wpkg.org>

cc

Objet

RE: [wpkg-users] os="windows xp" in WPKG 1.2









Hi Simon,

For XP use os="windows.+5\.\d{1}\.\d{4}"
For Win7 use os="windows.+6\.\d{1}\.\d{4}"

BW
Paul

From: wpkg-users-boun...@lists.wpkg.org 
[mailto:wpkg-users-boun...@lists.wpkg.org] On Behalf Of 
simon.be...@institutsmq.qc.ca
Sent: 11 November 2011 13:35
To: wpkg-users@lists.wpkg.org
Subject: [wpkg-users] os="windows xp" in WPKG 1.2


Hi,
Working with I'm trying to separate packages that belongs to either Windows XP 
or Windows 7.

I packages.xml I add this line::
  <package
     os="windows xp"
     id="Java1.6.0_15"
     (...)
but it does not work. no info at all in debug.

I tried it in hosts.xml file, and it does work well ::
   <host name="pc.+" os="windows xp" profile-id="defaut" />

Is it supposed to work in packages.xml ??

-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Reply via email to