<html><body><div>>> Is it the case? Is there any file in _CPack_Packages\win32\NSIS\MyProject ?<br>No, there aren't any files<br><br>>> Could you copy/paste the exact message you get and may be running cpack on the command line with ---verbose and --debug.<br><span id="result_box" class="short_text" lang="en"><span class="hps">Sure, but</span> <span class="hps">I</span> <span class="hps">can</span> <span class="hps">only</span> <span class="hps">do so</span> <span class="hps">tomorrow</span></span><br><br>>> Nope normally you don't but what are you doing in your "CPackConfig.cmake.in" ?<br>I only set the CPACK variables and additional variables which are used in the NSIS.template.in file.<br>Because if I don't use the custom CPackConfig.cmake.in file then the variables in the NSIS.template.in files aren't resolved.<br><br>>> And do you have any INSTALL(CODE or INSTALL(SCRIPTS in your project?<br>Yes, i use this for the BundleUtilities like in the BundleUtilities example<br><br><pre>INSTALL(CODE "<br> file(GLOB_RECURSE SHARED_LIBS<br> \"\${CMAKE_INSTALL_PREFIX}/*${CMAKE_SHARED_LIBRARY_SUFFIX}\")<br> include(BundleUtilities)<br> fixup_bundle(\"${APPS}\" \"\${SHARED_LIBS}\" \"${DIRS}\")<br> " COMPONENT Runtime)</pre><br>Best Regards<br><br></div><div><br>Am 09. Mai 2012 um 10:55 schrieb Eric Noulard <eric.noulard@gmail.com>:<br><br><div><blockquote type="cite"><div class="msg-quote"><div class="_stretch">2012/5/9 <<a href="mailto:norulez@me.com" data-mce-href="mailto:norulez@me.com">norulez@me.com</a>>:<br> [...]<br> <br> ><br> > If I run the INSTALL target under VS then the files are correctly copied to<br> > C:\Program Files\MyProject<br> > But only the PACKAGE target under VS doesn't work, and I get the message<br> > from the last email I sent.<br> <br> >> So, my custom CPackConfig.cmake.in and my NSIS.template.in seems to work,<br> >> but CPack reports that there are not files (*.* under<br> >> _CPack_Packages\win32\NSIS\MyProject)<br> <br> Is it the case? Is there any file in<br> _CPack_Packages\win32\NSIS\MyProject ?<br> <br> Could you copy/paste the exact message you get and may be<br> running cpack on the command line with ---verbose and --debug.<br> <br> <br> >> I have install statements for the executable and also for the shared<br> >> libraries. What could be the problem?<br> >> Do I need a special setting in CPackConfig.cmake.in or in NSIS.tempalte.in<br> >> to copy the files into the _CPack_Packages subfolder?<br> <br> Nope normally you don't but what are you doing in your "CPackConfig.cmake.in" ?<br> <br> And do you have any INSTALL(CODE or INSTALL(SCRIPTS in your project?<br> <br> <br> -- <br> Erk<br> Le gouvernement représentatif n'est pas la démocratie --<br> <a href="http://www.le-message.org" data-mce-href="http://www.le-message.org">http://www.le-message.org</a><br></div></div></blockquote></div></div></body></html>