<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 10pt; color: #000000'><span>It actually just occurred to me how to do this...<br><br>In the application you want all users to get unless they have the full/better version, simply check to see if the other version is installed and ensure that priority is set so the better version installs first.  <br><br>For example I want all users to have Adobe reader, except if they have Acrobat, so in the adobe reader package.xml I have:<br><br><package id="adobereader9" <br>       name="Adobe Reader 9" <br>       revision="9410" <br>       priority="50"><br>   <check type="logical" condition="or"><br>       <check type="uninstall" condition="exists" path="Adobe Reader 9.4.1" /><br>       <check type="uninstall" condition="exists" path="Adobe Acrobat 9 Pro" /><br>    </check><br><br>Hence it won't install if Acrobat is installed.<br><br>It's a bit of a hack, and introduces a dependency on another file which I don't like, but I can live with it!<br><br>Regards Jon <br><span name="x"></span><span name="x"></span><br></span><br><hr id="zwchr"><b>From: </b>"Jon Rhoades" <jrhoades@svi.edu.au><br><b>To: </b>wpkg-users@lists.wpkg.org<br><b>Sent: </b>Friday, December 17, 2010 9:57:21 AM<br><b>Subject: </b>[wpkg-users] Breaking package inheritance<br><br><mce:style><!--
p { margin: 0; }
--></mce:style><mce:style mce_bogus="1"><!--
p { margin: 0; }
--></mce:style><mce:style mce_bogus="1"><!--
p { margin: 0; }
--></mce:style><style mce_bogus="1"><!--
p { margin: 0; }
--></style><div style="font-family: Arial; font-size: 10pt; color: rgb(0, 0, 0);" mce_style="font-family: Arial; font-size: 10pt; color: #000000"><span>Hi,<br><br>Just wondering if there was a way to break the inheritance of packages when another package supersedes it.  For instance all of our Profiles depend on a "basic" profile which contains Firefox, Adobe Reader, Flash and a few housekeeping packages.  However some of our PCs use a profile with Adobe Acrobat - it would be nice if a PC getting Acrobat doesn't get Adobe Reader.<br><br>I appreciate that I could just not have the profile depend upon the basic, but the beauty of WPKG for us is the chaining of profiles, a typical PC may get a unique profile, depending on a group profile, depending on an organisation profile, depending on a default profile depending on a basic profile...  <br><br>Hence, it would be great to be able in the package tag for Acrobat to have a tag along the lines of dont-install="reader".<br><br>Reagrds Jon<br><br><span></span>-- <br>Jon Rhoades<br>Research Information Systems<br>St Vincent's Academic Centre<br>(Incorporating The University of Melbourne Departments of Medicine, Surgery and Clinical School (St.Vincent's), St Vincent's Institute and O'Brien Institute)<br><br>St Vincent's Institute<br>9 Princes St Fitzroy Vic 3065<br>p: 03 9288 2480 | x: 2399 | f: 03 9416 2676<br><br>www.stv.unimelb.edu.au<br>www.svi.edu.au<span></span><br></span><br></div><br>-------------------------------------------------------------------------<br>wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/<br>_______________________________________________<br>wpkg-users mailing list<br>wpkg-users@lists.wpkg.org<br>http://lists.wpkg.org/mailman/listinfo/wpkg-users<br></div></body></html>