Our target was to being able installing any product version on top of any other product version. Ideally with the same product code; searching around, we found out that this is not possible, so a new product code will be unavoidably provided. This thing runs in Azure, so upgrading the version and the product code on the fly, is a hack editing the .aip before the task is called. The project is currently appxbundle bootstrapped in exe.
So, to the matter at hand. We would like to take care of the uninstallation of all the previous versions ourselves and we would like Advanced Installer to take no action about it. The settings in the "Upgrades" view are, at the moment: "Allow side by side installs of different product versions".
According to the tool-tip below at the "Order" group:
The thing is... that it does have a consequence.Information
The upgrade order has effect only when "Automatically
upgrade older product versions" is selected. The settings
will be saved but it will have no consequence.
In our example, installed is the "1.11.1.2356" and next comes the "1.11.1.2358". Please don't mention about the fourth number and the windows installer relationship, because a manual "install, uninstall, install", works perfectly... That is what we would like to reproduce using Advanced Installer.
"Uninstall old version first and then install the new version" will: uninstall the "1.11.1.2356" leaving some registry keys (not left with manual uninstallation) and while this will be uninstalled, leaving the "1.11.1.2358" installed in its spot in the control panel, the version that will run will be the "1.11.1.2356". Searching the registry there are double keys. A second installation of the "1.11.1.2358" will fix it.
"Install new version first and then uninstall old version" will: let us uninstall whatever we find ("1.11.1.2356") and will install the "1.11.1.2358". If we launch it before Advanced Installer goes to "Uninstalling previous versions", it will be the "1.11.1.2358", the one that it should be. After AI finishes though, the control panel will still show the "1.11.1.2358" but it will be nowhere to be found.
So, you see, if we have "Allow side by side installs of different product versions" we do not want it to check for us and take action. We do not want it to uninstall in any order. It is possible?
Thank you in advance.
Vassilis
FOLLOW US
Get the latest news in Application Packaging