[wpkg-users] Set variable based on Computer Name

Stefan Pendl stefan.pendl.71 at gmail.com
Fri Jan 6 00:44:34 CET 2012


Am 06.01.2012 00:24, schrieb Rainer Meier:
> Hi Michael,
>
> On 06.01.2012 00:03, Michael MacKay wrote:
>> I have 10 locations I am using WPKG with and use some syncing software
>> to deploy
>> the WPKG directory to all the locations. Currently, I have the WPKG
>> Clients on
>> each workstation have the %SOFTWARE% location variable and wpkg.js
>> directed to
>> the local server, so all the files in the WPKG directory are common
>> across all
>> locations.
>>
>> I would like to set it to allow a local initialization of wpkg.js but
>> when I run
>> it from a batch file it doesn't have the %SOFTWARE% variable so can't
>> find the
>> installers.
>>

I use a different approach then Rainer, where I set two custom variables
in the system environment.

These variables are used by command scripts, the client defines the
SOFTWARE variable through the settings.

Attached is what I use, password "wpkg".

--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: WPKG SOFTWARE variable.7z
Type: application/octet-stream
Size: 1767 bytes
Desc: not available
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20120106/567d7f04/attachment-0002.obj>


More information about the wpkg-users mailing list