Auto Updater Issues - 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!

angeltear
Posts: 2
Joined: Thu Apr 09, 2009 3:59 pm

Auto Updater Issues

Hi Guys,

I have setup my software in the following manner:

- exe file
- update based on file version

With this I have ran into a few issues:
- Now when I release a new update of the software, sometimes the updater hangs saying "checking updates..." or something like that. Similarly if it found an update to get, sometimes it has the update checked off and it has "automatically download and install updates" selected but it doesn't start to download.
- The more pressing issue is that after I release an update, the software gets updated fine, HOWEVER the updater.exe and updater.ini files get removed from the application. This results in my application crashing as it cannot find updater.exe and I cannot get further updates. Is there something I need to do to make sure they stay installed after an update?

Thanks in advance,

Antoni K
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Auto Updater Issues

Hi,
Now when I release a new update of the software, sometimes the updater hangs saying "checking updates..." or something like that.
Perhaps the URL for the updates configuration file cannot be accessed. Please try letting it to check until it times out to see what happens.
Similarly if it found an update to get, sometimes it has the update checked off and it has "automatically download and install updates" selected but it doesn't start to download.
I'm not sure why you are encountering this behavior. Can you reproduce it on other machines? If so, can you please send us the following files to support at advancedinstaller dot com so we can investigate them?
- the updates configuration file
- the INI installed next to the updater
The more pressing issue is that after I release an update, the software gets updated fine, HOWEVER the updater.exe and updater.ini files get removed from the application.
This is a known Windows Installer bug related to file versioning. A solution is to use the "Ensure that this file overwrites any installed target file" option in the Version tab of the "Edit File" dialog.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
angeltear
Posts: 2
Joined: Thu Apr 09, 2009 3:59 pm

Re: Auto Updater Issues

cosmin wrote:Hi,

Perhaps the URL for the updates configuration file cannot be accessed. Please try letting it to check until it times out to see what happens.
Similarly if it found an update to get, sometimes it has the update checked off and it has "automatically download and install updates" selected but it doesn't start to download.
I'm not sure why you are encountering this behavior. Can you reproduce it on other machines? If so, can you please send us the following files to support at advancedinstaller dot com so we can investigate them?
- the updates configuration file
- the INI installed next to the updater
The more pressing issue is that after I release an update, the software gets updated fine, HOWEVER the updater.exe and updater.ini files get removed from the application.
This is a known Windows Installer bug related to file versioning. A solution is to use the "Ensure that this file overwrites any installed target file" option in the Version tab of the "Edit File" dialog.

Regards,
Cosmin
Hi Cosmin,
Thank you for your prompt response.

- I let the application run on until a timeout... however none has occured... yet ;)
I get the "Checking for Updates" "Please wait..." popping up.

- updates.txt

Code: Select all

;aiu;
 
[Update]
Name=ReJoyCE
URL=http://data.rehabtronics.com/download/rejoyce.exe
Size=42907928
MD5=952b575696f68c2744459095a484927a
ServerFileName=rejoyce.exe
FilePath=[APPDIR]RejoyceClient.exe
Version=1.0.409.0
- updater.ini

Code: Select all

[General]
URL=http://data.rehabtronics.com/download/updates.txt
ApplicationName=ReJoyCE
ID={0E049CEC-EA12-454B-BE6F-5DE2C6876AE5}
DownloadsFolder=C:\Documents and Settings\Antoni Kowalczewski\Application Data\Rehabtronics\ReJoyCE\updates\
AppDir=C:\Program Files\Rehabtronics\ReJoyCE\
CheckFrequency=2
CompanyName=Rehabtronics
- Your recommendation seemed to have fixed things- Thank you
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Auto Updater Issues

Hi,

We tested the settings you are using and unfortunately we are unable to reproduce the problem on our machines (the update is detected correctly and immediately). Are you using special firewall settings? Also, can you reproduce this behavior on other machines? If so, can you please give me more details about how you are launching the updater?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”