[CMake] CPack install dirs pr component

Nils Gladitz nilsgladitz at gmail.com
Mon Nov 18 04:21:57 EST 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20131118/2d210496/attachment-0001.htm>


More information about the CMake mailing list