Error: Update Installation Failed - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

cdesplanches
Posts: 3
Joined: Tue Oct 20, 2009 5:57 pm

Error: Update Installation Failed

Hi,

I have a problem since I install the 7.2.1.: Some updates failed!

The updater check the .txt file on the server and find that my local installation is not up to date. It starts the process to install the new installer but it's seems not able to replace the old installer file locally by the new one. I have to manually delete it and performs the Check for Update. In this case, the installer is downloaded and everything is correct after.

I verify and confirm that the location of the downloaded installer file is public so the updater is able to copy the installer file from the server to locally before executing it.
Maybe it's a problem with McAfee, my anti-virus, that was updated aprox. at the same time of the version of Advanced Installer? However, the problem is recurrent with almost every files generated with the new 7.2.1 but was working well with the 7.2.

Thanks,

Christophe D.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Error: Update Installation Failed

Hello Christophe,
It starts the process to install the new installer but it's seems not able to replace the old installer file locally by the new one.
Can you give me more details about this? Does it give off any errors? How can you tell that this is happening?

Also, where is the updater configured to download the updates? Does it have write privileges for that location? What version of windows are you testing this on?

I am not sure why you are encountering this behavior. You could try testing this on:
- another machine with McAfee
- another machine without McAfee

You could also look in the McAffe's logs to see if any application or activity related to this has been blocked.

Does this behavior still occur? If so, then please send us a fully functional sample project that accurately reproduces this behavior to support at advancedinstaller dot com so we can properly analyze the issue.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
cdesplanches
Posts: 3
Joined: Tue Oct 20, 2009 5:57 pm

Re: Error: Update Installation Failed

Hi Gabriel,
Can you give me more details about this? Does it give off any errors?
I'm using Windows XP SP3.
The only one error I have is just after it starts to download the new installer locally. : Error: Update Installation Failed
How can you tell that this is happening?
I check on the folder where all installers are downloaded. On my configuration, all installer files have the same name (maybe it's not the good way) so each time I have a new installation, it download it and replace the previous version by the new one.
When I check on the local folder, I see that the version of the .exe is not the good one so the download process failed and after that, each time I force the check for update, it failed.
To fix the problem, I have to manually delete the local installer file. After that, the update process is correct.
Does it have write privileges for that location?
Yes

I didn't check with McAfee yet but I will.

Also, I notice that the updater.exe installed on some PCs was old (probably the one provide with 6.9). I update them to 7.2.1 and It fixed the problem for some computers but not all (My PC continue to refuse to replace the installer file by a new version).



Any ideas?

Regards,
Christophe
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Error: Update Installation Failed

Hello,

It is possible that you are reusing the ini sections in your updates configuration file when you manually edited this file. The sections need to be different. Do not reuse previous sections of your ini when releasing new updates.

Nonetheless, editing the configuration file by hand is not recommended. You should only edit the updates configuration file using Advanced Installer. If doing so, please create a "New Update" for each update you are releasing.

If you still can not troubleshoot this issue, please post the updates configuration file or send it to support at advancedinstaller dot com so we can further investigate the issue.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
cdesplanches
Posts: 3
Joined: Tue Oct 20, 2009 5:57 pm

Re: Error: Update Installation Failed

I'm not manually edit the .ini file, I'm using Advanced Installer to generate this file. The only thing I done is to delete manually the .exe downloaded locally by the updater.exe before launching the Check for Update.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Error: Update Installation Failed

Hello Christophe,

Let us assume you have a Product with version 1.0. You want to release v1.1 through an update.
In your Updates Configuration project, create a new update using the "New Update" toolbar button as shown in the attached image. Configure it and release your update.
When creating the v1.2 update, it is imperative that you do not use the "Update v1.1" entry but create a new one ("Update v1.2"). Leave "Update v1.1" intact, do not delete it or change it.

Please send your updates configuration file to support at advancedinstaller dot com if you still can not troubleshoot the issue.

Regards,
Gabriel
Attachments
untitled.PNG
untitled.PNG (27.07 KiB) Viewed 6757 times
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”