Uninstall Primary application and all its add-ons/extensions - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

robdunbar
Posts: 4
Joined: Wed Jan 11, 2012 4:48 am

Uninstall Primary application and all its add-ons/extensions

We have an application, but will also have a load of extensions that can be installed by the user.

My question is that, how can I force the extensions to be dependent on the primary version?

i.e. I shouldn't be allowed install an extension if I don't have the primary application installed in the first place. (We use a registry entry to do this check at the moment)
And when I uninstall the primary application it should uninstall all the extensions as well. (would be nice to give the user a list of the extensions about to be uninstalled ;))
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Uninstall Primary application and all its add-ons/extens

Hello,

An application's file associations should be included in its installation package. I'm not really sure of the scenario you are describing.

However, if you already added the extensions in the File Associations page, then you can look into the "Place extension in a separate feature" option. By enabling this option you'll be able to condition their installation.
We use a registry entry to do this check at the moment
You can add a search for this entry from the Search page and use its name to condition the extensions.

The correct behavior upon uninstall is to remove all extensions associated with your application. In this case a simple text enumeration of the associated extensions to be removed should suffice. You can customize any dialog from the Dialogs page.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”