Changes

Jump to: navigation, search

Viewing software installed on workstations

551 bytes added, 19:13, 16 May 2008
no edit summary
If you have WPKG runing running on your workstations, you will probably want to see the what software is installed on each of them, even if the workstations are turned off.
As By default, WPKG keeps its own "database" on each machine (it's in <code>%SYSTEMROOT%\system32\wpkg.xml</code>, - it's is enough to copy it this file to a special share on your server.
If you use Samba, a share may be configured like this:
You can do this with WPKG of course:
<source lang="xml"><package
id="wpkg-xml"
name="wpkg.xml files from workstations"
execute="always">
<install timeout="15" cmd='cmd /C copy %SYSTEMROOT%\system32\wpkg.xml \\server\wpkg-xml\%COMPUTERNAME%.xml /Y' />
</package></source>
Note - WPKG (wpkg.js) saves wpkg.xml file as one of its last actions. To make it easier to imagine, it works as follows:
* WPKG installs software,
* WPKG copies a local wpkg.xml file to the server,
* WPKG updates a local wpkg.xml file.
 
Because of this, the wpkg.xml file on the server will be a previous version of a local wpkg.xml.
 
 
To have the latest version, you can either:
* use WPKG client, and copy this file as "Execute after" action,
* in [[config.xml]], configure wpkg.js to save this file on the server.
[[category:Documentation]]

Navigation menu