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>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
wpkg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wpkg-users

Reply via email to