I have an installer (EXE) for which we change the third version # for upgrades, e.g. 3.0.2 -> 3.0.3 (we don't use the fourth). It is set up to "uninstall previous version first, and then install new version" . This all seems to be working fine.
Now I would like to conditionally show a dialog on the first install (i.e. NOT OLDPRODUCTS). However, when I log the value of OLDPRODUCTS it is always blank, regardless of whether I'm doing a first install of an upgrade. Is this expected behaviour for "uninstall previous version first, and then install new version" ? In this situation, is there another way I can detect that we're doing an upgrade?
Many thanks,
KM
FOLLOW US
Get the latest news in Application Packaging