ramit
Posts: 90
Joined: Thu Dec 18, 2008 11:51 am

Need to put some condition for component to uninstall

Hi,

First of all Thanks for all the help that you did earlier.

I have two installer and both the installed have one common Component (Configuration Component). In both installed this component have same dlls every thing is same.

Now
If I install first Installer -> it will install Configuration Component along with the other components.
If I install Second Installer -> it will install Configuration Component (or probably is will not install because another one is already there), any way this is not the issue because dll will be there.

Now issue is If I uninstall first component then it will uninstall Configuration Component also.
Is there any way I can put the check or restrict the uninstall for Configuration Component if any one of the Installer is installed.

Please suggest.

Thanks for help.

Amit
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Need to put some condition for component to uninstall

Hi Amit,

On the Organization page select your component. Make sure the components' GUIDs are the same for both components. If they are then the component will do reference counting when installed, meaning it will only uninstall itself when both products containing it will uninstall.

If this did not work for you, please send both your .aip project files to support at advancedinstaller dot com so I can further investigate.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”