Activation App Version is Not Persistent

Hi

Once you have set an activation’s app version using SetAppVersion(), that app version will be updated against that activation on the server for all subsequent server syncs until the client application is closed. However, if the application is closed and then opened again, the value of the activation’s app version is not automatically populated again, and unless the app version is explicitly set again, any subsequent server sync will clear the app version stored against that activation on the server.

Once an activation’s app version has been set, it should be populated automatically the next time the application is run so the existing value can be included in server syncs (as is already the case with an activation’s metadata - subsequent syncs do not clear the existing activation metadata on the server even if it was not explicitly set again).

You might also want to consider changing the procedure name to SetActivationAppVersion to make it clearer what it does, and then perhaps also consider adding a GetActivationAppVersion function to match the existing GetActivationMetadata function.

Just a thought.

Hi @deonvn,

It is important to note that the SetAppVersion() has been deprecated, you should instead use SetReleaseVersion() as this function is vital for managing the releases using our Release Management.

It is recommended to invoke SetReleaseVersion() function within the initialization process, similar to the invocation of SetProductId(). This practice ensures that any updates to the software version are accurately reflected on the activation page.

The requirement of a function like GetAppVersion() is deemed unnecessary, as it is presumed that the software inherently possesses an awareness of its operational version.

Hi @ahmad-kemsan

I don’t see a function for SetReleaseVersion() in the LexActivator.pas file delivered with V3.24.1 of the LexActivator.dll.

Thanks

We will get that updated soon. Will keep you posted.

Hi @deonvn,

Thank you for your patience.

Support for the SetReleaseVersion() function has been added to the LexActivator.pas file.

1 Like