|
RegisterServer Method |
Top Previous Next |
|
Registers a COM In-Proc server. [VBScript] Installer.RegisterServer Path
[JScript] Installer.RegisterServer(Path); Parameters Path Path to COM In-Proc server file. Remarks This method allows you to register the COM In-Process Server file (.dll, .ocx, etc). To register the Out-Of-Process COM server, you should use the RunProgram action with specific parameters (usually, "/regserver"). Refer to your COM Server documentation for more details. Installer variables are supported in the Path parameter. To emit the value of installer variable MyVar, use the following form: ${MyVar}. Uninstall support This action supports automatic uninstallation. Example (VBScript) Installer.RegisterServer "${ProductPath}\Dictionary.dll" Example (JScript) Installer.RegisterServer("${ProductPath}\\Dictionary.dll"); |