[CMake] CPack installation directory

Nils Gladitz nilsgladitz at gmail.com
Fri Feb 28 09:00:04 EST 2014


On 02/28/2014 02:29 PM, Lars wrote:

> How can I configure the wix generator to produce a msi which by default
> install files to c:\tbd ?

This is currently not possible.

You can customize below the architecture specific Program Files 
directory with CPACK_PACKAGE_INSTALL_DIRECTORY but you can not change 
the default root itself.

The NSIS generator seems to support CPACK_NSIS_INSTALL_ROOT for this 
purpose. I can look into supporting an equivalent CPACK_WIX_INSTALL_ROOT 
for WiX.

Nils


More information about the CMake mailing list