Seite 1 von 1

Product Dependency

Verfasst: 16 Jan 2013, 10:08
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

Re: Product Dependency

Verfasst: 16 Jan 2013, 11:24
von bobzbobz
Do i create a dependency on Outlook like this:

Code: Alles auswählen

[ProductDependency]
action: uninstall
requiredProduct: outlookplugin
requiredStatus: uninstalled
requirementType: before

Re: Product Dependency

Verfasst: 16 Jan 2013, 14:17
von d.oertel
Hi,

product dependencies are only supported for the action setup.

regards
d.oertel

Re: Product Dependency

Verfasst: 21 Jan 2013, 12:48
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