[wpkg-users] Problem with depends package-id

Thomas Bøge Nielsen thomas at boegenielsen.dk
Wed Jan 24 19:25:47 CET 2007


In my packages, <depends package-id=.../> does not work.
I have created to simple packages, a and b. The only purpose of these 
packages is to crate c:\tst\a and c:\tst\b
I have tried to setup a, so that it depends on b, and expected, that an 
install of a would install b.

When  do wpkg /install:a
a is installed, but b is not.
I am using WPKG 0.9.10
Below is a.xml and b.xml from the packages-directory:

a.xml:
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
  id="a"
  name="a"
  revision="4"
  reboot="false"
  priority="10">

<check type="file" condition="exists" path="c:\tst\a" />
<depends package-id="b"/>
<install cmd='cmd /c echo >c:\tst\a'/>
<remove cmd='cmd /c del c:\tst\a'/>

</package>
</packages>

b.xml:
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
  id="b"
  name="b"
  revision="4"
  reboot="false"
  priority="10">
 
<check type="file" condition="exists" path="c:\tst\b" />
<install cmd='cmd /c echo >c:\tst\b'/>
<remove cmd='cmd /c del c:\tst\b'/>

</package>
</packages>







VDEV
_______________________________________________
wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users



More information about the wpkg-users mailing list