Skip to content

CPack/WiX: Make InstallScope configurable

Max Gaukler requested to merge mgmax/cmake:wix-installscope into master

Add a new CPACK_WIX_INSTALL_SCOPE variable to set the InstallScope when using the default WiX template. Set the default to the bug-free value perMachine.

The default behavior remains unchanged although it is considered buggy: No InstallScope is created, leading to a strange mixture where start menu entries are created only for one user but a system-wide installation location in C:\ProgramFiles. In the future the default will hopefully be changed to the bug-free value "perMachine". EDIT: that is now done by this MR too.

Fixes: #20962 (closed)
Topic-rename: cpack-wix-installscope

Edited by Brad King

Merge request reports