Hy,<br><br>I think there is a small bug in Cpack or maybe i didn&#39;t find the good features.<br>I&#39;m using cpack to pack my project (for windows)... and i wanted to use the same install for my server and client.<br>Therefore I have check the CPACK_COMPONENT_xxx tutorial which is really intersting <a href="http://www.cmake.org/Wiki/CMake:Component_Install_With_CPack">http://www.cmake.org/Wiki/CMake:Component_Install_With_CPack</a><br>

However it is impossible to combine the component with the classic CPACK_PACKAGE_EXECUTABLES because the shortchut is created even if the component is not installed.<br><br>------------<br>for example with:<br>SET(CPACK_COMPONENT_CLIENT_DISPLAY_NAME &quot;My Client&quot;)<br>

SET(CPACK_COMPONENT_SERVER_DISPLAY_NAME &quot;My Server&quot;)<br>SET(CPACK_COMPONENT_SERVER_DISABLED TRUE)<br><br>SET(CPACK_PACKAGE_EXECUTABLES <br>      &quot;ExecClient&quot; ${CPACK_COMPONENT_CLIENT_DISPLAY_NAME}<br>
     &quot;ExecServer&quot; ${CPACK_COMPONENT_SERVER_DISPLAY_NAME})<br>
<br>I install only the client (by default) and I have two shortcuts (client and server)<br>------------<br><br>So i think it is just a simple bug but i don&#39;t know how to correct it :(<br>Someone can help me !!!!!!!!!!!!!<br>

<br>Regards,<br><br>--<br>Benoit RAT<br><a href="http://www.neub.co.nr">www.neub.co.nr</a><br>