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.
Check Flare license via command line
-
0Qq5Ew538tV
- Propeller Head
- Posts: 19
- Joined: Wed Jun 06, 2018 11:51 am
-
robdocsmith
- Sr. Propeller Head
- Posts: 271
- Joined: Thu May 24, 2018 3:11 pm
- Location: Queensland, Australia
Re: Check Flare license via command line
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
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
That's very helpful, we can definitely query the registry to perform this check. Thanks for the response!