Difference between revisions of "Package dependencies"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
 
m
Line 2: Line 2:
  
 
  <package id="packageA" name="A test package" depends="packageB"/>
 
  <package id="packageA" name="A test package" depends="packageB"/>
 
+
 
  <package id="packageB" name="Another test package"/>
 
  <package id="packageB" name="Another test package"/>
  

Revision as of 20:13, 7 March 2006

"Package dependencies" (available in WPKG 0.9.6 and later) allows a 'depends' entry in the 'package' node:

<package id="packageA" name="A test package" depends="packageB"/>

<package id="packageB" name="Another test package"/>

I use this to ensure that a package "winxpupdates" is installed by setting 'execute="always"' in the package entry. My winxpupdates package depends on all the hotfixes released by Microsoft: if I add another package to the list of dependencies this is checked each time the machine boots. The new package listed in the 'depends' entry should then be installed on the machine in the usual way (Frank Lee).