ActiveX Dll Component Register: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
No edit summary
(UnRegDLL call fixed (changing "R" hightcase from "r" lowercase))
 
Line 13: Line 13:


;To Unregister a DLL
;To Unregister a DLL
UnregDLL "$INSTDIR\MyDLL.dll"
UnRegDLL "$INSTDIR\MyDLL.dll"
</highlight-nsis>
</highlight-nsis>


[[Category:DLL, OCX, TLB Functions]]
[[Category:DLL, OCX, TLB Functions]]

Latest revision as of 09:16, 18 December 2008

Author: Lorien (talk, contrib)


Description

Superseded by: Install Library header.
Supported on: All Windows versions.

This example use RegDLL and UnregDLL to register and unregister a DLL.

The Script

;To Register a DLL
RegDLL "$INSTDIR\MyDLL.dll"
 
;To Unregister a DLL
UnRegDLL "$INSTDIR\MyDLL.dll"