Custom uninstall process

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
 
P

patrick.hyatt

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.
 

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

Top