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: how detect downgrade and abort
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
‎Nov 16, 2010
07:42 PM
how detect downgrade and abort
Hi everyone,
Does anyone know how we defect highers version has been installed and abort if a higher version of it installed?
Does anyone know how we defect highers version has been installed and abort if a higher version of it installed?
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 17, 2010
07:31 AM
On Windows I would use the registry.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 17, 2010
12:29 PM
Hi how about Linux?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 18, 2010
03:38 AM
You have the ZeroG registry (an .XML file located either in /var (the global one) if your application is installed as root) or the local one in the user home.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 23, 2010
08:51 PM
Hi, As you mention the ZeroG registry, I noticed that we have .com.zerog.registry.xml under /var and another one under INSTALL_DIR. Could you tell me the differentce?
I understand we can query the product by using this registry but I have another question. Do we have any class to check downgrade? I mean if I install one product with version 6.2 and then we try to install the same product with version 6.1. I don't want to do it manually by compare the version number.
I understand we can query the product by using this registry but I have another question. Do we have any class to check downgrade? I mean if I install one product with version 6.2 and then we try to install the same product with version 6.1. I don't want to do it manually by compare the version number.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 24, 2010
04:07 AM
Check the contents differences between those two. As I was saying, the one in the /var is the global one, it should contain ALL installations of products for which installers have been created with IA (not only your product) and installed as root. The one in your home directory is created, if I'm not mistaken, when the product is installed as a regular user (which normally doesn't have access to /var).
AFAIK there is no built-in functionality, you would need to query the registry and indeed compare the version you get there with the version you're attempting to install and abort if not ok.
AFAIK there is no built-in functionality, you would need to query the registry and indeed compare the version you get there with the version you're attempting to install and abort if not ok.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)