Thanks for all your suggestions. In fact my aim is to define in one centralized place where my SOFTWARE repo is. I am running the wpkg.js script using a scheduled task running as SYSTEM user.
I have one XML file per package stored in a package sub directory. May I define my software var in my empty package.xml file so it would be interpreted for every specific XML files ? Cheers, Laplaud François Service Informatique & Transmission Service Départemental d'Incendie et de Secours de la Sarthe 13, Boulevard Saint Michel 72190 Coulaines BP 35 -----Message d'origine----- De : Chris Mortimer [mailto:cm...@cam.ac.uk] Envoyé : jeudi 19 mai 2011 10:35 À : LAPLAUD François Cc : cn...@cam.ac.uk Objet : Re: [wpkg-users] Variables %SOFTWARE% without wpkg client Beware when using windows environment variables and running WPKG.js as the SYSTEM user, this user doesn't have the same variables as 'normal' users, %LOGONSERVER% for example isn't available to SYSTEM. You can add a line to each package xml e.g. <variable name="logonserver" value="\\{domain}" /> Chris ------------------------------------------------------------------------- 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