ActiveX Dll Component Register: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Adding new author and category links.)
Line 10: Line 10:
<highlight-nsis>
<highlight-nsis>
;To Register a DLL
;To Register a DLL
Exec 'regsvr32.exe /s "$INSTDIR\MyDLL.dll"'
RegDLL "$INSTDIR\MyDLL.dll"'


;To Unregister a DLL
;To Unregister a DLL
Exec 'regsvr32.exe /s /u "$INSTDIR\MyDLL.dll"'
UnregDLL "$INSTDIR\MyDLL.dll"'
</highlight-nsis>
</highlight-nsis>


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

Revision as of 15:18, 23 November 2005

Author: Lorien (talk, contrib)


Description

Superseded by: Install Library header.
Supported on: Windows 95-98.

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

The Script

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