Seite 1 von 1

Order of uninstallation

Verfasst: 01 Apr 2016, 08:52
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?

Re: Order of uninstallation

Verfasst: 01 Apr 2016, 09:11
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

Re: Order of uninstallation

Verfasst: 01 Apr 2016, 09:29
von bobzbobz
Hello Rupert

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

Regards,
Soren