Custom uninstall process

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have develop an application in C#.
I create a deployment projet to install and uninstall the application.

My problem is:
The application create different files who contain user's preferences.
I want that the uninstall program ask to the user if he want delete or no
this files.

How can I do this?

Thank you in advance.

Stéphane
 
Stéphane,

The installation doesnt know about files created during execution of
your application, therefore when you uninstall it doesnt know to remove
those files unless you explicitly make it do so.

As the previous post suggests you can make a custom action which will
remove the file. I havent utilized the installer project within visual
studio much, but I have used Wise for Windows Installer which builds on
the basic installer.

I would suggest having a custom action using visual basic script which
removes the file(s) conditionally if they exist.
 
Back
Top