fix(msi): force termination of stuck processes

Stopping the Windows Explorer process does not always work.  Per default
the MSI Restart Manager will display a warning message after a timeout,
and not attempt to restart Explorer afterwards -- resulting in a black
screen if no other window is open.

Setting the property `MSIRMSHUTDOWN` to `1` will force the termination
of the process when the timeout is reached, which finally allows the
Explorer to be restarted.

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
This commit is contained in:
Jyrki Gadinger 2025-05-08 14:23:40 +02:00 committed by Matthieu Gallien
parent b9f57fd254
commit b7af3c7083

View File

@ -46,6 +46,7 @@
-->
<MajorUpgrade Schedule="afterInstallExecute" AllowDowngrades="yes" />
<Property Id="REINSTALLMODE" Value="dmus" />
<Property Id="MSIRMSHUTDOWN" Value="1" />
<Media Id="1" Cabinet="$(var.AppShortName).cab" EmbedCab="yes" />