Check Flare license via command line

This forum is for all Flare issues not related to any of the other categories.
Post Reply
0Qq5Ew538tV
Propeller Head
Posts: 19
Joined: Wed Jun 06, 2018 11:51 am

Check Flare license via command line

Post by 0Qq5Ew538tV »

We had a Flare user publish to our website using an unlicensed version of Flare and thus the text was scrambled. We now want to create an automated check to prevent this in the future.

Is there a way to verify if Flare is licensed via the command line? I know you can do it by going to Help -> About in the GUI, but we need to be able to check if Flare is licensed via the command line so we can add an automated check.
robdocsmith
Sr. Propeller Head
Posts: 271
Joined: Thu May 24, 2018 3:11 pm
Location: Queensland, Australia

Re: Check Flare license via command line

Post by robdocsmith »

I'm not sure about the Flare command line, but you could probably query the Madcap Licence registry key to determine its presence using the command line.
For me the keys are in HKEY_CURRENT_USER\SOFTWARE\MadCap Software\Flare\License. When unlicensed, the relevant version key is empty. The tricky part might be to make sure you check the most recent license key for a value.

Rob
0Qq5Ew538tV
Propeller Head
Posts: 19
Joined: Wed Jun 06, 2018 11:51 am

Re: Check Flare license via command line

Post by 0Qq5Ew538tV »

That's very helpful, we can definitely query the registry to perform this check. Thanks for the response!
Post Reply