473,378 Members | 1,462 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Uninstalling libraries?

This has happened to me several times. I write an application and then
test the installation by installing it on my development machine. I
find some bugs so I uninstall the application and start fixing them.
But alas! Some of the referenced libraries (for COM applications such
as Excel) have broken references. I remove the broken reference and
select "Add Reference" to re-add it. But it's not available in the list
of available COM libraries. So I browse to the location of the .dll or
..tlb file and add it manually.

But why do I lose these libraries when I uninstall the app? Perhaps
there is a better practice I should be using?

Thanks,

- Luther

Jan 7 '06 #1
1 908
Hello Luther,

I suspect that this is a rather late reply, but better than never.

Every time you uninstall your application it removes the reference to these
libraries from the registry. To understand this phenomenon you have to learn
about the concept of shared libraries.

Your setup program thinks that the libraries you have installed are not
shared by other programs and only your program uses it and that's why it
uninstalls them when you remove the libraries.

To prevent this from happening you will have to mark these libraries as
shared. I recommend you read up a bit on making setups. Not long ago I wrote
an article on setup and deployment which might be an interesting starting
point. Here is the link

http://cyrilgupta.com/contentprog_setup.htm

Regards
Cyril Gupta
Jan 9 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jan Kidrud | last post by:
Ones I install an assembly in the GAC, I'm unable to unstall it. This diables loading of debug symbols (pdb) of the assembly. This must be a well-known issue, but I didn't succeed in finding a...
3
by: Makarand Keer | last post by:
Hi All I have around 3 versions of same assembly installed in my GAC. Now I have to un-install all these assem from GAC, for this I removed all the references to these assem and called gacutil -...
1
by: Rhino | last post by:
Is there any way to install the IBM Distributed Debugger V9.2 on Windows XP without first uninstalling DB2? I installed the IBM Distributed Debugger V9.2 on my Windows XP box in the hopes of...
3
by: John Salerno | last post by:
Will uninstalling these be as easy as using the Control Panel, or will there be a series of steps like with beta 1?
5
by: John Salerno | last post by:
Now that 2.0 is official, is it okay to uninstall 1.1 and install 2.0 by itself? (I noticed that Windows update doesn't have any of this listed yet)
7
by: Larry Bird | last post by:
I have a windows service that want to un-install. When I run "installutil /u serivcename" I get the error that the serivce is not installed on my machine. However, when view the serivce console I...
0
by: Chavez | last post by:
Hi, I have a VB.NET solution, comprising a main application and a deployment application. When I installed the application (selecting the deployment project, then Project -> Install)...
6
by: Pete | last post by:
I am using xpsp2, and I have two versions of python (2.2 and 2.2.3 - both are listed as 29.3 mb, and listed as rarely used, which means never to me) listed in add/remove programs in the control...
1
by: Chris | last post by:
Can any recommend the best way of uninstalling and reinstalling the .net framework. Is simply doing add/remove programs enough or are there command line switches involved. I seem to remember a...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.