Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Register a DLL file under the HKCU with RegDLL (http://forums.winamp.com/showthread.php?t=335151)

yyt_sjq 23rd September 2011 15:05

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?

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

Quote:

Originally Posted by th_mi (Post 2805917)
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


All times are GMT. The time now is 17:33.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.