leonardguy
Posts: 4
Joined: Thu Dec 17, 2009 3:55 am

updater.exe installer picking up previous version

Apologies if this has been answered before; nothing turned up in my searches.

Assume I have three versions of my software: v1, v2, and v3, and that I've published an AIU file for the update from v1 to v2 on my update server.

If I run v3 of my software in this scenario, updater.exe prompts me to download and install v2. This is my problem.

I'm aware that if I publish a 'v3 aware' AIU file, my problem goes away. My question is whether there is a way to configure advanced updater so that the problem does not occur even if my update server is not v3 aware -- perhaps a way to nominate an installed file to perform a version check against or something similar?

I am using the ProductCode and ComponentId 'Installed Detection' method.

Thanks!
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: updater.exe installer picking up previous version

Hi Leonard,

The updater supports custom detection. In your updates configuration project, under the Installed Detection section, set the "Detect if the update is already installed by running a custom EXE" option.
Make sure you have an executable to do the search for you.
You can read more about this on the update properties tab page.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”