Jump to content
dmitrybv

programmatically determine the edition of RAD Studio 12.3

Recommended Posts

Enterprise returns Enterprise..

So "Personal" seems the Community Edition.

Edited by Die Holländer

Share this post


Link to post

I cannot check this in my environment as I neither have a Personal Edition nor a Community Edition at hand. I can just share that my Architect Edition shows Enterprise in the details, which is expected because Enterprise and Architect differ only in the licenses for some external tools.

 

Given the previous findings, the Product name seems to be a valid approach to detect the installed edition.

Share this post


Link to post

Maybe in combination with:

 

  • bds.exe /ProductInfo:Trial - returns True/False if the product is a Trial version.

Share this post


Link to post

I still don't understand the problem of detecting whether dcc32 of a CE installation can compile anything. What does it do if you give it an empty .dpr file to compile from a cmd window? Does it just silently fail? No error message? But even if that is the case, you could at least try to compile said empty .dpr file and check whether an executable is created.

 

Not quite an elegant solution but it should work.

  • Like 1

Share this post


Link to post
56 minutes ago, Die Holländer said:

Maybe in combination with:

  • bds.exe /ProductInfo:Trial - returns True/False if the product is a Trial version.

For Delphi 10.2 this also pops up a registration form.

 

Share this post


Link to post
7 hours ago, dmitrybv said:

I tested RAD Studio 12.1 Community Edition.
For this edition, the "Detail" properties of the bds.exe contain the value “Personal”.
I don’t know what the value Personal means and whether it is related to the concept of Edition at all.

SKU: Enterprise, Professional, Personal (this may be Community Edition).

 

Source: BDS.EXE and LicenseManager.exe

 

I cannot find the Architect SKU, it is possible that is derived from something else.

They (Embarcadero) spoke about this way to find a kind of product in Alexandria news note.

 

So, I think from that release we had the opportunity to use it.

 

 

Share this post


Link to post
1 hour ago, DelphiUdIT said:

I cannot find the Architect SKU

The Architect SKU is in fact an Enterprise SKU with additional licenses for some external tools (RAD Server Multi-Site, Sencha Ext JS Professional Edition, Aqua Data Studio). This SKU can only be detected from the license, so an IDE plugin can query the SKU and will return Architect with an appropriate license.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×