cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
sysadmin-blr
Level 5

Installer Class Not Calling Overridden Uninstall Method when Multi Instance enabled

Hi Team,

I am installing  my product with multiple instances enabled.  Lets consider the below installation sequence.

1. Install base Instance ( Run the setup very first time)

2. Install First Instance

3. Install Second Instance

When I try to uninstall  the Second Instance, Overridden Uninstall Method is not firing.  Same problem for uninstall  the first Instance also.

But when I try to uninstall the base Instance , Overridden Uninstall Method is firing as expected.

Is there any setting i need to update to fix this issue?

 

Thanks,

Ramesh P.

0 Kudos
(4) Replies
rguggisberg
Level 13

Instances are equivalent, 1-n. What do you mean "Base Instance"? How does that differ from Instance 1 or 2?
0 Kudos

Hi Team,
What I mean for "Base Instance" is, Run and install the setup first time. When we run the same setup next time , i refers it as first instance. If we run the same setup next time , i refers it as second instance. Please let us know if you need further information.
Thanks, Ramesh.P
0 Kudos

Do you have separate 'ProductCode'  Values for each instance?

Please describe the " Overridden Uninstall Method" that you speak of. Is this a custom action? Properly done, there should not be no need for separate uninstall behavior.

Capture.PNG

0 Kudos

Hi Team,

Yes. We have defined separate Product code for each instance.

Please refer the attachment for " Overridden Uninstall method" details.

Thanks,

Ramesh P.

0 Kudos