Updater is being fooled by version # - Advanced Installer Community
kjullion
Posts: 176
Joined: Mon Nov 11, 2013 9:02 pm

Updater is being fooled by version #

Hi,
I was a little surprised to see that when I am testing the auto Update (updater.exe) feature that when I test our version 14.06.98 that it sees the file on our host location and for some odd reason it thinks that the update is applicable (when really it's not an update at all the file that is up there is months old, and should never be viewed by Updater as a valid update).

Here is the contents of the local Updater.ini file after installation of 14.06.99:
[General]
AppDir=C:\Program Files (x86)\ProMicro\Overture Demo\
CheckFrequency=1
CompanyName=ProMicro Inc
ApplicationName=Overture Demo
Flags=NoDisableAutoCheck|PerMachine|ShowConfigOptionsButton
ID={D9A08CCA-9BE7-4283-B061-49F072D12DC5}
ApplicationVersion=14.06.98
DownloadsFolder=C:\Users\Public\Documents\ProMicro\Overture Demo\MyOverture\
SupportServiceName=Updater.exe
DefaultCommandLine=/silentall -nofreqcheck
URL=http://<our hosting location>/AutoUpdateLatestVersion.txt



And here is the file on the server that should mean that it's not an update at all, it's older and should not be seen as an update.

;aiu;

[Update]
Name=ProMicro Overture Demo
NoGUICommandLineSwitch=/exenoui /qn
ProductVersion=13.8.55.0
URL=http://<our hosting location>/Setup_ProMicro_Overture_Demo_130855.exe
Size=54478968
MD5=9025ee784e36710411c6559d92188886
CommandLine=/exelog
ServerFileName=Setup_ProMicro_Overture_Demo_130855.exe
Flags=Critical|NoCache|Advertises
RegistryKey=HKUD\Software\ProMicro\Overture Demo\Version
Version=13.08.55
AutoCloseApplication=[APPDIR]Over_NYL.exe|;ProMicro Overture;AlwaysRestart


What could be going wrong here?

Thanks.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Updater is being fooled by version #

Hello,

This could happen if on your test machine the "Software\ProMicro\Overture Demo\Version" registry value doesn't exists or exists but it contains a lower version than 13.08.55. When launched the updater access the updates configuration file hosted on your server (i.e. AutoUpdateLatestVersion.txt), check on current machine the updates detection criteria specified in your updates config file and if the check fails then launches the updates package.

So, can you please make sure you are using a proper updates detection criteria in your updates configuration project and test again your installation scenario? You should use as a detection criteria for your updates a search which will be always evaluated to TRUE when the updates package (or higher versions) are installed and to FALSE when no updates package is installed.

Let us know if this helped, otherwise please send us the .aip (project file) of your 14.06.98 version to support at advancedinstaller dot com so we can investigate.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”