Problem with auto-update - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

ben
Posts: 2
Joined: Tue Dec 19, 2006 5:20 pm

Problem with auto-update

We are currently evaluating your installation software for our product. We have difficulties with the auto-updater. It succesfully download the new bootstrap instal (all contained in a single .exe) but it fail installing it with the following error message:

"Another version of this product is already installed. Installation of this version cannot continue. To continue...."

Since the dowload of our application is relatively small, we are looking for a very simple solution without any patching, just a full re-install every-time we have new version available. Our current versionning mecanism is automatic to match the version of our source control manager (subversion).

We followed the instructions on http://www.advancedinstaller.com/user-g ... dater.html to integrate the auto-updater call. It works very-well. The only issue is that un-installation is not done when new version are available.

Thank you in advance for your support
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,
"Another version of this product is already installed. Installation of this version cannot continue. To continue...."
This message appears when another package with the same "Product Code" was installed on the system, but with a different Package Code. This happens if for example after you build your release and install it, make some changes, rebuild (a new Package Code is generated with each build) and install it again. To manage an upgrade you need to do like this:

Open the current version of your project and use "File->Save As" option. In the new saved project increase the "Product Version" and choose yes when AI ask you to generate a new "Product code". Are you sure that you create the upgrade package like this?

Kind Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
ben
Posts: 2
Joined: Tue Dec 19, 2006 5:20 pm

That is right, the product code was not properly generated as i was not respecting the versionning standard (was using 4th digit instead of 3rd one). It works well now.

Thank you for your support, appreciate it.

Return to “Common Problems”