Click here to Skip to main content
15,999,861 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can i make application which will ask password at the time of uninstallation.... Please help
Posted
Comments
DaveAuld 5-Dec-11 2:59am    
Out of curiosity, why do you want to do this? I don't think this is possible, and goes against all principles of allowing the user control of what is on the PC.

1 solution

The standard installer provides an overrideable Uninstall method - you could put your password mechanism in there. I haven't needed to do it myself, but it should work.
It also provides a Installer.BeforeUninstall[^] event which you could subscribe to - again I haven't tried it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900