Old 23rd September 2011, 15:05   #1
yyt_sjq
Junior Member
 
Join Date: Jun 2008
Posts: 7
Smile Register a DLL file under the HKCU with RegDLL

hi, How to Register a DLL file in the HKCU rather than in HKLM with RegDLL?
yyt_sjq is offline   Reply With Quote
Old 28th September 2011, 10:59   #2
th_mi
Member
 
Join Date: Sep 2005
Location: Sitting next to my desk
Posts: 56
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.

This signature is currently on vacation!
th_mi is offline   Reply With Quote
Old 18th October 2011, 06:59   #3
yyt_sjq
Junior Member
 
Join Date: Jun 2008
Posts: 7
Quote:
Originally Posted by th_mi View Post
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
yyt_sjq is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump