Register_File ( LiveXP / NativeEx Projects Only )

Registers a COM or ActiveX object.

Syntax

Register_File,FileName,RegType

Parameters

1 FileName File to register
2 RegType Type of registration to perform
Install - Register the file using the DllInstall entry point ( /i on regsvr32 )
Register - Register the file using the DllRegisterServer entry point

Remarks

This uses one of two methods to perform the registration:

Tips

  1. If the file is to be registered at build then the file name should include path information to locate the file in the source or in the script directories.
  2. If the file is to be registered at boot time then the file name should include run time path information or it should be locatable via the current path environment variable.

Example

Register_File,%SystemRoot%\system32\shell32.dll,Install