Updater general questions and about -licensecheckurl - Advanced Installer Community

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!

Bakaboy
Posts: 5
Joined: Wed Aug 15, 2012 8:20 pm

Updater general questions and about -licensecheckurl

My scenario:

1. We have a software with a specific serial number for each installation.
2. Each serial corresponds to a specific expiration date.

Created installer with updater option. Specified the "Updates configuration file URL", then created an "Updates Configuration Project" and specified the "Download URL" and associated properties and also added a "License Check URL". This works, the updater downloads the update and then installs it properly.

What doesn't work however is that the updater seems to totally ignore the License Check URL. I return a hard coded "603\nMessage" from the PHP script specified in the License Check URL. Regardless, the updater still downloads and installs the update. Am I missing something?

Another question I have is the commandline option -licensecheckurl. I'd like to prevent any client with an expired license from downloading updates. But they can also just spoof a php script anywhere, return 601\nblah and the updater will proceed. If this can be done, then what is the point of the license check in the firs place? Again, am I missing something?

Thank you. I'm using the pro version, if that matters.
Bakaboy
Posts: 5
Joined: Wed Aug 15, 2012 8:20 pm

Re: Updater general questions and about -licensecheckurl

So nobody ever had this issue before? Also I logged accesses to the license validation php and it doesn't receive any calls unless I explicitly execute the updater with the command line -licensecheckurl. It seems to completely ignore the "LicenseIdCheckURL" entry in the configuration file. It also does not post the "sn" field. :(
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Updater general questions and about -licensecheckurl

Hello,
What doesn't work however is that the updater seems to totally ignore the License Check URL. I return a hard coded "603\nMessage" from the PHP script specified in the License Check URL. Regardless, the updater still downloads and installs the update. Am I missing something?
I'm not sure why you are encountering this behavior. Can you tell us what version of Advanced Installer you are using? Have you reproduce the behavior using our latest version (9.4) of Advanced Installer?
Another question I have is the commandline option -licensecheckurl. I'd like to prevent any client with an expired license from downloading updates. But they can also just spoof a php script anywhere, return 601\nblah and the updater will proceed. If this can be done, then what is the point of the license check in the firs place?
In order to avoid this you can overwrite the license check URL of your script, which does the validation, from your application using the command line switch -licensecheckurl.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Bakaboy
Posts: 5
Joined: Wed Aug 15, 2012 8:20 pm

Re: Updater general questions and about -licensecheckurl

Hi Daniel,

I'm using the latest 9.4 version and I'm lost on what to do next. Regarding the -licensecheckurl, by the same token anybody could just run the "updater.exe" with the -licensecheckurl and use an alternate location/something.php and send the 601\nMessage right from that site right?

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

Re: Updater general questions and about -licensecheckurl

Hello,

I've tested your scenario using our latest version (9.4) of Advanced Installer, but I cannot reproduce the behavior. Please take a look on our "License Check" article in order to achieve what you want.
Regarding the -licensecheckurl, by the same token anybody could just run the "updater.exe" with the -licensecheckurl and use an alternate location/something.php and send the 601\nMessage right from that site right?
Indeed, this is an Advanced Installer limitation. I've added it on our TODO list, so we can analyze it properly for a future version of Advanced Installer.

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

Return to “Common Problems”