[wpkg-users] uninstall software using WPKG

Ninnig, Alexander Alexander.Ninnig at rechnungshof.rlp.de
Mon May 9 15:56:35 CEST 2011


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



More information about the wpkg-users mailing list