Skip to content
⌘ NSIS Forum Archive

Register DLLs

2 posts

lucaluca#

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.
Edgewize#
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.