nicolas
Posts: 10
Joined: Wed Sep 27, 2006 2:41 am

Error: Update installation failed

When the user upgrades to a newer version with the auto updater, but installs to a different location than the older version, after the installation is done, the auto updater shows: "Error: Update installation failed".

My updater ini file (updates.aiu) uses the file version of the exe to check for updates:

FilePath=[APPDIR]jaman.exe
Version=0.80.10.854

I suspect what happens is that the updater checks in the old app path whether the exe has the latest version, but since it is installed in a different folder, the exe is not found and it thinks the update failed.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Nicolas,

In this case you need to use "RegistryKey" as detection method instead of "FilePath". "FilePath" is used if you install in the same folder.

Best Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”