View Full Version : Register a DLL file under the HKCU with RegDLL
yyt_sjq
23rd September 2011, 15:05
hi, How to Register a DLL file in the HKCU rather than in HKLM with RegDLL?
th_mi
28th September 2011, 10:59
COM DLLs must be registered in HKLM tree not HKCU. If you do not want to register your COM DLL you should write a RegFree COM DLL.
By the way RegDLL calls the registration function of YOUR DLL (mostly DllRegisterServer), therfore it is no NSIS issue.
yyt_sjq
18th October 2011, 06:59
COM DLLs must be registered in HKLM tree not HKCU. If you do not want to register your COM DLL you should write a RegFree COM DLL.
By the way RegDLL calls the registration function of YOUR DLL (mostly DllRegisterServer), therfore it is no NSIS issue.
THX, i have found an utility that could registry COM server for the Current user only.
RegSvrEx - An Enchanced COM Server Registration Utility
This utility (RegSvrEx) is similar to RegSvr32 but with certain extra functionality. The extra features which this utility offers are :-
Current user only registration for COM servers (more about this later)
Registration of executable files (though this is not the primary feature)
http://www.codeproject.com/KB/winsdk/regsvrex.aspx
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.