Product Key not working

I followed the instructions for setting up a license key with an INNO Setup installation and made a product key for the App. I tested the installation and it accepted the key however, I cancelled the installation after the product key was accepted and now subsequently it will not accept the product key. I made another product key but, that also was rejected. How do I solve this issue.

If a product key is activated on a machine then another product key cannot be used. That's just how it works.

The InnoSetup example shows that if a product key is already activated it doesn't prompt for a new product key. That's good behavior.

If you want to test from a "Clean slate" then you need to deactivate your existing product key first. Do that by calling the Deactivate() function. Also, shown in the InnoSetup example in the uninstallation script.