Fix detection of all-users MSI installations (#5626)

## Linked issue

Closes #5037

## Summary

The MSI installer fails to detect existing installations and results in
multiple versions being installed. This was fixed in #5038 but
apparently later template changes reintroduced the issue (Windows
Installer is full of footguns and is very fussy about ordering...).

## Steps to reproduce (before)

- Install 26.09 in all-users scope.
- Install 26.09.2 in all-users scope and confirm it results in two
entries in _Settings > Apps > Installed Apps_.

## How to test (after)

Repeat the same process. All-users scope should now by selected by
default if an existing installation is detected and replaces the
existing one correctly.
This commit is contained in:
Abdo
2026-09-16 23:55:50 +03:00
committed by GitHub
parent 83723722c0
commit e485a591fe