Skip to content
⌘ NSIS Forum Archive

Help finding MDAC version and checking if a dll is shared

7 posts

t-tex#

Help finding MDAC version and checking if a dll is shared

Hi,

I would like to find out first if MDAC is installed at all and then which version that is installed. Does anyone have any input on this?

Also, is there a way to find out if a dll is shared so that it can be removed?

Best regards,
Pontus
t-tex#
Hi again,

Since I got no replies I assume that no one has a solution for this problem. So I solved it by creating two small c++-programs that did the job for me.

/Pontus
Koen van de Sande#
The only thing I can think of is 'registry, registry', that there might be some key which is created by MDAC.

Also, a reference count of DLL's is kept somewhere, but I don't know where.

Not a very useful reply, because I don't really know. Sorry.
icebrrrg#
You can check for the MDAC version in the registry ... this article will help.



And I'm planning on writing a function for this and putting it in the archives, later today.

-m-
Joost Verburg#
You'd better parse that string and compare the version number, to make it support any future versions.
icebrrrg#
That's on the "to do" list. I just wanted to get an example up since I was looking early this AM for something similar, found nothing, and wanted to get something into my installer quickly. 🙂

Thanks!

-m-