ActiveX Dll Component Register: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Updated author and download links, and changed format of some pages.)
m (Updated author links.)
Line 1: Line 1:
== Description ==
{|align=right
|<small>Author: [[{{ns:2}}:Lorien|Lorien]] ([[{{ns:3}}:Lorien|talk]], [[{{ns:-1}}:Contributions/Lorien|contrib]])</small>
|}
<br style="clear:both;">== Description ==
'''Superseded by:''' ''Install Library'' header.<br>
'''Superseded by:''' ''Install Library'' header.<br>
'''Supported on:''' ''Windows 95-98''.
'''Supported on:''' ''Windows 95-98''.
Line 13: Line 16:
Exec 'regsvr32.exe /s /u "$INSTDIR\MyDLL.dll"'
Exec 'regsvr32.exe /s /u "$INSTDIR\MyDLL.dll"'
</highlight-nsis>
</highlight-nsis>
Page author: [[User:Lorien|Lorien]]

Revision as of 23:10, 29 April 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"'