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/f1303ad7/attachment.html> |