Refreshing uninstalled item in Add/Remove Program List

Got a problem you cannot solve? Try here.
elecuyer
Posts: 13
Joined: Thu Jun 28, 2007 9:47 am
Location: Haverhill, MA
Contact:

Refreshing uninstalled item in Add/Remove Program List

Postby elecuyer » Thu Sep 13, 2007 9:22 am

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

elecuyer
Posts: 13
Joined: Thu Jun 28, 2007 9:47 am
Location: Haverhill, MA
Contact:

Postby elecuyer » Fri Sep 21, 2007 10:43 am

ping!


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 107 guests