- Revenera Community
- :
- FlexNet Publisher
- :
- FlexNet Publisher Forum
- :
- How to limit the license to an specific version of the software
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
I'm using the FlexNet license genenrator (*.exe) and a license file template (*.lic) to manually generate licenses. Currently my license template (see below) allows all versions of the software. However, I need to limit the software version to 9.2 only. What keyword and value should I use in my license template to do that?
FEATURE ALL utsa 1.000 31-dec-2022 uncounted HOSTID=ANY \
SIGN="0091 ....."
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
The 1.000 in the template is the version number. It corresponds to the version string used in the lc_checkout call. So you would need to change that 1.000 to 9.2, and pass "9.2" in the lc_checkout call. However, the version in the license file is an upper limit, not a fixed value. So if you issue licenses with 9.3 or 10.9, the lc_checkout call with lower versions like "9.2" will still work. If you really want to restrict it to only that version, you would need to change your feature name every time you change the version.
Also I hope you are not really using "ALL" as a feature name. For your customers' sake you should use something more descriptive.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
The 1.000 in the template is the version number. It corresponds to the version string used in the lc_checkout call. So you would need to change that 1.000 to 9.2, and pass "9.2" in the lc_checkout call. However, the version in the license file is an upper limit, not a fixed value. So if you issue licenses with 9.3 or 10.9, the lc_checkout call with lower versions like "9.2" will still work. If you really want to restrict it to only that version, you would need to change your feature name every time you change the version.
Also I hope you are not really using "ALL" as a feature name. For your customers' sake you should use something more descriptive.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Thanks for your clarification!
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)