Hi again,

I understood that it's not normal behavior. Usually the clients will have
only one profile (the standard application one) on which i will chain all
the packges one by one.

The multiple profile issue was caused by the fact that in order to test one
specific package i had to add an entry to the hosts.xml file in order to
make that one package apply only to my machine, and there i noticed that
only the first host line was parsed, so testing was difficult.
Yes. In this case you can do:

    <host name="yourpcname" profile-id="default" >
        <profile id="testprofile" />
    </host>



Now that i know that using the applymultiple flag i can bypass the issue,
there's no need for me to create a profiles folder with X profiles and a
hosts folder with X folders, using the default files is enough.

The only thing that i don't get is why WPKG always checks if WPKG_Client
package is installed, since now my conf is:

hosts.xml
==================================
<?xml version="1.0" encoding="UTF-8"?>

<wpkg>
        
        <host name="MYPC" profile-id="IncrediBuild Agent" />
        
        <host group="Domain Computers" profile-id="Standard Applications" />

</wpkg>
==================================

profiles.xml
==================================
<?xml version="1.0" encoding="UTF-8"?>

<profiles>

        <profile id="WPKG_Client">      
                <package package-id="WPKG_Client" />
        </profile>

         <profile id="Standard Applications">           
                <package package-id="7-Zip" />          
        </profile>
                
        <profile id="IncrediBuild Agent">       
                <package package-id="IncrediBuild Agent" />
        </profile>
                
</profiles>
==================================

The WPKG_Client profile is not invoked in the hosts.xml file, is only
invoked by the domain startup script (the one you suggested to modify adding
an if line).
You shouldn't remove your "WPKG_Client" package from default profile for all hosts - wpkg compares what is installed to what it should
install according to profiles<->hosts association.

So I would expect WPKG_Client to be deinstalled if it is not assigned to each host!!

BR,
Falko

-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Reply via email to