CPack/WiX: Support generating installer with per-user / per-machine option
We use CPack to generate an installer using WiX. We've received a client request that our installer should offer the choice of per-user or per-machine installation, and that the former should not result in an administrator authentication prompt from Windows UAC.
The closest I could issue I could find was the bug report CPack/WIX: Setting CPACK_WIX_ROOT_FOLDER_ID to ... (#23907).
I guess my first question would be: Is this at all possible currently, e.g. through a custom WiX template? Are you aware of any project using CPack+WiX which has achieved this? @nilsgladitz @ben.boeckel @brad.king
So far for our application, we've tried to stay as far away as possible from WiX XML, only using a CPACK_WIX_PATCH_FILE to set up some file associations, but I'm prepared to roll up my sleeves if there's some confirmation that it is possible with a CPACK_WIX_TEMPLATE.
Or will I be bitten by bugs like CPack/WIX: Setting CPACK_WIX_ROOT_FOLDER_ID to ... (#23907)