On 11/18/2013 09:48 AM, Lars Lars wrote:
How can I specify different install dir prefix for two components using CPack and Wix generator?

The current setup installs runtime files to C:\Program Files\MyCompany\bin and data to C:\Program Files\MyCompany\data. We would like to place the data files in for instance c:\data. The setup has two components named "runtime" and "data" which are used together with the install command.

Currently the WiX generator does not support CPack components (WiX features):
    http://www.cmake.org/Bug/view.php?id=14434

As far as I can tell CPack does not support a per component installation prefix either but I guess it _might_ be possible to achieve this with custom templates once I actually have an implementation of CPack components. I am not certain yet since I haven't entirely decided on how to implement this.

Nils
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to