Hello, 
 
Using CMake version 2.8.12.1 on Windows 7
 
Here is a test project which produces a MSI which by default installs files to 
"C:\Program Files (x86)\Product\"
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.11)

PROJECT(TBD)



SET(CPACK_PACKAGE_NAME "TBD")

SET(CPACK_INSTALL_PREFIX "C:/TBD")

SET(CPACK_PACKAGE_INSTALL_DIRECTORY "Product")

SET(CPACK_WIX_UPGRADE_GUID "A8DAADFA-A2A6-3322-12A3-AF5CD7704008")

SET(CMAKE_INSTALL_PREFIX ${PROJECT_BINARY_DIR}/TBD)
 
INSTALL(
  DIRECTORY "img"

  DESTINATION "img"

  COMPONENT "res")


INCLUDE(CPack)
-----
 
How can I configure the wix generator to produce a msi which by default install 
files to c:\tbd ?
 
kind regards, 
Lars
                                          
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to