Auto Updater never returns 0 - 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!

Daren
Posts: 6
Joined: Wed Mar 07, 2012 4:10 pm

Auto Updater never returns 0

I have built my app to run the auto installer at startup. The updates were working just fine but I can't get auto updater to recognize that there is an update for my software now. I have created a new installer exe and a new Updates Configuration text file. I put the two out on the server but launching my app does not cause the update dialog to be shown (like it used to). I verified that the updater seems to be downloading the Updates Configuration from the server because if I look in the C:\Users\<username>\AppData\Roaming\<compangyName>\<productName>\updates folder I see an .aiu file with the latest text from the Updates Configuration file. But I still get no updates offered even though my software is a lower version # than the version # in the .aiu file.

Thanks,

Daren
Daren
Posts: 6
Joined: Wed Mar 07, 2012 4:10 pm

Re: Auto Updater never returns 0

Maybe there's a little back story I should explain here in case it makes a difference. I had version 60 of our software installed but wanted to go through the update process again so I uninstalled 60 and installed 59. but after installing 59 I haven't been able to get it to offer me the version 60 again in an update. I also tried uninstalling 59 and installing 58 but it also does not offer the 60 update.


Daren
Daren
Posts: 6
Joined: Wed Mar 07, 2012 4:10 pm

Re: Auto Updater never returns 0

I found what the issue was so I'm posting it just in case someone else runs into the same thing.

I had created an installer version of 60 that would install as "Per-user only" which changes the application path. The problem is that It puts a registry key in the HKEY_CURRENT_USER/<yourApp> path but does not remove it upon uninstalling it. So I was left with a 60 key in the registry along with the 58 key in the right place. So as soon as I removed the 60 registry key from the HKEY_CURRENT_USER path the update was presented to me.

Daren

Return to “Common Problems”