Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Checking to see if dll is already registered (http://forums.winamp.com/showthread.php?t=179911)

Noodles24 14th May 2004 00:35

Checking to see if dll is already registered
 
Is it possible to check to see if a dll or ocx is already registered? At the moment my program needs mscomctl.ocx and I don't want to go installing the ocx if it's already there (may cause problems when I'm overwriting a newer ocx?)

Thanks

Davion 14th May 2004 08:35

hmm take a look on the upgradeDLL Macro in the archives:
http://nsis.sourceforge.net/...

:confused: If I understood it right it just upgrades if the version of your installer is newer

alternative you could try it with the GetDllVersion Command

http://nsis.sourceforge.net/....

so you would serach for the ocx, and check its version and if it's older than your file you overwrite it

hope this helps

greets dave


All times are GMT. The time now is 04:36.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.