<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>
> It is only a copy from the original. It doesn't work in windows xp in general.<br>
> <br>
> Best Regards<br>
> <br>
> Am 08.05.2012 um 13:51 schrieb Eric Noulard <<a href="mailto:eric.noulard@gmail.com" onclick="return false;">eric.noulard@gmail.com</a>>:<br>
> <br>
>> 2012/5/8 <<a href="mailto:norulez@me.com" onclick="return false;">norulez@me.com</a>>:<br>
>>> There is no difference with your command. It still uses the NSIS.template.in file from the CMake installation.<br>
>> <br>
>> Are there any difference between the 2 CPackConfig.cmake files ?<br>
>> WinXP failing case vs Win7 working case?<br>
>> <br>
>> Does the ${CMAKE_SOURCE_DIR}/cmake/NSIS.template.in file has any weird<br>
>> attribute?<br>
>> Is it readable by "normal user"? (you said it works if you are admin right?)<br>
>> <br>
>>> Yes I tried the configurations in new build directories such as build1 ... buildn.<br>
>> <br>
>> I got that but I suspected something in the source tree (where your<br>
>> NSIS.template.in is)<br>
>> so starting from another source tree (taken from your VCS) may exhibit<br>
>> different behavior.<br>
>> <br>
>> If all that fail I'm afraid I cannot help more unless you can build a<br>
>> minimalistic example<br>
>> which shows the wrong behavior.<br>
>> <br>
>> (I have no WinXP at hand but then I may look into the source more thoroughly).<br>
>> <br>
>> -- <br>
>> Erk<br>
>> Le gouvernement représentatif n'est pas la démocratie --<br>
>> <a href="http://www.le-message.org">http://www.le-message.org</a><br>
> --<br>
> <br>
> Powered by <a href="http://www.kitware.com">www.kitware.com</a><br>
> <br>
> 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>
> <br>
> 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>
> <br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></body></html>