jhausfeld
Posts: 2
Joined: Wed Feb 05, 2014 1:55 pm

AI Updater returns with error code -536870900

Hi.

I am testing automatic updates and the installation process updating to a newer version is in general successful. After installation of the new software version of our Application an error dialog is shown by the Updater and in generated log file I can find an error code -536870900, but I cannot find a description anywhere what this error means. I hope someone can help me.

Here is a snippet from the log of Updater.exe:

<< Advanced Installer (x86) Log >>
OS Version: 10.0.17763 SP0 (workstation) [x64]

# 2020-01-17 12-55-00 [PID=24680|Thread=25184] | Running updater. Mode: 2
# 2020-01-17 12-55-00 [PID=24680|Thread=25184] | Updater finished. Mode: 2. Return code: -536870873
# 2020-01-17 13-07-43 [PID=16772|Thread=9608] | Update "MyApp 3.4.2-rc3" installer runned. Exit code: 0. Return code: 0
# 2020-01-17 13-07-53 [PID=16772|Thread=25292] | DownloadUpdatesDialog closing.
# 2020-01-17 13-07-53 [PID=16772|Thread=25292] | Updater wizard ended. Return code: 1
# 2020-01-17 13-07-53 [PID=16772|Thread=25292] | Updater finished. Mode: 6. Return code: -536870900

Advanced Installer version: 15.7

Thank you in advance.

Best regards
Jürgen
Catalin
Posts: 6597
Joined: Wed Jun 13, 2018 7:49 am

Re: AI Updater returns with error code -536870900

Hello Jürgen,

The mentioned error means: UPDATE_INSTALLATION_FAILED

Most probably, the installation condition of the update is wrong. After the update is installed, the condition is checked and, if false, this error is returned.

There are two ways in which this can be avoided:

1. create a condition that will:

1.1. be false before installing the update

&

1.2. be true after installing the update

2. open your Updates Configuration Project --> "Update Installed Detection" tab --> check the "Do not try to detect if the update was installed" option

Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”