janya171
Posts: 3
Joined: Fri Nov 21, 2014 7:40 pm

How To Check Valid License Before Each Run?

Hello,
1. I have build successful TRIAL and Updater demo app.
2. I have create a server side validation.php with MySQL
..All is fine ONLY I need to make sure I can delete the License key from sql and refund the user IF they ask for in 30days.

The problem is that once 1 day expire the TRIAL and I send the full license key to use computer ID registered version, IF I delete the serial from MySQL database sever, user can still use the app.
My app needs internet connection therefor I was thinking to implement some code in Form1_Load, that on each start the app will popup small dialog and checking...for valid license with small wheel or progress-bar.
SO My app will every run validate the serial and checking from my server IF serial exist.

Thank you for a code, or any help.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: How To Check Valid License Before Each Run?

Hello,

In order to achieve what you want you can try to implement the following functionality into your application:
1. on your application start get the "LicenseKey" licensing property by using our "GetPropertyValue" licensing function
2. send an HTTP post request to your "server side validation.php" with the extracted LicenseKey as a POST parameter
3. check (within your "server side validation.php") the received POST parameter and return an answer accordingly
4. check within your application the "server side validation.php" answer and decide if the license is still valid or not

If you have any questions let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
janya171
Posts: 3
Joined: Fri Nov 21, 2014 7:40 pm

Re: How To Check Valid License Before Each Run?

Do yo think I am expert? Who could understand those things you wrote?
I am sure this is my last question and I'm sure I will need look at other alternative even paid.
..LOL you speak to me as I am senior experimented developer...Could you just lil bit thinking on IF I WERE understand what you wrtoe, I COULD doing without asking question..

The issue is your software as it has nto simply function like this!!! and how much you ask for
'heheh lol you funny company
Dim question As Forum is Null
If question as forum = true then
answer by admin as shit
Else
wait as idiot few days
End if
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: How To Check Valid License Before Each Run?

Hello,

I really apologize for this inconvenience. Unfortunately, as you already saw we don't have predefined functionality for your requirement. The only way to fulfill your requirement is to implement the desired functionality within your application code, but we don't offer development support for your application. We do offer paid consulting services and if you are interested in please send us an e-mail to support at advancedinstaller dot com with a detailed list of your installation project requirements and we'll get back to you with a quote.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
PavelRakowski
Posts: 5
Joined: Thu Apr 23, 2015 1:50 pm

Re: How To Check Valid License Before Each Run?

Hi,

I am trying to use GetPropertyValue and pass in LicenseKey. I am unable to read License key value and the method always returns no 5 which is like error_access_denied.
Can any body help me why don't I et the correct value?

Thanks,
Mitch
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: How To Check Valid License Before Each Run?

Hello Mitch and welcome to our forums,

This may happen if you call the "GetPropertyValue" function before the licensing initialization is done. Can you please make sure you first call the "ReadSettingsStr" or "ReadSettingsRetStr" function, to initialize the licensing module, before the call of "GetPropertyValue" function?

Let us know if this helped, otherwise please send us the .aip (project file) to support at advancedinstaller dot com so we can investigate its settings.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”