PC Review


Reply
Thread Tools Rate Thread

Custom uninstall process

 
 
=?Utf-8?B?U3RlcGhhbmU=?=
Guest
Posts: n/a
 
      10th Jan 2007
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
 
Reply With Quote
 
 
 
 
patrick.hyatt@gmail.com
Guest
Posts: n/a
 
      10th Jan 2007
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.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Old failed installation process locks machine from install/uninstall JP Windows Vista Installation 2 22nd Nov 2008 01:51 PM
Unable to End or Uninstall Process husky86 Windows XP General 3 16th Jun 2008 08:03 AM
how to make uninstall process alway show a reboot dialog at the end? gnih Microsoft C# .NET 3 23rd Mar 2007 08:38 AM
How to stop the uninstall Process?? =?Utf-8?B?VmlyZGE=?= Microsoft Outlook Installation 0 25th Jan 2007 06:21 AM
Restore Point still requires uninstall process JasonA Windows XP General 6 27th Mar 2006 07:26 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:03 AM.