The key to licensing ActiveX controls for use on the Internet and Intranet is license support in the browser. Internet Explorer uses a "License Package" or .LPK file to manage ActiveX control licensing. This file can be created with the LPKTOOL.EXE utility. LPK Tool allows multiple components to be added into one license file, and also allows specification of the name and location for the resulting .LPK file.
The LPK Tool is a simple piece of software that displays two list boxes.
The first list box, "Available Controls", lists all controls registered in your system.
The second list box, "Controls in License Package", lists all controls, whose licensing information, if available, will be stored in the LPK file. The Licensing information will be save when you invoke the 'Save & Exit' button.
You can select 'controls' in the 'Available Control List Box' and use the 'Add' button to instruct the tool to add it to the LPK file. LPK_TOOL will respond by moving the selected controls to the "Controls in License Package" List Box.
Save & Exit
The 'Save & Exit' button will instruct the tool to save the licensing information to the LPK file. LPK_TOOL will prompt for a file name and save the Licensing information in the file name provided. LPK_TOOL will terminate after saving the file.
Show only Controls that support Licensing
When checked, LPK_TOOL will display only those controls, which support Licenses (IClassFactory2) interface.
To create an LPK file for a licensed control, follow these steps:
Run Lpk_tool.exe on a computer that is licensed to use the control.
Highlight each licensed ActiveX control that you want to use on the HTML page and click Add.
Click Save & Exit, and then type a name for the LPK file.