AutoUpdater not working properly. - 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!

dansmale
Posts: 3
Joined: Sun Dec 02, 2012 1:05 am

AutoUpdater not working properly.

I created my first installer and it is working great although the auto updater does not seem to be working. I have it set to check the file version. It checks in appdir/myapplication.exe. I created the config file with all the right info and uploaded it to the correct spot on my server and know that it's not an issue without being found because I have checked my stats and seen it has been accessed numerous times.

So the updater is obviously checking it but for some reason it is showing up that it is the same version although the new version is 1.0.9.2 and the previous version installed installed is 1.0.1.4. I tried creating a shortcut to the updater.exe in the applications directory and added /checknow into the parameters to get it to check and it bring back the messagebox saying my application is up to date. So I am not sure what is going on here, can anyone shed some light?
dansmale
Posts: 3
Joined: Sun Dec 02, 2012 1:05 am

Re: AutoUpdater not working properly.

Anyone?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: AutoUpdater not working properly.

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

I'm not sure why you are encountering this behavior. I've tested your scenario but I cannot reproduce the behavior. Can you attach a sample (Target.aip, Upgraded.aip, UpdatesConfigurationFile.aip and a sample EXE with two different versions) reproducing the scenario so we can investigate?

Here's attached a sample, created using version 9.7 of Advanced Installer, which implements a similar scenario.
sample.zip
(1.6 MiB) Downloaded 221 times
Also, you can take a look on our "Using The Updater " article.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dansmale
Posts: 3
Joined: Sun Dec 02, 2012 1:05 am

Re: AutoUpdater not working properly.

Thanks for the reply, I reviewed the sample and it looks like I have done everything correctly.

I do have a question. This update was set to a major release and not a patch. The version went from 1.0.1 to 1.0.9 and since this is a version search, is it possible that it says it is the same version because only the third number had incremented and not the first two/ actual major release numbers?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: AutoUpdater not working properly.

Hello,
I do have a question. This update was set to a major release and not a patch. The version went from 1.0.1 to 1.0.9 and since this is a version search, is it possible that it says it is the same version because only the third number had incremented and not the first two/ actual major release numbers?
No. Please make sure that you are using a proper detection criteria in your updates configuration project.

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

Return to “Common Problems”