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

Removing app from Control Panel


3 replies to this topic

cmessman

cmessman
  • Members
  • 16 posts

Posted 22 June 2001 - 23:44

The uninstall process for our app must prompt the user for db admin credentials in order to succeed.  If a user uninstalls the app from the Control Panel Add/Remove Programs applet by choosing the Remove button, the uninstall takes off and displays no UI -- so it eventually fails when the db admin credentials are validated.  Is there a way to either force a UI -- like when the user selects the Change button -- or disable the Remove button in the Control Panel applet for our app?

Thanks,

Chris


Leigh Ravenhall

Leigh Ravenhall
  • Members
  • 269 posts

Posted 25 June 2001 - 00:33

To disable the remove button for Win2K, you need to set the ARPNOREMOVE property to 1.  Please note, on NT machines, this apparently causes the software to not display in the Add/Remove list, so you should use a custom action to set the property, using a condition based on the operating system.

cmessman

cmessman
  • Members
  • 16 posts

Posted 25 June 2001 - 15:07

Thanks, Leigh

Chris