Why it is not posting more parameters during server side license validation - Advanced Installer Community
ninadbe
Posts: 11
Joined: Wed Aug 02, 2017 4:17 pm

Why it is not posting more parameters during server side license validation

It has been observed that at licensing -> Server Side validation advanced installer do post only 2 variables (i.e ai and sn)
ai -> additional_information (*** this donot post any value, it posting no information)
sn -> serial number (** It is posting serial number, this works properly)

It is performing serial number validation at server side properly with the help of php code given on the site and clients table. but it is not posting any other parameters apart from two mentioned above.

However on the site it is mentioned that
Each piece of information retrieved from the user is stored into an installer property:
serial number -> PIDKEY
user name -> USERNAME
company -> COMPANYNAME
package version -> ProductVersion
email -> EMAIL
the ID of the system language -> it is retrieved automatically by the custom action which sends the information
additional information -> ADD_SV_INFO

but it is not posting any of the above parameters to the server..How to post these parameters to the server?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Why it is not posting more parameters during server side license validation

Hello and welcome to our forums,

I've tested the scenario and cannot replicate the behavior. Can you please try to troubleshoot your PHP script and make sure you are correctly accessing the POST parameters?

If so, it will be very useful if you could isolate the issue in a small sample containing the following:
1. the AIP (project file)
2. a small test PHP script which we can use on our side
3. a detailed test case

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ninadbe
Posts: 11
Joined: Wed Aug 02, 2017 4:17 pm

Re: Why it is not posting more parameters during server side license validation

Hi Daniel, Thanks for your suggestions. Issue has been solved now. It is extracting all parameter i.e.. email, company, username etc.. successfully.
One more query can I extract machine id, comp id of the buyers computer through advanced installer setup ?
Let me know.
Thanks...
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Why it is not posting more parameters during server side license validation

Hello,

I'm afraid we do not have built-in support to get the computer ID, but as a workaround you can develop your own custom action to get the comp id and set it into the "ADD_SV_INFO" property.

Please take a look on our "Set an installer property using custom actions" article which should be useful for you.

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

Return to “Common Problems”