diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2019-03-21 00:32:43 +0300 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-03-25 16:35:43 +0100 |
commit | e8c9b7bf8325961b8123cf28cb32b902ed11860b (patch) | |
tree | d93f1a3c3bf93721962fbdfa3b082ed2750646c1 /include/framework | |
parent | 04074fe336be514d3d3f3537e6ff915a7604f6f4 (diff) |
tdf#123832: Try to prevent/control hung wusa.exe while installing UCRT
Reportedly under some circumstances execution of wusa.exe may hang
for very long time (available logs show more than 90 min). LO MSI
installer waits for wusa.exe indefinitely in its deferred inst_msu
custom action; during this wait, one can't abort the installation.
There is an evidence [1] that stopping WU service prior to wusa
launch might prevent this hang.
The patch does two things:
1. It stops running WU service prior to wusa launch.
2. It adds a check for user input by executing MsiProcessMessage
twice a second, and checking its return value, to allow early
return in case user cancels the installation.
This is a blind shot, since I cannot reproduce the problem myself.
[1] https://superuser.com/questions/1044528/
Change-Id: I8bf4ce52b3e9d98a4f90af3abcc49ac63b6a0e40
Reviewed-on: https://gerrit.libreoffice.org/69487
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/69572
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/framework')
0 files changed, 0 insertions, 0 deletions