Archive: How to check whether library is already installed


How to check whether library is already installed
Hi

hope you can help me.

I am a new NSIS user, and i already googled a lot for my problem:

During the installation of an programm via NSIS i want to check, whether a special library (mfc90.dll) is already installed. If not the installer for that lib has to be started.

The second part is no problem, but how can i check, whether the mfc90.dll is already installed?
It can't be as difficult and i can't believe, that this problem is an "new" one and nobody asked for this before.... so please... is there anyone who can show me, was i couldn't see until now?

thanks a lot for your help.

RS


I could suggest:
${IfNot} ${FileExists} "$SYSDIR\mfc90.dll"
ExecWait Yourinstaller
${EndIf}

But this is not a good way to do it. It could be somewhere else in your path, after all. Perhaps this might help? http://forums.techarena*****windows-...rt/1128484.htm

Ok make that http://forums.techarena. in/windows-xp-support/1128484.htm Without the space. This forum's autocensoring of some keywords is EXTREMELY ANNOYING.