<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hello, <BR> <BR>Using CMake version 2.8.12.1 on Windows 7<BR> <BR>Here is a test project which produces a MSI which by default installs files to "C:\Program Files (x86)\Product\"<BR><span lang="NO-BOK">CMAKE_MINIMUM_REQUIRED(VERSION 2.8.11)<BR>
PROJECT(TBD)<BR>
<BR>SET(CPACK_PACKAGE_NAME "TBD")<BR>
SET(CPACK_INSTALL_PREFIX "C:/TBD")<BR>
SET(CPACK_PACKAGE_INSTALL_DIRECTORY "Product")<BR>
SET(CPACK_WIX_UPGRADE_GUID "A8DAADFA-A2A6-3322-12A3-AF5CD7704008")<BR>
SET(CMAKE_INSTALL_PREFIX ${PROJECT_BINARY_DIR}/TBD)<BR> <BR>INSTALL(<BR> DIRECTORY "img"<BR>
DESTINATION "img"<BR>
COMPONENT "res")<BR>
<BR>INCLUDE(CPack)<BR>-----<BR> <BR>How can I configure the wix generator to produce a msi which by default install files to c:\tbd ?<BR> <BR>kind regards, <BR>Lars</span><BR> </div></body>
</html>