Order of uninstallation

Antworten
bobzbobz
Beiträge: 169
Registriert: 30 Nov 2012, 10:41
Wohnort: Denmark

Order of uninstallation

Beitrag von bobzbobz »

Hello

We have a package for Outlook and a package for a plugin.

I have set the Outlook-package with the dependencies:

Code: Alles auswählen

on deinstall: uninstall plugin
Plugin-package with dependencies:

Code: Alles auswählen

pre-required: outlook as installed
However when I set Outlook for uninstall, it is uninstalled BEFORE the plugin, which results in an error for the plugin-uninstall.

How should I set the properties/dependencies so that they uninstall in the correct order?
Benutzeravatar
r.roeder
uib-Team
Beiträge: 540
Registriert: 02 Jul 2008, 10:08

Re: Order of uninstallation

Beitrag von r.roeder »

Alas, the dependency structure is only intended for usage for installations. As your example shows, it will often be the case that setup dependencies and uninstall dependencies have the opposite order. Since installations and uninstallations can be mixed there is no simple way to get an order if you take seriously dependencies for uninstallations into account.

The workaround for your problem is that you integrate the uninstallation of the plugin in some way with the uninstallation of the main product e.g. by producing one script for both.

Hoping that helps,

regards,

Rupert
opsi support - uib gmbh
For productive opsi installations we recommend maintainance + support contracts which are the base of opsi development.


Wondering who's using opsi? Have a look at the opsi map: http://opsi.org/opsi-map/.
bobzbobz
Beiträge: 169
Registriert: 30 Nov 2012, 10:41
Wohnort: Denmark

Re: Order of uninstallation

Beitrag von bobzbobz »

Hello Rupert

Thank you for the quick clarification.
I will try to make a work-around :-)

Regards,
Soren
Antworten