This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: Get the UUID of the product
Subscribe
- 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
Jul 30, 2009
05:13 AM
Get the UUID of the product
There are Java classes/methods (ProductRegistryService, getProducts...) to look in the Product Registry (/var/.com.zerog.registry.xml on Unix, C:\program files\...\... on Windows)
However, it seems to work with UUIDs. I wanted to know if it's possible to know its own Product, Vendor, Component UUID?
That is, I would like to know if the product is already installed. So, I use my own UUID to find all the instances of my own product in the product registry, then I can do deeper and compre versions etc.
However I don't know my own UUID... Is there some way of getting it through Java, in some IA variable...?
Thanks!!!
However, it seems to work with UUIDs. I wanted to know if it's possible to know its own Product, Vendor, Component UUID?
That is, I would like to know if the product is already installed. So, I use my own UUID to find all the instances of my own product in the product registry, then I can do deeper and compre versions etc.
However I don't know my own UUID... Is there some way of getting it through Java, in some IA variable...?
Thanks!!!
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 30, 2009
08:15 AM
OK, it's an InstallAnywhere variable, $PRODUCT_ID$, which contains the product id. From there, I can get the information I needed.
(And I swear I looked at the variable list two times, I still missed it. I'm ashamed.)
(And I swear I looked at the variable list two times, I still missed it. I'm ashamed.)