To redistribute Run Service ActiveX within your application, accomplish the following:
copy RunService.dll file into your folder and in that folder execute the following command:
Alternatively, you can specify the full path to RunService.dll library:
To uninstall, execute regsvr32 with “/u” key
regsvr32 RunService.dll /u
After uninstallation you can safely remove RunService.dll file.
Now you can call methods and address events and properties of Run Service ActiveX directly from your application.
Quiet registration for the OEM License owners
Remember, that to be able to redistribute Run Service ActiveX without any limitations, you must own the OEM License. Only the OEM License grants you commercial royalty-free redistribution rights. Your customers must not purchase any additional licenses to be able to use Run Service ActiveX, incorporated into your software.
Quiet registration procedure (see below) is used to register on the end-users’ machines Run Service ActiveX, incorporated into your software.
To register on the end-users’ machines Run Service ActiveX, incorporated into your software, include the following command into the code of your project:
regsvr32 RunService.dll /i:”Name#code”
where “Name” is registration name and “code” is registration code. For example:
regsvr32 RunService.dll /i:”TEST TEST#xxxxx-W9FC5V-31AXAX-F884EC-WN7G92-X3VXEE-21CFEE-524E94-651198-2A84FA-663C11-xxxxxx”