Hello Balaji,
Thank you for the provided files.
I have investigated the AIP files and also tested this scenario and I was able to reproduce the issue.
First of all, you have made quite a lot of modifications outside of the instructions I gave you above, which resulted in this issue.
In order to achieve what you want, please proceed as it follows:
For version 1.0.2:
Prereq1:
- open the Prereq1 .AIP file
- go to
"Table Editor" page -->
"Install Execute Sequence" table and revert the
"AI_DOWNGRADE" row (right click on it -->
"Revert")
- now please go to
"CustomAction" table and revert the
"AI_DOWNGRADE" row (right click on it -->
"Revert")
- go to
"Upgrades" page. Here, double click on
"OLDPRODUCTS" rule. Here, in the
"Max. Version" field, input the following:
and check the
"Include Maximum version in range" option.
- now please double click on the
"AI_NEWERPRODUCTFOUND" rule. Here, in the
"Min. Version" field, input the following:
and check the
"Include Minimum version in rage" option.
- now please go to
"Upgrade Action" tab (of the
"AI_NEWERPRODUCTFOUND" rule) and check the
"Detect only, placing results in property" option.
- rebuild the project.
Prereq2:
- repeat all the above steps.
- rebuild the project
Bootstrapper:
- open the project
- revert the
"AI_DOWNGRADE" rows (as we did on the prerequisite)
- go to
"Prerequisites" page.
- select one of your prerequisites -->
"Install Conditions" tab --> double click on the condition --> set the
"Maximum" field to
"1.0.1" as well.
- repeat the above step for the second prerequisite as well.
- now please go to
"Upgrades" page.
- double click on the
"OLDPRODUCTS" rule and in the
"Max. Version" field, input the following:
and check the
"Include Maximum version in range" option.
- now click on the
"AI_NEWERPRODUCTFOUND" rule and in the
"Min. Version" field, input the following:
and check the
"Include Minimum version in range" option.
- in the
"Upgrade Action" tab of the
"AI_NEWERPRODUCTFOUND" rule, select the
"Detect only, placing results in property" option.
- delete the custom upgrade rule you have created (the one that is supposed to detect your prerequisite).
- rebuild and install. Versions 1.0.2 for the Bootstrapper and for Prereq_MSI1 should appear in the Control Panel.
For version 1.0.1:
- repeat the exact same steps as presented above
- rebuild and install
- now versions 1.0.1 should appear for both the Bootstrapper and for the Prereq_MSI1 in the Control Panel.
Please find below, for your reference, a download link for both versions with the modification I've presented above:
https://drive.google.com/file/d/1isn7I2 ... sp=sharing
Best regards,
Catalin