[wpkg-users] Using environment variable for WPKG server path

Kristofer Kiik kristofer at kiik.ee
Mon Oct 24 14:45:34 CEST 2005


Hi,

I had an idea, that it would be nice to use an environment variable
for package locations. For example:

Lets say our package is situated at:
\\server\wpkg\packages\someprogram-install.exe

The packages.xml could include a configuration variable for this:
<options>
<option id="wpkg-location" value="\\server\wpkg\packages" />
</options>

When wpkg.js is run, it would define an environment variable from this
option. In this way we vould make silent installers work out of the
box:

for example:
<install cmd='"%wpkg-location%\someprogram-install.exe /silent'><exit
code="0" /></install>

It would also make moving from server to server less prone for errors and typos.
Right now the silent installers use different UNC locations which is messy.

cheers,
Kristofer



wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users




More information about the wpkg-users mailing list