Updater all of a sudden finding updates when it shouldn't - Advanced Installer Community
karlf
Posts: 30
Joined: Tue Nov 01, 2016 7:30 pm

Updater all of a sudden finding updates when it shouldn't

Hello,

I am working on setting up an auto-updater and it has been working well until now, and I'm not sure what changed. I have my updater set up to check for Pre-install updates, as well as through the updater. Both URL's are pointing to the same file on the same server. All of a sudden, now, when I check for updates using either a shortcut, or the built in updater, updates are found, even though the version of the installer I have just installed is higher than the versions that are found for updates. In fact, when I try to install one of the found updates, I get an error saying a higher version is already installed.

What's interesting to me, is that when I first run the installer, it should be checking for updates, and show if there are any. This part for some reason does not see the updates. In the past, every time I have installed a lower version to test checking for updates manually using the shortcut, upon the initial installation, updates would be found, but not anymore (this is the correct behavior, not finding updates).

I'm trying to figure out why it is different in the Pre-install update check, vs the manual check that I'm doing that shouldn't be finding updates but is.

The latest version of my program that I'm installing is version 3.0.28794. In my updates txt file, I have 2 updates. They are versions 3.0.27883.0, and 3.0.27882.0.

My updates text file looks like this:

;aiu;

[Update_27883]
Name = DigiTrak LWD Bundle update 2
ProductVersion = 3.0.27883.0
URL = BASEURLHERE/Updates/LWD_CM_Bundle/TEST/Installer_27883/Setup_DigiTrakLWDSuite.exe
Size = 91663392
MD5 = 7841883338b2d1d925c3b985322ccfd8
ServerFileName = Setup_DigiTrakLWDSuite.exe
RegistryKey = HKUD\Software\DCI\DigiTrak LWD Bundle\Version
Version = 3.0.27883.0
Description = This is an update for the LWD Cloud Manager bundle
Feature = This update adds the ability to check for updates within the help menu of Cloud Manager
Replaces = All

[Update_27882]
Name = DigiTrak LWD Bundle update 1
ProductVersion = 3.0.27882.0
URL = BASEURLHERE/Updates/LWD_CM_Bundle/TEST/Installer_27882/Setup_DigiTrakLWDSuite.exe
Size = 91663264
MD5 = 8374afe1b8f2dfa64207225159968389
ServerFileName = Setup_DigiTrakLWDSuite.exe
RegistryKey = HKUD\Software\DCI\DigiTrak LWD Bundle\Version
Version = 3.0.27882.0
Description = This is an update for the LWD Cloud Manager bundle
Feature = This update allows for LWD Cloud Manager to check for updates when it starts up



Are they any ideas on what could be causing this all of a sudden? The only thing I can think of is possibly because the name changed?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Updater all of a sudden finding updates when it shouldn't

Hello,

The new updates message appears when the updates search, defined into your updates configuration project, fails on your target machine. You should check in the "Update Installed Detection" tab, of your Updates Configuration project, that the search configured here is always successful when a greater version of the product is already installed.

You can check our "Update Installed Detection" article for more information.

For further investigations could you please sent us to support at advancedinstaller dot com the following items:
- The AIP from the higher version of your product
- An AIP from an older version from updates
- The AIP from the Updates Configuration project

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

Return to “Common Problems”