We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

HadleyHope
Posts: 16
Joined: Fri Oct 11, 2013 3:22 pm

Advanced Licensing - Read licence key from file

We have integrated the basic features of the Trial.dll into our application and it works great with minimal action on our part.

However some installations of our product require that our product is registered silently (the application is installed internally in the organisation via MS software distribution).

Is it possible either during install or on first launch to read a license key file from disk and pass that information to the Trial.dll without any dialogs being displayed to the user?



Thanks.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Advanced Licensing - Read licence key from file

Hi,

When an application is registered using a license key a registry value that contains the license information (License ID and Signature), is created in the registry like follows:
Software\[|Manufacturer]\[|ProductName]\Registration Key

So, to achieve what you want, you can create a custom action or either a ".reg" file that will create that registry entry when the application is installed.

Let us know if this helped, otherwise give us more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
HadleyHope
Posts: 16
Joined: Fri Oct 11, 2013 3:22 pm

Re: Advanced Licensing - Read licence key from file

Thanks for the info, exporting the licence key registry entry using the method in the link below works fine.

http://support.microsoft.com/kb/310516
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Advanced Licensing - Read licence key from file

You're welcome. I'm glad you got this working.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”