3,217
edits
Changes
FAQ
,→Do you have any examples of how to setup installing/uninstalling of programs using WPKG?
== Do you have any examples of how to setup installing/uninstalling of programs using WPKG? ==
There are basic examples in the WPGK WPKG package if you download it. Below - some more examples.You will find some more examples in examples section.
You will find working examples in the [[:Category: Silent Installers | Silent Installers]] category (you may need to modify paths to match your setup of course).
This is an example hosts.xml file - it lists host names and associated profile:
<wpkg>
<host name="pc001" profile-id="profile01" />
<host name="pc002" profile-id="profile01" />
<host name="pc109" profile-id="profile02" />
<host name="pc110" profile-id="profile02" />
</wpkg>
This is an example profiles.xml - it lists profiles available to the workstations:
<profiles>
<profile id="default">
<package package-id="office2000" />
</profile>
<profile id="profile01">
<depends profile-id="default" />
<package package-id="rdc" />
</profile>
<profile id="profile02">
<depends profile-id="default" />
<package package-id="rdc" />
</profile>
</profiles>
This is an example packages.xml - it list of all packages that can be deployed to workstations:
<packages>
<package
id="rdc"
<upgrade cmd="" />
</package>
<package
id="acrobat"
<upgrade cmd="" />
</package>
<package
id="office2000"
<upgrade cmd="" />
</package>
== I'm getting "Unable to load specified XML document from \\server\wpkg\packages.xml" error. But packages.xml is there! ==