[cmake-developers] [CMake 0014924]: Setting file permissions for the cpack WiX generator through install properties
Mantis Bug Tracker
mantis at public.kitware.com
Thu May 22 03:44:17 EDT 2014
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
======================================================================
More information about the cmake-developers
mailing list