I installed the my base target program to my machine 1.1.0.0
I then changed the version# in the program's exe to 1.1.1.0 and created a new .msi
I created a Patch with that new msi as the "upgraded image" and the original msi as the "Target image".
In the Patch Sequence section I created a "Family" and called it "P1110" and left the target as "Use Product Code" and the Sequence as 1.0 and kept "Supersede earlier patches" as unchecked.
I then installed that patch without problems.
I then changed the version# in the program's exe to 1.1.2.0 and created a new .msi
I created a new Patch with that new 1.1.2.0 msi as the "upgraded image" and the original msi as the "Target image".
In the Patch Sequence section I created a second "Family" and called it "P1120" and left the target as "Use Produce Code" and the Sequence as 2.0 and kept "Supersede earlier patches" as unchecked.
When trying to install the patch I get the Windows Installer error
"The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing or the upgrade patch may update a different version of the program"
I have tried checking and unchecking the box "Supersede earlier patches".
In the "Add/Remove" section I have tried checking and unchecking the box "Allow Patch Removal"
I have tried various combinations of all of the above including leaving just one "Family" and incrementing the sequence number (ie leaving the "Family" as "P1110" but changing the Sequence number to 2.0)
I don't always get the same error as the one above (I still had that on the screen to quote) but I got error such as "previous patch could not be uninstalled" (hence checking the box to "Allow Patch Removal" at one point but that just caused a different error.
All I want to do is have subsequent patches update the original target to which previous patches have already been applied. Each subsequent patch is cumulative in that it contains all previous changes.
What am I missing?
Ed