Jump to content

This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

Conditinal CustomAction at deinstall

1 reply to this topic


  • Members
  • 10 posts

Posted 02 May 2002 - 11:02

I has a custom action that I only want to run when I know two features have been removed. I am using the condition:

REMOVE AND &Feature1=2 AND &Feature2=2

This work when both features are installed, and then removed, but if I only install feature1 and the uninstall feature 1 the CA is not called.

How can I make the custom action run when I know neither of the feature are no longer installed?

Lynette White

Lynette White
  • Members
  • 4 posts

Posted 16 May 2002 - 02:08

Changing the logic in the condition should fix your problem.

I would try:

&Feature1=2 OR &Feature2=2

This would mean the CA is run when either or both features are uninstalled, because 'A OR B' is only False when both A and B are individually False.