Master_T
Posts: 1
Joined: Mon Sep 18, 2017 12:11 pm

Licensing dialog with custom UI?

Mon Sep 18, 2017 12:17 pm

Hello

I'm trying to use the Licensing feature of Advanced Installer for an application that doesn't have a traditional WinForm/WPF user interface.
Instead, my application is a service with a WEB-based user interface to control it.

The problem is that the call to "displayRegistration" tries to show a traditional "window", which is not available in my environment.

Is there an API with which I can retrieve the request code so I can display it to the user and then submit the activation info provided by the user to activate the license?

Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Licensing dialog with custom UI?

Tue Sep 19, 2017 1:59 pm

Hi and welcome to our forums.

In order to register your application, you can use the "RegisterStr" function instead of the "DisplayRegistrationStr" one, so the registration will be done silently. You can take a look on the "Asp.net web application licensing" thread which debates a similar scenario.

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

Return to “Common Problems”