I found the minimum version number on the upgrade tabs but that only makes it switch to a new install. How can I detect if they contain version 3.2.xxx and allow an upgrade and if they have lower than 3.2.xxx then it alerts them and blocks the install? If they don't have any version installed then it would allow a new install
You can achieve what you want by following these steps:
- please go to "Search" page and create an extended search as it follows: right click --> "New Extended Search" --> "Product Version (identify by Upgrade Code)"
- in the "Upgrade Code:" field, insert the upgrade code of your setup.
- under the "Required Versions" section, in the "Minimum:" field, please insert the minimum version.
- now please go to "Launch Conditions" page --> "Custom" tab and create a custom launch condition as it follows:
Condition: your search name (by default, the name of the search is "RESULT_PROPERTY", "RESULT_PROPERTY_1", etc.)
Description: the message you want to show to your users
I have a quick question related to this solution. Does the "Upgrade Code" field in the Extended Search work with the [|UpgradeCode] alias? I couldn't get it to work with it, but I don't know if it was something I was doing wrong or if this was by-design.
Unfortunately, that field is not of "formatted"/"pseudo-formatted" type, so it does not work.
Fortunately, there is no need for that to work because the UpgradeCode stays the same between multiple versions of your product, so it does not really need to be "automated".
Please let me know if you have any other questions and I will gladly assist.