Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get input from user during uninstall

Status
Not open for further replies.

coder9341

Programmer
Aug 10, 2004
3
US
Hello,

I need to get a password from the user during uninstall in order to completely remove a part of the application. It works fine if I put a prompt on one of the uninstall dialog boxes, and I re-run the install program to uninstall. If I remove using Add/Remove programs however, the dialog box is not displayed during uninstall. Is there a way to either:

1) Display a dialog box to prompt the user for input that will appear when the application is uninstalled from Add/Remove Programs?

Or:

2) When uninstalling from Add/Remove programs, have it not "silently" uninstall, i.e. show all of the uninstall dialogs.

Thanks for any help anyone can give me,
Chris
 
How about removing it from Add /remove programs, so that it can only be uninstalled from a command line ?

Or, in HKLM/Software/microsoft/Windows/Currentversion/uninstall manipulate the commandline string for uninstallations.
 
I tried adding the /qf and other options to the command line in the registry, but it still uninstalled the same way, without the dialogs. Does anyone know what the UninstallString should be for this?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top