Updater shows update available with same version - 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!

murug86
Posts: 52
Joined: Mon May 21, 2012 10:59 am

Updater shows update available with same version

I am having a new issue with updating.

I’v created the first version of my application as V1.0.0
Added the updater.

I’v created an update-text-file for this same version V1.0.0

But when I hit the Updater.exe, instead of showing me “Your software is uptodate” it shows me an update is available.


This is my updater.ini (in the APPDIR):
[General]
AppDir=C:\Smart\
CompanyName=My Corporation Group
ApplicationName=Smart
ID={BE4AE298-D2C1-425F-953D-93C9CBBEB02F}
ApplicationVersion=1.0.0
DownloadsFolder=C:\Users\254013\AppData\Roaming\My Corporation Group\Smart\updates\
URL=http://smartbeta.corporation .com/SmartDownload/downloadtxt.action



And this is my update.txt (which the updater.exe downloads):
;aiu;

[Update]
Name=Smart
ProductVersion=1.0.0
URL=http://smartbeta.corporation .com/SmartDownload/downloadmsi.action
Size=443839488
MD5=93b680e65940708137ff50b4ca94cebb
ServerFileName=Smart.msi
RegistryKey=HKLM\Software\My Corporation Group\Smart\Version
Version=1.0.0



The version on both is 1.0.0, Still it shows update available? I think this a BuG? ;(
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Updater shows update available with same version

Hi,

First of all, as a design matter, it is incorrect to place on your servers an update package with version 1.0.0. Since this is the first version the users need to install manually
there is no way someone can get it using the updater. The updater is used by your users to get new versions after they installed at least the first one manually.

Now, back to your problem, the settings look correct. One thing, the URL "http://smartbeta.corporation .com/SmartDownload/downloadtxt.action" does not work in my browser, have you taken it down?

Also, what does it says in the updates found dialog, can you post a screenshot? Regarding your package configuration, is your MSI a 64 bit package and you install it on a 64 bit machine?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
murug86
Posts: 52
Joined: Mon May 21, 2012 10:59 am

Re: Updater shows update available with same version

Hi Bogdan,

Update for V 1.0.0:
If the user simply clicks the updater.exe, he'll get a error popup saying : no update configuration file present. That's why I made an update file for V 1.0.0. I tried this out for a small app, and it worked. It's showing: "Your software is up to date". But for my main app, it's showing update available.

URL - not working:
Tht's not hosted on a public server. It's only for internal use. But I assure you, the download is working perfectly.

Bit:
I have package type selected as : 32-bit package.
And i'm installing on a 32-bit system.

update available - image attached: UpdatesFound.png
update available - image attached:
update available - image attached:
UpdatesFound.png (92.6 KiB) Viewed 5705 times
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Updater shows update available with same version

Hi,

Based on your latest details the only way the updater could present you with this screen is if the registry key "HKLM\Software\My Corporation Group\Smart\Version" with value set to "1.0.0" is missing from the machine. Have you checked that? If so, can you please send me the aip files so I can take a look over them as no such bugs were reported.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
murug86
Posts: 52
Joined: Mon May 21, 2012 10:59 am

Re: Updater shows update available with same version

You were right Bogdan,

somewhere in the middle, i don't know how, the software stopped making the registry entry.

Now, i am manually adding the required items in the Registry page.

Good feeling, it'l work now
murug86
Posts: 52
Joined: Mon May 21, 2012 10:59 am

Re: Updater shows update available with same version

Hi..

Sorry to report it Didn't work either. Even after the registry entry was made, the updater still showed an update available.

ALTHOUGH, i did find a perfect workaround for my scenario.

I simply open the update-text-file and delete everything save < ;aiu; >
And wa-laa.. "Your software is up-to-date" :)

Good enough for me, when i release the next version, it'll work.. : )

Return to “Common Problems”