<div dir="ltr">Dear all,<div><br></div><div>I need to add some options to my NSIS installer, and noticed in the <a href="http://NSIS.template.in">NSIS.template.in</a> there is a variable CPACK_NSIS_DEFINES that looked suitable. Even though it doesn't appear to be documented, I've found mentions online of users who have used this variable for similar purposes (for example <a href="http://www.cmake.org/pipermail/cmake/2009-April/028592.html">http://www.cmake.org/pipermail/cmake/2009-April/028592.html</a> and <a href="http://public.kitware.com/Bug/view.php?id=5939">http://public.kitware.com/Bug/view.php?id=5939</a>). However, for me it doesn't work, its contents don't make it into the project.nsi file at all. If I check the source code in cmCPackNSISGenerator.cxx, I see that its value is overwritten in function <span style="color:rgb(0,0,0);font-family:monospace;font-size:12px;white-space:pre">PackageFiles</span>. Anyone here who has used it in the past? And when did it stop working? Is this supposed to work at all?</div>
<div><br></div><div>regards Mark</div></div>