Avoid simultaneously running updater instances - Advanced Installer Community
SchellingInstaller
Posts: 1
Joined: Thu May 02, 2019 6:38 am

Avoid simultaneously running updater instances

We have a product consisting of 3 independent Windows services. Each of these services has its own setup, as they must also be installed individually on different computers. Which service where runs is very different. There are also computers on which all services are installed. And that's where we have a problem.
To make updating the product easy, we used the Advanced Installer Updater. Works flawlessly. The problem is just if several services are installed on one computer, all corresponding updaters start simultaneously and min. one then hangs in an update case. I tried to solve the problem with the installer Mutex "Global \ _MSIExecute". Unfortunately without success.

How can multiple Advanced Installer Updater services be synchronized with each other so that only one update at a time is running?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Avoid simultaneously running updater instances

Hi and welcome to our forums.

I'm afraid that more applications cannot be updates simultaneously. They will conflict with each other because Windows Installer does not support more packages to be installed at the same time.

If an update is already running, the second one will fail, so its updater process should be launched again after the first one finishes. I'm afraid that we do not have any solution for this. However the updater should not hang in the background. Can you give me more details about this (maybe some screenshots)?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”