Under most circumstances you will want to install ImageGlue using the standard installer and register it using the PDFSettings control panel.

Occasionally you may wish to install ImageGlue manually. To do this you should see the ImageGlue .NET documentation for Manual Installation.

In addition you should ensure that your installer registers the ImageGlue assembly for COM interop. For example in a Visual Studio Installer Project you should ensure that the ImageGlue.DLL file has the 'Register' property set to 'vsdraCOM'.

Alternatively you can use the regasm tool for controlled installation in either x86 or x64 environments. For examples of how to use this tool please see the ImagGlue registration batch script under the ImageGlue menu item.

Most calls to ImageGlue will result in a trial license being created and inserted if it is found that no such license has yet been inserted. At minimum all that is required is to query the value of the Gestalt.License property.

Set gs = CreateObject("ImageGlue7.Gestalt")
MsgBox "New License: " + gs.License

The ImageGlue installer performs this type of check at installation time in order to ensure that a trial license is inserted. However inserting a license at other times can be problematic if your code is operating from a reduced permission account such as that associated with ASP.

To enter a full license key create a simple Visual Basic application containing the following code. You will need write access to the registry to install a license key.

Set gs = CreateObject("ImageGlue7.Gestalt")
gs.License = "change this text to your key"
MsgBox "New License: " + gs.License