[wpkg-users] Packages dependencies / Chain packages / Problems...help me

papapupu papapupu at laposte.net
Wed Dec 29 11:50:35 CET 2010


Hello,
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 :


    

        

    




- In my Packages.xml, my package-id PACK1 is chain with PACK2 :



    
        id="PACK1"
        name="PACK1"
        revision="1"
        reboot="false"
        priority="1">
        
        
        
    


    
        id="PACK2"
        name="PACK2"
        revision="1"
        reboot="false"
        priority="1">
        
        
    





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 ?
Thanks.

This is my log :
2010-12-29 11:36:45, DEBUG   : Initialized temporary local log file: C:\DOCUME~1\XXX\LOCALS~1\Temp\wpkg-logInit.log
2010-12-29 11:36:45, DEBUG   : Initializing new log file: C:\DOCUME~1\XXX\LOCALS~1\Temp\wpkg-xp.log
2010-12-29 11:36:45, DEBUG   : Reboot-Cmd is standard.
2010-12-29 11:36:45, DEBUG   : WPKG 1.1.2 starting...
2010-12-29 11:36:45, DEBUG   : Base directory is '\\SERVER\WPKG-1.1.2'.
2010-12-29 11:36:45, DEBUG   : Log level is 255
2010-12-29 11:36:45, DEBUG   : Trying to read XML file: \\SERVER\WPKG-1.1.2\profiles.xml
2010-12-29 11:36:45, DEBUG   : Successfully loaded XML file: \\SERVER\WPKG-1.1.2\profiles.xml
2010-12-29 11:36:45, DEBUG   : Trying to read XML files from directory: \\SERVER\WPKG-1.1.2\profiles
2010-12-29 11:36:45, DEBUG   : Specified XML directory does not exist: \\SERVER\WPKG-1.1.2\profiles
2010-12-29 11:36:45, DEBUG   : Trying to read XML file: \\SERVER\WPKG-1.1.2\hosts.xml
2010-12-29 11:36:45, DEBUG   : Successfully loaded XML file: \\SERVER\WPKG-1.1.2\hosts.xml
2010-12-29 11:36:45, DEBUG   : Trying to read XML files from directory: \\SERVER\WPKG-1.1.2\hosts
2010-12-29 11:36:45, DEBUG   : Specified XML directory does not exist: \\SERVER\WPKG-1.1.2\hosts
2010-12-29 11:36:45, DEBUG   : Trying to read XML file: \\SERVER\WPKG-1.1.2\packages.xml
2010-12-29 11:36:45, DEBUG   : Successfully loaded XML file: \\SERVER\WPKG-1.1.2\packages.xml
2010-12-29 11:36:45, DEBUG   : Trying to read XML files from directory: \\SERVER\WPKG-1.1.2\packages
2010-12-29 11:36:45, DEBUG   : Specified XML directory does not exist: \\SERVER\WPKG-1.1.2\packages
2010-12-29 11:36:45, DEBUG   : Profiles applying to the current host:|PROFILE-TEST|
2010-12-29 11:36:45, DEBUG   : Settings file does not exist. Creating a new file.
2010-12-29 11:36:45, DEBUG   : Saving sorted settings to 'C:\WINDOWS\system32\wpkg.xml'.
2010-12-29 11:36:45, DEBUG   : Saving XML : C:\WINDOWS\system32\wpkg.xml
2010-12-29 11:36:45, DEBUG   : Hosts file contains 1 hosts:|XP
2010-12-29 11:36:45, DEBUG   : Settings file contains 0 packages:
2010-12-29 11:36:45, DEBUG   : Packages file contains 2 packages:|PACK1|PACK2
2010-12-29 11:36:45, DEBUG   : Profile file contains 1 profiles:|PROFILE-TEST
2010-12-29 11:36:45, DEBUG   : Using profile(s):|PROFILE-TEST|
2010-12-29 11:36:45, DEBUG   : Saving current environment
2010-12-29 11:36:45, DEBUG   : Getting profiles which apply to this node.
2010-12-29 11:36:45, DEBUG   : Applying profile: PROFILE-TEST
2010-12-29 11:36:45, DEBUG   : Adding package with ID 'PACK1' to profile packages.
2010-12-29 11:36:45, DEBUG   : Found package node 'PACK1' (PACK1) in package database
2010-12-29 11:36:45, DEBUG   : Found package node 'PACK2' (PACK2) in package database
2010-12-29 11:36:45, DEBUG   : Adding referenced package 'PACK2' (PACK2) for package 'PACK1' (PACK1)
2010-12-29 11:36:45, DEBUG   : Synchronizing: Number of packages referenced by profile: 2
2010-12-29 11:36:45, DEBUG   : Number of packages to remove: 0
2010-12-29 11:36:45, DEBUG   : Going to install package 'PACK2' (PACK2), Revision 1, (execute flag is '', notify flag is 'true').
2010-12-29 11:36:45, DEBUG   : Package 'PACK2' (PACK2): Not yet processed during this session.
2010-12-29 11:36:45, DEBUG   : Package 'PACK2' (PACK2): Not in local package database.
2010-12-29 11:36:45, DEBUG   : Checking existence of package: PACK2
2010-12-29 11:36:45, INFO    : Package 'PACK2' (PACK2): Not installed (checks failed). Preparing installation.
2010-12-29 11:36:45, DEBUG   : Installation of references (dependencies) for 'PACK2' (PACK2) successfully finished.
2010-12-29 11:36:45, INFO    : Installing 'PACK2' (PACK2)...
2010-12-29 11:36:45, DEBUG   : Saving current environment
2010-12-29 11:36:45, DEBUG   : Reading variables from package PACK2
2010-12-29 11:36:45, DEBUG   : Reading variables from profile[s]
2010-12-29 11:36:45, DEBUG   : Getting profiles which apply to this node.
2010-12-29 11:36:45, DEBUG   : 1 profiles apply to this host.
2010-12-29 11:36:45, DEBUG   : Reading variables from profile PROFILE-TEST
2010-12-29 11:36:45, DEBUG   : Reading variables from host XP
2010-12-29 11:36:45, DEBUG   : Install type: install
2010-12-29 11:36:45, DEBUG   : Fetched 1 install command(s).
2010-12-29 11:36:45, DEBUG   : Found system locale: 40c
2010-12-29 11:36:45, DEBUG   : Found language definition node for language ID 40c
2010-12-29 11:36:45, DEBUG   : Executing command: %SystemRoot%\System32\msg.exe * /TIME:10 "WPKG, l'utilitaire d'installation automatique des programmes a appliqué ou applique en ce moment des mises à jour à

