ActiveX Dll Component Register: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(removed extra quotes)
(UnRegDLL call fixed (changing "R" hightcase from "r" lowercase))
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
== Description ==
== Description ==
'''Superseded by:''' ''Install Library'' header.<br>
'''Superseded by:''' ''Install Library'' header.<br>
'''Supported on:''' ''Windows 95-98''.
'''Supported on:''' ''All Windows versions''.


This example use "regsvr32.exe" to register and unregister a dll.
This example use RegDLL and UnregDLL to register and unregister a DLL.


== The Script ==
== The Script ==
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"