Virtual Serial Port Tools can be redistributed as part of another product providing the following conditions are met:
To facilitate simpler distribution, a separate redistributable package is provided on the product download page. It supports unattended installation and uninstallation and is a stripped-down version of a full installer with configuration utility, command-line utility, documentation and API headers and definitions removed.
.\virtual-serial-port-tools-redist.exe -silent -u
A calling process must have “Install Driver” privilege and must be elevated. Installer returns an integer which is zero when successful, equals
S_FALSE if successful, but restart is required, or otherwise should be interpreted as
HRESULT error code.
The library must be activated on the client computer after installation. The user is supposed to activate the library using the license file embedded in the product installer. The license activation is performed with a call to ISerialPortLibrary.installLicenseFile or ISerialPortLibrary.installLicenseInMemory methods.
The following scenarios are supported:
Therefore, it is safe to activate the library multiple times.
Activation is per-user. If the VSPT is supposed to be used by multiple Windows users after installation, the product must activate the library for each Windows user.