[CMake] Setting permissions with CPack/WiX installer

Cook, Steven (G&I) Steven.Cook at riotinto.com
Tue Apr 9 21:49:55 EDT 2019


> I have made a very simple example that generates a WIX installer for a
> single file but fails to set the permissions on the file. Do you have any
> suggestions of why this isn't working?

Problem solved - when cpack is run with no parameters, the permissions tags
are not generated, but when run with a -C parameter (eg cpack -C Debug) the
permissions are generated as expected. I don't know why this would be the
case, but I'm happy to have found the solution.

Thanks,
Steve





More information about the CMake mailing list