CPack/WIX: Add perUserOrMachine install scope
Dual-purpose templates still get shortcut key paths in HKCU, so other
users see a per-machine install as absent. Adding a scope for it that
would use Program Files and HKMU instead. ICE57 doesn't know HKMU
follows ALLUSERS, so we skip it there.
While at it, perUser packages with CPACK_WIX_CMAKE_PACKAGE_REGISTRY
failed to install since the entry went to HKLM, so we put it in HKCU
now. They also refuse per-machine installs, which would only put the
files in the admin's profile.
Fixes: #28203
26 files changed