[wpkg-users] uninstall software using WPKG
Peter Gough
pmgough at gmail.com
Tue May 10 01:18:18 CEST 2011
The way mine is setup is that each package has its own .xml file in the
packages folder (there's a bit about this here: http://wpkg.org/Packages.xml
).
So, for example, I would create a file called hardcopy.xml to manage this
package. As long as you specify the package id and this matches the name of
the package id in profiles.xml then you can add and remove this package from
individual hosts (or groups of hosts using wildcards/pattern matching) in
your hosts.xml file.
It sounds a bit complex but once you get your head around it you'll find
it's really flexible.
On 9 May 2011 23:56, Ninnig, Alexander <Alexander.Ninnig at rechnungshof.rlp.de
> wrote:
> Hi folks,
>
> sorry, I just don't get it:
>
> I'm trying to figure out how to uninstall software using WPKG.
>
> As far as I get it (I am a newbie):
> there's
> * hosts.xml - meaning: which profile is assigned to which computer
> * profiles.xml - meaning: which softwarepackages are assigned to which
> profile
> * packages.xml - meaning: all the actions (line install, upgrade, remove
> plus checks)
> So far, so good.
>
> The point is: in those packaging.xml-files, there are three actions
> described: install, upgrade, remove. How does the computer know, which
> action to take? I'm kinda looking for a assignment like: uninstall
> package firefox in profile custom, which is assigned to host pc001
>
> So far, I deployed hardcopy, which worked fine. Packages.xml contains:
> <install cmd='"%SOFTWARE%\installers\hc.exe" /InstallSilent
> /InstallCommonGroup /InstallDir="%Programfiles%\Hardcopy"' />
> <upgrade cmd='%WINDIR%\SwSetupuexe
> "%PROGRAMFILES%\Hardcopy\hardcopy.del" /Silent' />
> <upgrade cmd='"%SOFTWARE%\installers\hc.exe" /InstallSilent
> /InstallCommonGroup /InstallDir="%Programfiles%\Hardcopy"' />
> <remove cmd='%WINDIR%\SwSetupuexe "%PROGRAMFILES%\Hardcopy\hardcopy.del"
> /Silent' />
> As I said, installation worked fine. What would I have to do to
> uninstall Hardcopy? How do I tell the clients to use the remove-cmd?
>
>
> Greetings,
> Alex
> -------------------------------------------------------------------------
> wpkg-users mailing list archives >>
> http://lists.wpkg.org/pipermail/wpkg-users/
> _______________________________________________
> wpkg-users mailing list
> wpkg-users at lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/wpkg-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20110510/3ec54976/attachment-0002.html>
More information about the wpkg-users
mailing list