kreskins
Posts: 25
Joined: Tue Feb 06, 2007 11:57 pm
Location: Dearborn, MI

Error: Update installation failed

I have built an update package (.exe) that I am trying to use to update my application from version 1.0.0 to 1.0.1. The update process is working fine...it sees the aiu and the new package, downloads it and installed it successfully, however when I click "Finish" I still get the error message "Error: Update installation failed". I know that at the end of an update it does a reference check to see if the registry value has changed, and I have verified that the value changes from 1.0.0 to 1.0.1. What else is is looking for or doing a comparison against? What am I missing? Is it possible to get a log for this update install?

Here are my update files below:

updates.aiu on SERVER:
;aiu;

[file101]
Name=My Application 1.0.1
URL=https://www.company.com/updates/file101.exe
Size=31640104
ReleaseDate=11/10/2007
RegistryKey=HKLM\SOFTWARE\CompanyName\AppVersion
Version=1.0.1.0
Description=TESTING DESC.
Feature=new look
Feature1=new feel
Feature2=new scent
Enhancement=Enhance 1
Enhancement1=Enhance 2
Enhancement2=Enhance 3
BugFix=Fix 1
BugFix1=Fix 2
BugFix2=Fix 3


updater.ini on CLIENT:
[General]
DownloadsFolder=C:\Documents and Settings\Administrator\Application Data\CompanyName\AppName\updates
AppDir=C:\Program Files\AppName\
CompanyName=CompanyName
URL=https://www.company.com/updates/updates.aiu
ApplicationName=AppName
ID={B6E85D3C-F102-43E0-B8C0-623D6C3BEDE8}


Thank you for any assistance
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

Please send us the .aip files (if they do not contain confidential information) or a small test case reproducing this behavior to support at advancedinstaller dot com so we can investigate your problem.

Also, please mention on which Windows platform you encounter this behavior.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kreskins
Posts: 25
Joined: Tue Feb 06, 2007 11:57 pm
Location: Dearborn, MI

Thanks so much for the quick response after I sent the .aip files. Of course it was a quick and easy discovery for you. I have been focusing on this issue for so long I guess I needed a fresh pair of eyes to discover the obvious. After fixing my updates configuration file I was able to match my registry keys so that my install as well as my updates config referenced the same value.

Everything tested out well after that,

Thanks again Cosmin and Gigi

Return to “Common Problems”