votre système. Veuillez consulter l'heure au début de ce message afin de vérifier que cette information ne soit pas obsolète. Veuillez sauvegarder tous vos documents ouverts, car un redémarrage peut être

nécessaire et, dans ce cas, le système redémarrera sans avertissement à la fin de l'installation ou de la mise à jour. Merci."
2010-12-29 11:36:46, DEBUG   : Executing command: %comspec% /c copy \\SERVER\WPKG-1.1.2\APP\FIC.INI C:\APP\FIC.INI /Y
2010-12-29 11:36:47, ERROR   : Could not process (install) package 'PACK2' (PACK2):|Exit code returned non-successful value (1) on command '%comspec% /c copy \\SERVER\WPKG-1.1.2\APP\FIC.INI C:\APP\FIC.INI

/Y'.
2010-12-29 11:36:47, DEBUG   : Cleaning up temporary downloaded files
2010-12-29 11:36:47, DEBUG   : Restoring previous environment.
2010-12-29 11:36:47, DEBUG   : Loading saved environment
2010-12-29 11:36:47, DEBUG   : Going to install package 'PACK1' (PACK1), Revision 1, (execute flag is '', notify flag is 'true').
2010-12-29 11:36:47, DEBUG   : Package 'PACK1' (PACK1): Not yet processed during this session.
2010-12-29 11:36:47, DEBUG   : Package 'PACK1' (PACK1): Not in local package database.
2010-12-29 11:36:47, DEBUG   : Checking existence of package: PACK1
2010-12-29 11:36:47, INFO    : Package 'PACK1' (PACK1): Not installed (checks failed). Preparing installation.
2010-12-29 11:36:47, DEBUG   : Installation of references (dependencies) for 'PACK1' (PACK1) successfully finished.
2010-12-29 11:36:47, INFO    : Installing 'PACK1' (PACK1)...
2010-12-29 11:36:47, DEBUG   : Saving current environment
2010-12-29 11:36:47, DEBUG   : Reading variables from package PACK1
2010-12-29 11:36:47, DEBUG   : Reading variables from profile[s]
2010-12-29 11:36:47, DEBUG   : Getting profiles which apply to this node.
2010-12-29 11:36:47, DEBUG   : 1 profiles apply to this host.
2010-12-29 11:36:47, DEBUG   : Reading variables from profile PROFILE-TEST
2010-12-29 11:36:47, DEBUG   : Reading variables from host XP
2010-12-29 11:36:47, DEBUG   : Install type: install
2010-12-29 11:36:47, DEBUG   : Fetched 1 install command(s).
2010-12-29 11:36:48, DEBUG   : Executing command: \\SERVER\WPKG-1.1.2\APP\Setup.exe -s
2010-12-29 11:36:52, DEBUG   : Command in installation of PACK1 returned exit code [0]. Success.
2010-12-29 11:36:52, DEBUG   : Adding settings node: 'PACK1' (PACK1), Revision 1
2010-12-29 11:36:52, DEBUG   : Saving sorted settings to 'C:\WINDOWS\system32\wpkg.xml'.
2010-12-29 11:36:52, DEBUG   : Adding settings node: 'PACK1' (PACK1), Revision 1
2010-12-29 11:36:52, DEBUG   : Saving XML : C:\WINDOWS\system32\wpkg.xml
2010-12-29 11:36:52, INFO    : Installing references (chained) of 'PACK1' (PACK1).
2010-12-29 11:36:52, DEBUG   : Found package node 'PACK2' (PACK2) in package database
2010-12-29 11:36:53, DEBUG   : Going to install package 'PACK2' (PACK2), Revision 1, (execute flag is '', notify flag is 'true').
2010-12-29 11:36:53, DEBUG   : Package 'PACK2' (PACK2): Already installed once during this session.|Checking if package is properly installed.
2010-12-29 11:36:53, DEBUG   : Package 'PACK2' (PACK2): Installation failed during this session.
2010-12-29 11:36:53, ERROR   : Installation of references (chained) for 'PACK1' (PACK1) failed. Installation of reference (chained) package 'PACK2' (PACK2) failed
2010-12-29 11:36:53, INFO    : Package 'PACK1' (PACK1): Package installed but at least one chained package failed to install.
2010-12-29 11:36:53, INFO    : Processing (install) of PACK1 successful.
2010-12-29 11:36:53, DEBUG   : Cleaning up temporary downloaded files
2010-12-29 11:36:53, DEBUG   : Restoring previous environment.
2010-12-29 11:36:53, DEBUG   : Loading saved environment
2010-12-29 11:36:53, DEBUG   : Executing command: %SystemRoot%\System32\msg.exe * /TIME:10 "WPKG, l'utilitaire d'installation automatique de logiciels a terminé l'installation ou l'actualisation des

logiciels sur votre système. Aucun redémarrage n'était requis. Toutes les mises à jour sont achevées."



Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?
Je crée ma boîte mail www.laposte.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20101229/f9943851/attachment-0001.html>


More information about the wpkg-users mailing list