ActiveX Dll Component Register: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Added category links.)
m (Added category links.)
Line 17: Line 17:
Exec 'regsvr32.exe /s /u "$INSTDIR\MyDLL.dll"'
Exec 'regsvr32.exe /s /u "$INSTDIR\MyDLL.dll"'
</highlight-nsis>
</highlight-nsis>
[[{{ns:14}}:DLL, OCX, TLB Functions]]


[[{{ns:14}}:DLL, OCX, TLB Functions]]
[[{{ns:14}}:DLL, OCX, TLB Functions]]

Revision as of 05:12, 1 May 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
Exec 'regsvr32.exe /s "$INSTDIR\MyDLL.dll"'
 
;To Unregister a DLL
Exec 'regsvr32.exe /s /u "$INSTDIR\MyDLL.dll"'