Click here to Skip to main content
15,915,600 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI friends i want delete the one file which not related to the application setup at the time of uninstall.

how could i delete that file . that file may be at anywhere in system

if any one know the solution please reply me

thanking you
Posted

Make a note of the file's location at installation time and save it in some file (config, .ini etc) or in the Registry. Then you can quickly locate and delete it at uninstall time.
 
Share this answer
 
hey u have to just create one another exe an attach it with ur setup and in uninstallation section. In that exe code u have 2 check all systemdrives containing that files or not for it u can use system.Eviourmnet.getLogicalDrives() method.
 
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