Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 6th July 2001, 14:36   #1
t-tex
Junior Member
 
Join Date: Jul 2001
Location: Uppsala, Sweden
Posts: 5
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 is offline   Reply With Quote
Old 13th July 2001, 05:58   #2
t-tex
Junior Member
 
Join Date: Jul 2001
Location: Uppsala, Sweden
Posts: 5
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
t-tex is offline   Reply With Quote
Old 13th July 2001, 20:46   #3
Koen van de Sande
Senior Member
 
Join Date: Mar 2001
Location: Holland
Posts: 269
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.

Koen van de Sande
Van de Sande Productions
TibEd.net | VPatch
Koen van de Sande is offline   Reply With Quote
Old 14th November 2003, 16:45   #4
icebrrrg
Junior Member
 
Join Date: Jan 2001
Posts: 15
Send a message via ICQ to icebrrrg Send a message via AIM to icebrrrg
You can check for the MDAC version in the registry ... this article will help.

http://support.microsoft.com/default.aspx?kbid=301202#3

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

-m-
icebrrrg is offline   Reply With Quote
Old 14th November 2003, 18:47   #5
icebrrrg
Junior Member
 
Join Date: Jan 2001
Posts: 15
Send a message via ICQ to icebrrrg Send a message via AIM to icebrrrg
and here it is:

http://nsis.sourceforge.net/archive/...68&instances=0
icebrrrg is offline   Reply With Quote
Old 14th November 2003, 19:05   #6
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
You'd better parse that string and compare the version number, to make it support any future versions.
Joost Verburg is offline   Reply With Quote
Old 14th November 2003, 21:14   #7
icebrrrg
Junior Member
 
Join Date: Jan 2001
Posts: 15
Send a message via ICQ to icebrrrg Send a message via AIM to 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-
icebrrrg is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump