Updater does nothing - Advanced Installer Community
ShawnB
Posts: 4
Joined: Wed Jun 29, 2016 7:32 pm

Updater does nothing

I created an updater.

When I click on 'Check for updates' I get a prompt 'Do you want to allow this app to make changes...." So I click yes.

And then....nothing happens

There is an Updates.aiu file created here:
C:\ProgramData\[ProductName]\updates

If I delete it, it is replaced when I do 'check for updates', but nothing else happens.

I can use the update url and download the exe manually so I know the url works

Is there a log somewhere that I can look at?
ShawnB
Posts: 4
Joined: Wed Jun 29, 2016 7:32 pm

Re: Updater does nothing

After some digging found that my updater.ini had -minuseractions ... which would explain the 'Does Nothing' behavior.

I removed that and I now get a message that my software is up to date? Any suggestions on what I may have done wrong?

In 'Update Installed Detection' I have it checking the version of the app's exe for version 1.0.0 and I created a patch for 1.0.1
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Updater does nothing

Hi,
After some digging found that my updater.ini had -minuseractions ... which would explain the 'Does Nothing' behavior.
The -minuseractions option is used to minimize the user interaction. The "Please Wait..." and "Error" dialogs will not be displayed.
I removed that and I now get a message that my software is up to date? Any suggestions on what I may have done wrong?
In 'Update Installed Detection' I have it checking the version of the app's exe for version 1.0.0 and I created a patch for 1.0.1
Please keep in mind that in the "Update Installed Detection" tab you need to write the version of the updated package, not the version that is already installed on the machine. The updater will check the registry to see if the version you written there is already installed and, if so, it will display the "software is up to date" message.

Let me know if this helped.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ShawnB
Posts: 4
Joined: Wed Jun 29, 2016 7:32 pm

Re: Updater does nothing

Thanks! That was it!

However, now I get a message a version of the app all ready exists and that I should remove it in control panel and try again? Any suggestions?


Shawn
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Updater does nothing

You're welcome Shawn,

This message may appear if the Product Code of the two versions of your product is identical or if their version number is the same.

You can read more about this problem on the "Why do I receive the "Another version of this product is already installed" message" FAQ.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”