Agron
Posts: 16
Joined: Fri Aug 29, 2008 10:57 pm

Problems with 2 Concurrent Updater.exe's

I have this problem where 2 or more different programs (made with Advanced Installer) need to upgrade at the same time.

This is happening when the clients had their computers turned off while the new auto-updates were published. Once they turn the computers on all programs that run on start-up also launch updater.exe.

All updater.exe instances are able to download the new updates but only one of them can start installing and finishes successfully. All other updater instances freeze at after download was finished. They never continue even after the first instance has successfully finished and closed.

Is there a workaround?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Problems with 2 Concurrent Updater.exe's

Hi,

I'm not sure why you are encountering this behavior. Can you please send us the AIPs of the two packages and the INI files installed with the two copies of "updater.exe" to support at advancedinstaller dot com so we can investigate them?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Problems with 2 Concurrent Updater.exe's

Hi,

Please note that the sections in the updates configuration files on your server should be unique. Also, you should configure each product to download its updates in a different directory.

Both updates configuration files on your server contain a section named "Latest". Also, the updates are downloaded in the same folder (TEMP). Therefore, when the Updater finds both updates, they will conflict. Please use a unique section for each update and let us know if the problem persists.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
drivard
Posts: 50
Joined: Wed Dec 05, 2007 10:14 pm

Re: Problems with 2 Concurrent Updater.exe's

Windows installer does not allow more than once instance to run at a time, so I was not surprised to see your post.
However, it seems that the bootstrapper is not handling it smoothly.

I have the same problem with my product, but I've chosen to ignore it. In my case, it is unlikely anyone but my test team will encounter this situation.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Problems with 2 Concurrent Updater.exe's

Hi,

Please note that the Updater can handle both updates as long as they use unique sections in their updates configuration files. If the updates use a duplicate section (for example "[MyUpdate]" in the first AIU and "[MyUpdate]" in the second AIU), the updater will not be able to distinguish the updates.

However, if the first AIU starts with "[MyUpdate_MyProduct_1]" and the second AIU starts with "[MyUpdate_MyProduct_2]", the sections in the updates configuration files will be unique and the updates can be distinguished.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Agron
Posts: 16
Joined: Fri Aug 29, 2008 10:57 pm

Re: Problems with 2 Concurrent Updater.exe's

Cosmin,

I have made the corrections you mentioned about the download location (was: TEMP -> TEMP\Latest, now TEMP\[|Manufacturer] -> TEMP\[|Manufacturer]\RRMM1023), the Section names changed from [Latest] to [RRMM1023] or [FCMM1025] for the second product.

The problem however still remains.
Both products have different locations under program files, thus updater.exe of one product is totally unaware of the updates.txt of the other product. Updates.txt is also stored in different URLs.

Thanks,
//Agron
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Re: Problems with 2 Concurrent Updater.exe's

Hi,

I cannot reproduce this issue on my test machine. Please send again both AIP files and corresponding INI files in order to investigate the problem.

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”