<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
> From: siwalters@hotmail.com<BR>> To: wpkg-users@lists.wpkg.org<BR>> Subject: [wpkg-users] Package Dependency<BR>> <BR>> <BR>> Hi again<BR>> I was asked to install MS PhotoStory at one school this afternoon and since<BR>> I have packages for this and Media Player 10 (which it needs installing<BR>> first) I thought I try out the package dependency facilities<BR>> <BR>> I placed this code in my profile<BR>> <BR>> ..<BR>> <package package-id="mp10" /><BR>> <package package-id="ps3" ><BR>> <depends package-id="mp10" /><BR>> </package><BR>> ...<BR>> <BR>> and set priority of mp10 to 150 (ps3 is standard 100).<BR>> <BR>> wpkg tried to install mp10 and failed due to an error and I expected that<BR>> ps3 wouldn't be attempted tp be installed but it tried! (and failed because<BR>> it needs MP10 or MP11 installing first)<BR>> <BR>> Have I misunderstood how dependency/priorities work/made a mistake or is it<BR>> a bug?<BR>> <BR>> Using WPKG-1.1.0-M21<BR>> <BR>> regards<BR>> <BR>> Simon<BR><BR>
The XML for my PhotoStory package is as follows:<BR>
 <BR>
 <BR>
<?xml version="1.0" encoding="UTF-8"?><BR>
<packages><BR>
<package id="photostory" name="Microsoft PhotoStory 3" revision="1" reboot="false" priority="0" depends="mediaplayer10"><BR> <check type="uninstall" condition="exists" path="Photo Story 3 for Windows" /><BR> <install cmd='msiexec /i "%SOFTWARE%\PhotoStory\photostory3.msi" /qb-' /><BR> <remove cmd='msiexec /x "%SOFTWARE%\PhotoStory\photostory3.msi" /qb-' /><BR> <upgrade cmd='msiexec /i "%SOFTWARE%\PhotoStory\photostory3.msi" /qb-' /><BR></package><BR>
</packages><BR>
 <BR>
The package itself depends on the 'mediaplayer10' package which is defined seperately.<BR>
 <BR>
Out of curiousity, whereabouts or which schools do you support?  I've got WPKG going in 13 now, it has revolutionised the support I can offer!<BR>
 <BR>
Chris<BR><BR><br /><hr />"
Upgrade to Internet Explorer 8 Optimised for MSN.  
" <a href='http://extras.uk.msn.com/internet-explorer-8/?ocid=T010MSN07A0716U' target='_new'>Download Now</a></body>
</html>