Changes

Package dependencies

328 bytes added, 15:07, 20 May 2009
Clarify that the dependency code goes in the appropriate package xml file
Packages can depend on each other (i.e., you have to install Firefox before installing some Firefox plugin etc.).
The format is very simple, and similar to the one used for [[profile dependencies]]:
The example used in [[packages]] has been modified to make it dependant on another package called "other-package":
 
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package id="setadminpassword"
name="Set admin password"
revision="1"
priority="999"
reboot="false"
execute="once"
depends package-id="other-package">
<install cmd='cmd /c net user administrator password' />
</package>
</packages>
<package id=...>
<depends package-id="my-package"/>
<depends package-id="other-package"/>
...
</package>
Note that "package dependencies" are now defined differently than in 0.9.6 and 0.9.7; this previous format is not supported.
5
edits