Native Mode Product Upgrade
Posted: Sun Feb 06, 2011 10:02 am
Hi,
I want to create a prouct initial install and a set of upgrades that for example follow the naming sequence: ASCOM Platform, ASCOM Platform (SP1), ASCOM Platform (SP2) etc. and have these names show up in add/remove programs so the user knows exactly what is installed. I'm using the latest 10.10 build - Studio version.
In MSI mode, all works OK and I can change the project name as needed and previous versions are correctly identified because the project_code is the primary key and links all the different versions of the application. I've just switched over to using the Native engine and have hit an issue with product upgrades: the new installer does not remove the previous version from the Add/Remove list and I end up apparently with both the original and the upated version installed.
The issue seems to be that uninstallation during upgrade does not remove the uninstall registry entry for the previous installation.
I've created an IA project from the Native template that comes with 10.10 to demonstrate what I'm seeing, its in the link here: http://download.ascom-standards.org/bet ... upTest.zip. The issue shows by building the installer and running the install, then changing the project name, rebuilding the installer and installing again. After this you will end up with two different entries in Add/Remove programmes with the two different project names you used, despite not having changed the Project_Code GUID and with an uninstall being reported as having occured.
Thanks, Peter
I want to create a prouct initial install and a set of upgrades that for example follow the naming sequence: ASCOM Platform, ASCOM Platform (SP1), ASCOM Platform (SP2) etc. and have these names show up in add/remove programs so the user knows exactly what is installed. I'm using the latest 10.10 build - Studio version.
In MSI mode, all works OK and I can change the project name as needed and previous versions are correctly identified because the project_code is the primary key and links all the different versions of the application. I've just switched over to using the Native engine and have hit an issue with product upgrades: the new installer does not remove the previous version from the Add/Remove list and I end up apparently with both the original and the upated version installed.
The issue seems to be that uninstallation during upgrade does not remove the uninstall registry entry for the previous installation.
I've created an IA project from the Native template that comes with 10.10 to demonstrate what I'm seeing, its in the link here: http://download.ascom-standards.org/bet ... upTest.zip. The issue shows by building the installer and running the install, then changing the project name, rebuilding the installer and installing again. After this you will end up with two different entries in Add/Remove programmes with the two different project names you used, despite not having changed the Project_Code GUID and with an uninstall being reported as having occured.
Thanks, Peter