<div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 8, 2019 at 2:07 AM Cook, Steven (G&I) <<a href="mailto:Steven.Cook@riotinto.com">Steven.Cook@riotinto.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-AU">
<div class="gmail-m_3116793209333873312WordSection1">
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)">Hi Nils,</span><span style="color:rgb(31,73,125)"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">> </span>Been a while since I looked at this but it still seems to work for me in 3.14.0.
<u></u><u></u></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">> </span>Corresponding <Permission> elements are generated in files.wxs:<u></u><u></u></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)">Can you please tell me the commands you used to run cpack? I did the following, which didn’t give the Permission elements.<u></u><u></u></span></p>
</div></div></div></div></div></div></div></blockquote><div><br></div><div>Remove this line <a href="https://github.com/ngladitz/cmake-wix-testsuite/blob/master/CMakeLists.txt#L15">https://github.com/ngladitz/cmake-wix-testsuite/blob/master/CMakeLists.txt#L15</a> (I think it is superfluous/wrong and errors out when using newer cmake versions).</div><div>From a command line environment where your compiler is properly set up and ninja is in PATH configure the root of the project with the Ninja generator (currently hardcoded in the tests); use an out of source build directory and set the REFERENCE_CMAKE_BIN_DIR cache variable to the bin-Directory of the CMake installation you want to test.</div><div>Run e.g. "ctest -R properties" from the build directory.</div><div><br></div><div>Nils<br></div></div></div></div>