The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=14924
======================================================================
Reported By: Richard Ulrich
Assigned To:
======================================================================
Project: CMake
Issue ID: 14924
Category: CPack
Reproducibility: always
Severity: feature
Priority: normal
Status: new
======================================================================
Date Submitted: 2014-05-22 03:44 EDT
Last Modified: 2014-05-22 03:44 EDT
======================================================================
Summary: Setting file permissions for the cpack WiX generator
through install properties
Description:
This is an extension to http://public.kitware.com/Bug/view.php?id=14911.
As this mechanism works so well, it would be great if we could use it for other
attributes as well.
My commandline program, that I used so far for for the neverOverwrite and
permanent attributes, also sets the file permissions like this:
<Component Id="CM_CP_module.mod.kueche._userlib_.LibraryFilter.conf" Guid="*"
NeverOverwrite="yes" Permanent="yes">
<File Id="CM_FP_module.mod.kueche._userlib_.LibraryFilter.conf"
Source="C:/OtherRepos/PlPython/build_ex/_CPack_Packages/win32/WIX/PointLineParamLib22-22.2.0-win32/module/mod/kueche/_userlib_/LibraryFilter.conf"
KeyPath="yes">
<Permission User="Everyone" GenericAll="yes"/>
</File>
</Component>
Now it would be great if I could also use the install properties for that. For
example like this:
SET_PROPERTY(INSTALL ${FILES_IN_USERLIB} PROPERTY CPACK_PERMISSION_USER
Everyone)
SET_PROPERTY(INSTALL ${FILES_IN_USERLIB} PROPERTY CPACK_PERMISSION_GENERIC_ALL
ON)
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-05-22 03:44 Richard Ulrich New Issue
======================================================================
--
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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers