Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

How to prompt refresh of Add/Remove programs?


1 reply to this topic

dlcole

dlcole
  • Full Members
  • 1 posts

Posted 09 September 2008 - 14:53

When you initiate an uninstall via the Add/Remove Programs applet, the display is refreshed after the uninstall and the uninstalled product no longer listed.

If, however, the uninstalled product drives the uninstall of other products also listed in ARP, then those products remain listed until ARP itself is refreshed, such as by closing and re-opening ARP.

Is there any way to prompt the refresh of ARP from within a custom action, so that all the uninstalled products are removed? I'm guessing this would be a SendMessage of some sort, but otherwise don't know where to start.

Thanks!

David Cole

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 09 September 2008 - 15:24

Pressing F5 also refreshes the list (in my experience).
I don't know how to automatically refresh it.