So we have been using AI for awhile on our older project and we allow side-by-side installations with environment variables allowing for customization.
We have a new project starting from scratch using AI 21.7.1 and initial installation goes just fine. Version 1.0.0 installs and is doing great. When we create a new version (building in TeamCity using the AI plugin) we build the .aip file. Now we have a step prior to building the AI project that does some API manipulation of the .aip file including running the /SetVersion 1.0.1 command.
So when we now install the update (version 1.0.1), Windows 10 doesn't seem to understand that its an upgrade but installs 1.0.1 as a new product. So now I have product FOO in Windows registered as 1.0.0 and 1.0.1 next to each other in the Windows installed programs list. Are we doing something wrong here by manipulating the .aip file before using the plugin? I don't think it would make a difference as the example using the TC plugin actually has SetVersion as an option.
Under the Upgrades menu I have:
Automatically upgrade older product versions
Use original installation path when upgrading
Uninstall old version first and then install the new version