Installer says patch failed but Event Log thinks otherwise - Advanced Installer Community
wcuser
Posts: 1
Joined: Thu Dec 12, 2013 3:23 am

Installer says patch failed but Event Log thinks otherwise

Hello,

I am testing out a new patch I have authored with Advanced Installer 8.8.2. This patch upgrades the installed version from 1.0.1.0 to 1.0.2.0. When running the patch on Windows 7 Enterprise (I haven't tried other OS's yet) via the Updater Service I get a message stating that the installation failed:

Error: Update installation failed

However, the Application Event Log states this:

Product: XXXX - Update 'XXXX 1.0.2.0' installed successfully.

There are no errors in the Application Event Log. The Verbose Logging check box is ticked within the relevant Advanced Installer project.

The Control Panel lists the application version as 1.0.1.0, so it seems that the Control Panel and the Updater Service are in agreement, but the Application Event Log is not.

When building the patch in Advanced Installer, a few "Sequence Changed" warnings were reported, so these could be contributing to the installation "failure".

Any ideas on what is going on?

Thanks!
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Installer says patch failed but Event Log thinks otherwi

Hello and welcome to Advanced Installer forums,

This may happen if the detection criteria (set in your updates configuration project -> Updates page -> Properties tab -> Installed Detection section) is not met after the updates are installed. Please take a look on our "Why do I receive the "Some of the updates failed to install properly" message?" FAQ.

In order to avoid this message you should make sure that the detection criteria added in your updates configuration project is always fulfilled after the updates installation. As a best practice it is recommended to use a registry value search as a detection criteria.

Let us know if this helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”