Set up project uninstall C#

  • Thread starter Thread starter ramya.viswanath
  • Start date Start date
R

ramya.viswanath

I have created set up and deployment project for my C# application and
installed it in a machine.When i uninstall the same the log files and
other temporary files created during application run is not getting
deleted.Please suggest
 
I have created set up and deployment project for my C# application and
installed it in a machine.When i uninstall the same the log files and
other temporary files created during application run is not getting
deleted.Please suggest

Where are you creating these files? A program should not write in
C:\Program Files while it runs. If it tries, a user without administrator
privileges will not be able to run it.

Normally, uninstalling a program should *not* delete files that the user
created with it. So I think the OS is acting correctly.
 
Hi,


I have created set up and deployment project for my C# application and
installed it in a machine.When i uninstall the same the log files and
other temporary files created during application run is not getting
deleted.Please suggest

The isntaller keeps track of what he installed in the first place, and use
that when uninstall. IF there are other files in the folder they are not
deleted.

Do not store files in the Program Files folder, use Application Data instead
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top