spiegel-keyman/windows/src/desktop/inst
Marc Durdin 2a81279dc1 fix(windows): disable .msi shortcut advertisement
Change Keyman shortcuts to standard Windows shortcuts, rather than
advertised shortcuts, to work around a problem with advertised shortcuts,
elevated custom actions, and non-admin users, as described in #14791.

The problem is related to advertised shortcuts in Windows Installer. When
you have an advertised shortcut, the first use of the shortcut triggers a
repair to prepare the app for use in the new user's context. And now, with
Aug 2025 Windows security patch KB5063878, tweaked in Sep 2025, this
triggers an elevation dialog, which the non-admin user cannot work around.

This means that the shortcuts will be regular Windows shortcut files rather
than advertised shortcuts, and are added to
`%ProgramData%\Microsoft\Windows\Start Menu\Programs\Keyman for Windows`
(so, available for all users on that machine, but will not follow a user
across machines).

* DISABLEADVTSHORTCUTS: https://learn.microsoft.com/en-us/windows/win32/msi/disableadvtshortcuts
* Shortcut advertisement: https://learn.microsoft.com/en-us/windows/win32/msi/advertisement

Relates-to: #14809
Fixes: #14791
Cherry-pick-of: #14814
Build-bot: skip release:windows
2025-09-25 09:06:53 +02:00
..
Bitmaps Keyman Desktop and Keyman Developer open source 10.0 alpha seed (#121) 2017-07-25 10:53:06 +07:00
.gitignore chore(windows): move from Borland make to nmake 2021-12-06 12:47:31 +04:00
build.sh chore(windows): add new build scripts for Windows builds 2024-05-20 08:27:31 +07:00
desktop_resources.rc chore(windows): update resource references 2022-06-01 06:56:43 +10:00
keymandesktop.wxs fix(windows): disable .msi shortcut advertisement 2025-09-25 09:06:53 +02:00
license.html chore: license date 2022-03-15 13:59:27 +11:00
license.rtf [Windows] Cleanup version references (majority) 2018-09-05 10:50:56 +10:00
setup.png Keyman Desktop and Keyman Developer open source 10.0 alpha seed (#121) 2017-07-25 10:53:06 +07:00