Licence Protector 5 comes with an own tool to register the DLL - lpregister510.exe. You can use it as as standalone application or within your installer.
The tool offers a unique feature. It registers the DLL and the COM exe without needing administrator rights.
LPregister bypasses the operating system when a registration is done. If a user has no administration rights, it registers the DLL / COM exe only for this user. If a user has administrator rights, the DLL / COM exe is registered like using Windows regsvr32.exe for all users.
Example
•User A has no administrator rights. The DLL / COM exe is registered for this user. If user B logs into the same machine the DLL / COM exe is not available and has to be registered again for user B
•User A has administrator rights. The DLL / COM exe is registered on machine level. If user B logs into the same machine the DLL / COM exe is also registered for user B
You find lpregister510.exe in the folder Licence Protector\5.1\files for distribution\Registration Tools
Copy the file to the same directory, where the DLL ( LicProtector510.DLL) or COM exe ( LicProtector510.EXE) is located. Start lpregister510.exe. It will search for the Licence Protector files and register it.
If the DLL / COM exe is on another folder, you can specify the path and filename with a command line parameter. Only the names LicProtector510.dll and LicProtector510.exe are supported. Other DLLs cannot be registered.
Example
lpregister510.exe - registers the DLL or the EXE if the file is on the same folder like lpregister510.exe
lpregister510.exe "c:\program files\myapp\LicProtector510.dll"
lpregister510.exe "LicProtector510.exe"
lpregister510.exe /? - displays a help text
The name LicProtector510.dll and LicProtector510.exe when used as a command line parameter is case sensitive and must be exactly written with upper and lower case letters like in the example above
This tool can be used to register any DLL for the current user without the need of admin permissions. It can only be used if you have a valid Licence Protector license.
RegSvr32User.exe <dllname> [/s]
/s = silent, do not display dialogue boxes
Example
RegSvr32User.exe c:\program files\myapp\LicProtector510.dll"
RegSvr32User.exe c:\program files\myapp\LicProtector510.dll" /s
There is another option to use the DLL without administrator rights by using manifest files.