> Hi, all!
>       
> Is it possible to set different variables per xml file?
>       
> For example, I may have a environment variable 
> %WPKG_SRC%=\\server\share\Distribution\Managed
>       
> In this folder I have several subfolders:
> - Common
> - Administration
> - Management
>       
> Which contains software fore these departments.
>  I then have three packages xml files named the same for WPKG,
>  with instructions on how to install the software.
>       
> Today I need to have:
> common.xml:
> ...
> <install cmd="%WPKG_SRC%\Common\package\package.exe" />
> ...
> administration.xml:
> ...
> <install cmd="%WPKG_SRC%\Administration\package\package.exe" />
> ...
>       
> etc.
>       
> Is it somehow possible to instead set:
> common.xml
> <packages>
>   <variable name="SOFTWARE" value="%WPKG_SRC%\common\" />
> ...
>   <install cmd="%SOFTWARE\package\package.exe" />
> ...
>       
> etc.
>       
> This would make it easier to have portable packages, even though the source 
> of the packages are spread out on the network.
>       

First would you mind sending text instead of HTML messages to this mailing 
list, since it does not support fancy HTML anyways?

----

Your problem is easily solved by setting the variable at profile level, see 
http://wpkg.org/Variables

----

Why would you need different packages?

I have different departments too, but apply the same packages to all.

---
Stefan

-------------------------------------------------------------------------
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