[wpkg-users] Packages dependencies / Chain packages / Problems...help me
stefan.pendl at haidlmair.at
Wed Dec 29 12:37:11 CET 2010
First, excuse me for my english, i'm french... !
I want to use WPKG to deploy but i can't use the packages dependencies with chain !!
I want to install PACKET1 before PACKET2.
To simplify, my packet1 contain an install (setup..) and my packet2 contain a copy of an INI file to the install directory of the packet1.
- My host.xml refereded to a profile-id
- In my Profiles.xml, my profile id refereded to a package-id as this :
<package package-id="PACK1" />
- In my Packages.xml, my package-id PACK1 is chain with PACK2 :
<install cmd='\\SERVER\WPKG-1.1.2\APP\Setup.exe -s'>
<chain package-id="PACK2" />
<install cmd='%comspec% /c copy \\SERVER\WPKG-1.1.2\APP\FIC.INI C:\APP\FIC.INI /Y'>
I don't know why it does not work !
I have test others things, but systematically, the PACK2 attempt to install even the PACK1 is not install yet...and it s not possible because the destination directory doesn't exist yet.
How can i force the PACK1 install before the PACK2 install ?
Have i made an error ?
Can you help me ?
don't use CHAIN, but make Pack2 depending on Pack1 and Pack1 must be successfully installed before Pack2 will be installed.
Remove the CHAIN line from Pack1 and add a DEPENDS line to Pack2.
More information about the wpkg-users