PC Review


Reply
Thread Tools Rate Thread

ASP.NET application uninstall problem help please!!!

 
 
Andy
Guest
Posts: n/a
 
      16th Jul 2003
Hi all,
Not sure if this is the correct Msgboard but here goes
anyway...

I have an asp.net application that is installed by a .net
installation project, pretty simple so far

The problem comes when i go to uninstall the application,
The uninstall is deleting DLL's that are required by other
applications, i need to reference these DLL's within my
application, so they definitely need to be there but i
don't want them deleted on uninstall or at very least give
me the option to say yes or no...

Has anyone come across this situation or could possibly
point me in the right direction of a way to mark these
DLL's as shared and thus not delete them?

Any Help on this would be much appreicated

thanks
Andy
 
Reply With Quote
 
 
 
 
Cowboy \(Gregory A. Beamer\)
Guest
Posts: n/a
 
      16th Jul 2003
A couple of ways to approach this.

1. Take the required assemblies out of your project and have them
bootstrapped so they install if not installed. This will help in many
situations.
2. Install these assemblies through a custom installer class. The help
topics under "Deploying .NET Applications: Lifecycle Guide" should help you
build one. The custom installer methods to remove the app can be flagged to
avoid these assemblies.

I assume you are placing the assemblies in the GAC, so they are shared in
one location. If so, another option is to install the assemblies once for
each project. It will take up a small amount of disk space, but solve the
problem. It is not applicable for all applications, so it is just one
suggestion.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
Author: ADO.NET and XML: ASP.NET on the Edge

****************************************************************************
****
Think Outside the Box!
****************************************************************************
****
"Andy" <(E-Mail Removed)> wrote in message
news:0ac701c34bab$eb8a5c30$(E-Mail Removed)...
> Hi all,
> Not sure if this is the correct Msgboard but here goes
> anyway...
>
> I have an asp.net application that is installed by a .net
> installation project, pretty simple so far
>
> The problem comes when i go to uninstall the application,
> The uninstall is deleting DLL's that are required by other
> applications, i need to reference these DLL's within my
> application, so they definitely need to be there but i
> don't want them deleted on uninstall or at very least give
> me the option to say yes or no...
>
> Has anyone come across this situation or could possibly
> point me in the right direction of a way to mark these
> DLL's as shared and thus not delete them?
>
> Any Help on this would be much appreicated
>
> thanks
> Andy



 
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
Word won't Uninstall or Uninstall | Major Problem makaiman Microsoft Word Document Management 0 25th Sep 2009 07:28 AM
Uninstall problem - uninstall not recognized by system KarenA Windows Vista Mail 1 9th Nov 2007 12:02 AM
Problem With Application Uninstall =?Utf-8?B?V1dlbmdlcnQ=?= Microsoft Dot NET 2 2nd Apr 2006 01:15 PM
Uninstall application Code Monkey Microsoft C# .NET 0 15th Feb 2006 02:56 PM
Uninstall .net application problem Sonia Microsoft Dot NET Framework 1 18th Jul 2005 02:11 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:27 AM.