I have an application that has an optional plug-in. I created two installers, one for the main app, and one for the plug in. Now I'm trying to get the uninstall sequence to work properly.
Specifically, if the user wants to uninstall the plug-in, running the plug-in's uninstall should leave the main app untouched. However, if the user uninstalls the main app (and the plug-in is installed) both the main app and the plug-in should be uninstalled.
I got this to basically work by adding a
~(Un)Install MSI Setup~
for the GUID of the plug-in to the uninstall script for the main app (just before ~Apply Uninstall~.)
However, the plug-in's entry still appears in Add/Remove Programs. So, I also added a
~Delete Registry~ for
Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\App Plug-In
which does the trick, with one minor exception...
...The entry does not get removed from Add/Remove Programs until the user forces a F5 refresh. (Note that the main application's entry DOES get removed.)
So, is there a bug in ~(Un)Install MSI Setup~ that does not properly refresh the Add/Remove Programs List (like ~Apply Uninstall~ does)? Regardless, how do I force the refresh of the Add/Remove Programs List?
Thanks,
-Ed Lecuyer
Refreshing uninstalled item in Add/Remove Program List
Who is online
Users browsing this forum: vaibhavopkey and 75 guests