Here is a step-by-step instruction on how Serial Port Monitor ActiveX Control should be installed on the target machines (you can include this as a part of your software installation). Please, note that you need to own the OEM License to be able to redistribute Serial Port Monitor ActiveX Control without any limitations. Only the OEM License grants commercial royalty-free redistribution rights.
Quiet registration procedure (see below) is used to register on the end-users’ machines Serial Port Monitor ActiveX Control, incorporated into your software.
Installation in Microsoft Windows 2000, XP, 2003 and all 64-bit systems
- Copy necessary files on target PC
The following files should be copied to the target machine’s temporary (permanent) installation directory. All these files can be found in the folder where you have Serial Port Monitor ActiveX Control installed.
|SPSniff.sys||Serial port driver for 32-bit operating systems|
|SPSniff64.sys||Serial port driver for 64-bit operating systems|
|spssetup.exe||Executable that will install serial port monitoring driver|
|spsniffer.dll||Serial Port Monitor ActiveX Control|
- Register serial port driver
Once all these files are copied on the target machine, your installation program should execute “spssetup.exe” without any parameters. This will register “SPSniff.sys” and “SPSniff64.sys” in the system and load them.
- Register ActiveX Control
Finally, you should register Serial Port Monitor ActiveX control by issuing the following command in the folder where spsniffer.dll is located:
regsvr32 spsniffer.dll /i:”Name#code”
where “Name” is registration name and “code” is registration code. For example:
regsvr32 spsniffer.dll /i:”TEST TEST#xxxxx-W9FC5V-31AXAX-F884EC-WN7G92-X3VXEE-21CFEE-524E94-651198-2A84FA-663C11-xxxxxx”
Once Serial Port Monitor ActiveX Control is registered on the target computer, you can use its properties and methods the same way as any other ActiveX Component.
In order to uninstall this ActiveX control, please, follow the steps below:
- Unregister ActiveX control
Unregister our ActiveX control by executing:
regsvr32 spsniffer.dll /u
- Uninstall Serial Port Monitor driver
Serial Port Monitor driver can be uninstalled by executing:
- Remove all files you have copied on the target PC before