According to CMake/Modules/NSIS.template.in : ;Default installation folder InstallDir "$programfil...@cpack_package_install_directory@"
So set the variable CPACK_PACKAGE_INSTALL_DIRECTORY to be "Vendor\Package" like this: SET(CPACK_PACKAGE_INSTALL_DIRECTORY "Vendor\\Package") Then set the variable CPACK_NSIS_DISPLAY_NAME to be just "Package" if you want: SET(CPACK_NSIS_DISPLAY_NAME "Package") (The CPACK_NSIS_DISPLAY_NAME variable defaults to the same as CPACK_PACKAGE_INSTALL_DIRECTORY, but you probably don't want the "Vendor\\" in the display name, which is used elsewhere in NSIS.template.in .) HTH, David On Tue, Mar 31, 2009 at 10:50 AM, Robert Bielik <[email protected]>wrote: > I'm trying to use CPack to install a target at: > > C:\Program Files\<Vendor>\<Package> > but it seems that CPack only allows me to do: > > C:\Program Files\<Package> > Any ideas how to create that extra directory hierarchy? > > TIA > /Rob > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
