<html><body><div class="_stretch">Hello Eric,<br><br>I've found the problem, it was my mistake. A few lines later i overwrote the CPACK_MODULE_PATH setting. [RESOLVED]<br>
<br>
But what I didn't understand was the fact that it would work on Windows 7 with the same settings.<br><br>So, my custom CPackConfig.cmake.in and my NSIS.template.in seems to work, but CPack reports that there are not files (*.* under _CPack_Packages\win32\NSIS\MyProject)<br>I have install statements for the executable and also for the shared libraries. What could be the problem?<br>Do I need a special setting in CPackConfig.cmake.in or in NSIS.tempalte.in to copy the files into the _CPack_Packages subfolder?<br>
<br>
Thank you for your help<br>
<br>
Best Regards<br>
<br>
Am 08.05.2012 um 15:19 schrieb <a href="mailto:norulez@me.com" onclick="return false;">norulez@me.com</a>:<br>
<br>
&gt; It is only a copy from the original. It doesn't work in windows xp in general.<br>
&gt; <br>
&gt; Best Regards<br>
&gt; <br>
&gt; Am 08.05.2012 um 13:51 schrieb Eric Noulard &lt;<a href="mailto:eric.noulard@gmail.com" onclick="return false;">eric.noulard@gmail.com</a>&gt;:<br>
&gt; <br>
&gt;&gt; 2012/5/8  &lt;<a href="mailto:norulez@me.com" onclick="return false;">norulez@me.com</a>&gt;:<br>
&gt;&gt;&gt; There is no difference with your command. It still uses the NSIS.template.in file from the CMake installation.<br>
&gt;&gt; <br>
&gt;&gt; Are there any difference between the 2 CPackConfig.cmake files ?<br>
&gt;&gt; WinXP failing case vs Win7 working case?<br>
&gt;&gt; <br>
&gt;&gt; Does the ${CMAKE_SOURCE_DIR}/cmake/NSIS.template.in file has any weird<br>
&gt;&gt; attribute?<br>
&gt;&gt; Is it readable by "normal user"? (you said it works if you are admin right?)<br>
&gt;&gt; <br>
&gt;&gt;&gt; Yes I tried the configurations in new build directories such as build1 ... buildn.<br>
&gt;&gt; <br>
&gt;&gt; I got that but I suspected something in the source tree (where your<br>
&gt;&gt; NSIS.template.in is)<br>
&gt;&gt; so starting from another source tree (taken from your VCS) may exhibit<br>
&gt;&gt; different behavior.<br>
&gt;&gt; <br>
&gt;&gt; If all that fail I'm afraid I cannot help more unless you can build a<br>
&gt;&gt; minimalistic example<br>
&gt;&gt; which shows the wrong behavior.<br>
&gt;&gt; <br>
&gt;&gt; (I have no WinXP at hand but then I may look into the source more thoroughly).<br>
&gt;&gt; <br>
&gt;&gt; -- <br>
&gt;&gt; Erk<br>
&gt;&gt; Le gouvernement représentatif n'est pas la démocratie --<br>
&gt;&gt; <a href="http://www.le-message.org">http://www.le-message.org</a><br>
&gt; --<br>
&gt; <br>
&gt; Powered by <a href="http://www.kitware.com">www.kitware.com</a><br>
&gt; <br>
&gt; Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
&gt; <br>
&gt; Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
&gt; <br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></body></html>