ActiveX Dll Component Register: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Added category links.)
m (Adding new author and category links.)
Line 1: Line 1:
{|align=right
{{PageAuthor|Lorien}}
|<small>Author: [[{{ns:2}}:Lorien|Lorien]] ([[{{ns:3}}:Lorien|talk]], [[{{ns:-1}}:Contributions/Lorien|contrib]])</small>
 
|}
<br style="clear:both;">
== Description ==
== Description ==
'''Superseded by:''' ''Install Library'' header.<br>
'''Superseded by:''' ''Install Library'' header.<br>
Line 18: Line 16:
</highlight-nsis>
</highlight-nsis>


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

Revision as of 11:26, 24 June 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"'