Licence Protector

Use DLL without registering

Hide Navigation Pane

Use DLL without registering

Previous topic Next topic  

Use DLL without registering

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

 

You can install the Licence Protector DLL without registering it. This allows an installation process which does not require administration rights.

All compilers - use DLL without registering

You need a manifest file with the same name as the EXE file - e.g if the application file name is demo-easygo.exe the manifest filename must be demo-easygo.exe.manifest. Find below a sample manifest file for the License Tester which can also be downloaded here (sample is for version 2.64).

 

You have to change

 

Name - name of the EXE file
Version - version number of the EXE file
File name = name of the Licence Protector DLL
Size = size of the LIcence Protector DLL
LIBID - can be found for each DLL version in the chapter Add the LicProtector300.dll
CLSID - can be found for each DLL version in the chapter Add the LicProtector300.dll
ProgID - can be found for each DLL version in the chapter Add the LicProtector300.dll

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">

 

<assemblyIdentity name="licence-tester.exe" version="3.0.0.190" type="win32" processorArchitecture="x86"/>

<file name="LicProtector300.dll" hashalg="SHA1">

 <comClass

     clsid="{554A6D3B-2FEF-4C2F-B34C-AF6185EB2759}"

     description="LicProtector Object"

     tlbid="{3142201A-ABE4-4425-BC58-B547F6E768BF}"

     threadingModel="apartment"

     progid="LicProtectorEasyGo.LicProtectorEasyGo300"/>

 <typelib

     tlbid="{3142201A-ABE4-4425-BC58-B547F6E768BF}"

     version="300"

     helpdir=""

     flags="hasdiskimage"/>

</file>

 

</assembly>

 

 

Some development tools like C++ compile a manifest file in the EXE file. Windows XP uses the external manifest file but Windows 2003, Vista or Windows 7 would use this internal manifest file and ignore the external manifest file. You can edit the internal manifest file in the source code and change it (recommended)  or remove the internal manifest file. Removing the file could cause problems, e.g. missing skinning support.

 

       .NET - use DLL without registering

Visual Studio allows an installation without registering the DLL. The flag Isolated must be set to true.

 

 

 

Article about the isolated COM

http://qualapps.blogspot.com/2007/06/isolated-com.html

 

 

Java  - use DLL without registering

 

To use the DLL without registering, you have to build a standalone EXE file and the manifest file like described above.

 

Using  .JAR files are not supported. They need to register the DLL.

 

 

This feature is supported only by the uncompressed DLL version. It can be found in the folder Licence Protector\3.0\files for distribution\uncompressed.

 

 

See also article regarding supported operating systems

http://msdn.microsoft.com/en-us/library/f8h7012w.aspx

 

Tool to create manifest files and background information

http://www.mazecomputer.com/index.htm