Hi Catalin,
Thanks for the reply!
OLDPRODUCTS is a property that is set to the previous version ProductCode. As you can imagine, this is only set on upgrade.
So I adapted my installer and now it shows a message box with the contents of the OLDPRODUCTS property ("OLDPRODUCTS: [OLDPRODUCTS]") during installation using a custom action. Then I created two installers (let's call them v1 and v2) using Advanced Installer. After creating v1, I regenerated the product code (to my knowledge the product code should be changed between versions, but the upgrade code has to be the same) and changed the file version of one file, then I created v2. Then I installed v1, and it showed "OLDPRODUCTS: ", therefore it was not assigned. Next, I installed v2, and it showed again "OLDPRODUCTS: ", therefore it was still not assigned. What am I missing here?
FOLLOW US
Get the latest news in Application Packaging