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

Paul McGrath J.P.McGrath at leeds.ac.uk
Fri Nov 11 15:04:00 CET 2011


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.begin at institutsmq.qc.ca [mailto:simon.begin at institutsmq.qc.ca]
Sent: 11 November 2011 13:58
To: Paul McGrath
Cc: wpkg-users at 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.McGrath at leeds.ac.uk>

2011-11-11 08:36

A

"'simon.begin at institutsmq.qc.ca'" <simon.begin at institutsmq.qc.ca>, "wpkg-users at lists.wpkg.org" <wpkg-users at 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-bounces at lists.wpkg.org [mailto:wpkg-users-bounces at lists.wpkg.org] On Behalf Of simon.begin at institutsmq.qc.ca
Sent: 11 November 2011 13:35
To: wpkg-users at 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 ??

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20111111/2141c809/attachment.html>


More information about the wpkg-users mailing list