Archive: Register DLLs


Register DLLs
May be it's a silly question!
When you install/deinstall a DLL, you
usually increment a counter on
HKLM/SOFTWARE/Microsoft/Windows/CurrentVersion/SharedDlls

This is important also to avoid that other disinstallation
programs delete your dlls (example: MFC, MSVCRT....)

Does NSIS support anything like this?
I had a look at the source code, and it seems like it
does registering only for ActiveX Dlls.

Any help would be appreciated.
Luca.


Not yet, but with the new integer and registry functions in NSIS 1.60, you should be able to write this functionality yourself and make it a function.

The ability to manipulate numbers is very new in NSIS and so I don't think anyone has done this yet.