Testing License Expiration - Advanced Installer Community
LarryLeonard
Posts: 3
Joined: Thu Dec 04, 2014 7:55 pm

Testing License Expiration

Hi there,
Our company has been using your AI toolset for several years, but I just had the QA folks come to me with a problem.

They were testing what aspects of our software become non-functional when the license expires by forwarding the clock past the date. After completing their testing they reverted to the correct/current time and the software was still expired. I told them that that would not be terribly unusual behavior, but they claim that even when reinstalling we a new, valid license that the license still behaves as if it were expired. Before they spoke to me they also tried deleting the registry entries for our software to see if that helped prior to a reinstall, but no dice.

1. What is the expected behavior when a license date expires naturally?
2. What happens if the clock is set back on the machine, both when the license is expired and when it is not?
3. What should be the behavior when installing with a new license key, both when the license is expires and when it is not?
4. What is the best way to return to a normal test state for my QA folks at this time?

In the mean time I am testing with a short license length that will expire tomorrow morning to see what our customers see when it expires naturally by date and then they install a new key.

Thanks!
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Testing License Expiration

Hello Larry and welcome to Advanced Installer forums,
They were testing what aspects of our software become non-functional when the license expires by forwarding the clock past the date. After completing their testing they reverted to the correct/current time and the software was still expired.
Indeed, this is correct. This is the normal behavior.
[..]they claim that even when reinstalling we a new, valid license that the license still behaves as if it were expired.
Indeed, if the expiration date of the new license is lower than the changed date, the license behaves like it is expired.
Before they spoke to me they also tried deleting the registry entries for our software to see if that helped prior to a reinstall, but no dice.
In order to remove trial information after testing a configuration you can use the “Testing > Remove Trial Info” tree/list context menu item.
If this was on a machine from the QA, you need to install Advanced Installer on the related machine so you can use this option.
Please take a look on the Advanced Licensing page.

Please let me know if you have any questions.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
LarryLeonard
Posts: 3
Joined: Thu Dec 04, 2014 7:55 pm

Re: Testing License Expiration

Dan wrote: Indeed, if the expiration date of the new license is lower than the changed date, the license behaves like it is expired.
I am unclear which "changed date you mean? The test date that they forwarded to?

The expiration by date tinkering and invalidation even when going back to a valid time period is definitely as I would expect, so I will tell them that it is indeed the 'as designed' behavior. :)

I can have them try the AI solution for the QA boxes. Many of our customers also carry out their own testing after installation; they would be best served by reverting to a snapshot/backup when doing license expiration testing rather than install AI, correct?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Testing License Expiration

Hi Larry,
Indeed, if the expiration date of the new license is lower than the changed date, the license behaves like it is expired.
I am unclear which "changed date you mean? The test date that they forwarded to?
Yes, you're right.
Many of our customers also carry out their own testing after installation; they would be best served by reverting to a snapshot/backup when doing license expiration testing rather than install AI, correct?
Yes, you can also use virtual machine software to test this.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
LarryLeonard
Posts: 3
Joined: Thu Dec 04, 2014 7:55 pm

Re: Testing License Expiration

Nope, that should about do it; you've answered my questions and the license process works exactly as it should (and as I would expect). :)

Return to “Common Problems”