15
edits
Changes
no edit summary
'''Installation:'''
'''Server Install'''
Download the latest stable release from here http://wpkg.org/Download
Copy into the share (from where you unzipped them) four files:
* wpkg.js ("WPKG engine") * hosts.xml (host names, which will use WPKG)* profiles.xml (profiles available to hosts) and * packages.xml (applications and scripts that can be deployed or executed on workstations)
Let’s edit the hosts.xml (on the server of course) to add one computer for testing. Between the <wpkg> and </wpkg> add the line
<blockquote style="background: white; border: 1px solid black; padding: 1em;">
<host name="yourcomputer" profile-id="Test" />
Replacing “yourcomputer†with the network name of your workstation!
</blockquote>
This tells wpkg that your computer should use the Test profile. If you want to assign more than one profile to a host then use this format.
<blockquote style="background: white; border: 1px solid black; padding: 1em;"><host name="'''host1'''" profile-id="'''custom1'''" ><br> <profile id="'''addons1'''"/><br> <profile id="'''addons2'''"/><br></host><br></blockquote>
Ok, now that we have assigned our computer to a profile we need to create the profile and then add a package to it.
So between your profile tags it should look like:
<blockquote style="background: white; border: 1px solid black; padding: 1em;"><profiles><br>
</profiles><br></blockquote>
So now we have a host tied to a profile. And the profile contains one package called “diaâ€
Now we need to create our package, to do so let’s edit the packages.xml file. The packages.xml file contains a bunch of example so let’s scroll to right above the closing tag at the bottom. (this is </packages>)
Next paste in (above the closing tag </packages>)
<blockquote style="background: white; border: 1px solid black; padding: 1em;">
<source lang="xml">
<package id="dia" name="Dia Diagram Editor" revision="1" reboot="false" priority="1">
<check type="file" condition="exists" path="%PROGRAMFILES%\dia\dia-0.96.1-8-uninstall.exe" />
<remove cmd='%PROGRAMFILES%\dia\dia-0.96.1-8-uninstall.exe /S' />
</package>
</source>
</blockquote>
I got this install definition from http://wpkg.org/Dia there is also a larger list of installers here: http://wpkg.org/Category:Silent_Installers