[wpkg-users] install command depending on profile

Falko Trojahn wpkg at trojahn.de
Sat Apr 6 13:56:11 CEST 2013


Hello Christian,

> I have a computer park using WPKG. Computers are grouped by profiles.
This
> work
> fine and i dont want to change a lot.
> 
> Can a xml package know the profil that led installation ?
> 
> I would like to have a instruction with a parameter like :
> 
> <install cmd='my_application.exe the_profile_id' />
> 

as you may find here
http://wpkg.org/Variables#WPKG_1.3.x_and_above

just set a variable named e.g. PROFILE_ID on each profile, so
you can use

<install cmd='my_application.exe %PROFILE_ID%' />

Best regards,
Falko

-- 
Your's sincerely - Mit freundlichen Grüßen -
Reçevez mes salutations distinguées

Falko Trojahn 
http://www.trojahn.de



More information about the wpkg-users mailing list