Hi,
For upgrading an older installation created with another authoring tool there are two cases:
1) The old installation is MSI-based. In this case you can use the
Upgrades page to specify which applications will be upgraded by your package. Basically, the old installation will be removed automatically and your package will be installed.
2) The old installation is not MSI-based. In this case you can create a
custom action which calls the Uninstaller of the old application. If it doesn't have one, then you have two options:
- Create a custom launch condition which uses the result of a search. The search will verify if the old application is installed and if it is then the custom launch condition will terminate the installation. This will make the user manually remove the old application before installing the new package.
- Create a custom action which removes all the resources of the old installation.
Regards,
Cosmin