Currently we automate our installation creation via a command line build. Before building we manually upgrade the product version within the aip file. However when it builds it does not update the product code which means when the install runs it thinks it is the same version as a previous product installed on the target machine.
How can we force it to generate a new product code during a build?
Or, how can I make the installation force an uninstall of a version it thinks is the same on the target machine before installing itself?
Note: I tried using the standard action "RemoveExistingProducts" but this presents me with the Edit/Repair/Remove dialog when I just want to "Replace" without giving the user an option.