<p>Hello Malte,</p>
<p>i don't remember where i read it, but someone complained that setting an environment variable in the wpkg client for the wpkg logfile path doesn't work as it's not expanded. That's why i have to use hard codes paths.</p>
<p>Anyway, according to the wpkg documentation, that i posted, it should also be possible to override a environment variables inside wpkg. But yes, this is not what i am looking for.</p>
<p>I talk about the path to the logfile that i have to set in the settingsfile which can be used to import the settings or automatically install the wpkg client.</p>
<p>Regards Ronny</p>
<div class="gmail_quote">Am 20.01.2012 10:08 schrieb "Malte Starostik" <<a href="mailto:lists@malte.homeip.net">lists@malte.homeip.net</a>>:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Am Freitag, 20. Januar 2012, 09:59:47 schrieb Malte Starostik:<br>
> Hi Ronny,<br>
><br>
> Am Freitag, 20. Januar 2012, 09:35:15 schrieb <a href="mailto:ladiko@web.de">ladiko@web.de</a>:<br>
> > Hello WPKG users :-)<br>
> ><br>
> > Regarding to<br>
> > <a href="http://wpkg.org/Variable_setting_through_hosts/profiles/packages" target="_blank">http://wpkg.org/Variable_setting_through_hosts/profiles/packages</a> a<br>
> > variable in a profile should override a variable in a package, but this<br>
> > doesn't work for me.<br>
> ><br>
> > I've got PCs with different Windows-Directories, most have C:\Windows,<br>
> > but some have C:\WinXP. So as it is not possible to use %WINDIR% for<br>
> > the Wpkg-Logfile path in the WPKG-Client-Settings, i have to use<br>
> > different settings-xml-files for the two types of clients. I prepared<br>
> > the files settings-windows.xml and settings-winxp.xml and in the<br>
> > wpkgclient-package i set <variable name="wpkg-windir" value="windows"<br>
> > /> and have a variable set in the profile for the computers which need<br>
> > C:\WinXP<br>
><br>
> I'm not sure about the final outcome right now, but variable order was<br>
> recently discussed here. Anyway, for your specific problem there should<br>
> be a very simple solution: Windows already defines the %SystemRoot%<br>
> variable for you. In contrast to what its name might suggest (e.g.<br>
> system32), its value is the Windows directory.<br>
<br>
Args, I take that back. I mean, well, I misunderstood and thought you were<br>
trying to SET %WINDIR%, which as I now saw is basically just a legacy alias<br>
for %SystemRoot%, forgot about it. So the above does not in fact solve your<br>
problem. Sorry,<br>
<br>
Malte<br>
-------------------------------------------------------------------------<br>
wpkg-users mailing list archives >> <a href="http://lists.wpkg.org/pipermail/wpkg-users/" target="_blank">http://lists.wpkg.org/pipermail/wpkg-users/</a><br>
_______________________________________________<br>
wpkg-users mailing list<br>
<a href="mailto:wpkg-users@lists.wpkg.org">wpkg-users@lists.wpkg.org</a><br>
<a href="http://lists.wpkg.org/mailman/listinfo/wpkg-users" target="_blank">http://lists.wpkg.org/mailman/listinfo/wpkg-users</a><br>
</blockquote></div>