XPInstall API Reference:File Object:Methods:windowsRegisterServer

Summary

windowsRegisterServer registers installed DLLs with the Windows registry.

Method of

File object

Syntax

int windowsRegisterServer( Object localDirSpec )

Parameters

The windowsRegisterServer method has the following parameters:

localDirSpec
A FileSpecObject representing a directory obtained by getComponentFolder or getFolder.

Returns

An integer error code. For a list of possible values, see Return Codes.

Example

fileCdTool = getFolder("file:///", fAoD + "cdTool.dll");
err = File.windowsRegisterServer(fileCdTool);

Document Tags and Contributors

 Last updated by: Anonymous,