I have two Access database Applications with AI installers. One installer was originally based on a copy of the other, but all application identification information has been changed in the second one, and the GUIDs are different (I checked!). The installers check for the presence of Access, install an appropriate runtime if necessary, make some appropriate Registry settings, and put a number of files in a specified (shared, if both are installed) application data folder, including one data file that is used by both. They don't actually use their application code folders. Each application installs and runs correctly when installed on a 'virgin' system. If installer B is run after installer A, I get the "A more recent version..." message and the installation aborts. If installer A is run after installer B, application B is silently and completely uninstalled and application A is successfully installed - this despite the fact that they have different names and GUIDs and only one file in common. Help!
Is the Upgrade Code of the packages also different or just the Product Code? If only the Product Code and the version of the packages are different, Windows Installer will detect that another application with a higher version is already installed on the machine and that message will be displayed.
Please keep in mind that when you want to create another project starting from an already created one, you need to use the "Save As Template" option, otherwise the problems described in the Using the "Save as template" option article will be encountered.
Please keep in mind that when you want to create another project starting from an already created one, you need to use the "Save As Template" option, otherwise the problems described in the Using the "Save as template" option article will be encountered.
Best regards,
Eusebiu
That was the problem. I had made a copy rather than saving as a Template, and the Upgrade Codes were, indeed, the same. I saved Installer B as a Template and then instantiated it as a new Installer, when everything worked correctly.
FOLLOW US
Get the latest news in Application Packaging