Product Dependency

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

Product Dependency

Beitrag von bobzbobz »

Hi

How do i create a product(1) dependency which requires another product(2) to be installed, and which automatically uninstalls product1 when product2 is set to uninstall..

To be more specific - i am trying to create a package for a Outlook-plugin.
When I choose to install the plugin OPSI recognizes that Outlook needs to be installed, but when i uninstall Outlook the plugin remains installed...
I need the plugin to install after Outlook has been installed, and i need the plugin to uninstall before Outlook uninstalls.

I hope you know what i mean.

Best Regards,
Soren
bobzbobz
Beiträge: 169
Registriert: 30 Nov 2012, 10:41
Wohnort: Denmark

Re: Product Dependency

Beitrag von bobzbobz »

Do i create a dependency on Outlook like this:

Code: Alles auswählen

[ProductDependency]
action: uninstall
requiredProduct: outlookplugin
requiredStatus: uninstalled
requirementType: before
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3319
Registriert: 04 Jun 2008, 14:27

Re: Product Dependency

Beitrag von d.oertel »

Hi,

product dependencies are only supported for the action setup.

regards
d.oertel
opsi support - uib gmbh

For productive opsi installations we recommend support contracts.
http://www.uib.de
http://www.opsi.org
bobzbobz
Beiträge: 169
Registriert: 30 Nov 2012, 10:41
Wohnort: Denmark

Re: Product Dependency

Beitrag von bobzbobz »

Hi

This fix did the trick for my problem:

plugin control-file:

Code: Alles auswählen

[ProductDependency]
action: setup
requiredProduct: outlook2010
requiredStatus: installed
requirementType: before
outlook control-file:

Code: Alles auswählen

[ProductDependency]
action: uninstall
requiredProduct: plugin
requiredStatus: uninstalled
requirementType: before
Antworten