<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 04.03.2014 14:46, Lars wrote:<br>
    </div>
    <blockquote cite="mid:DUB128-W501FF6257408193AAC395DCA8E0@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
      <div dir="ltr"><br>
        > > How can I configure the wix generator to produce a msi
        which by default<br>
        > > install files to c:\tbd ?<br>
        > <br>
        > This is currently not possible.<br>
        > <br>
        > You can customize below the architecture specific Program
        Files <br>
        > directory with CPACK_PACKAGE_INSTALL_DIRECTORY but you can
        not change <br>
        > the default root itself.<br>
        > <br>
        > The NSIS generator seems to support CPACK_NSIS_INSTALL_ROOT
        for this <br>
        > purpose. I can look into supporting an equivalent
        CPACK_WIX_INSTALL_ROOT <br>
        > for WiX.<br>
      </div>
    </blockquote>
    <br>
    I tried looking at it but this seems to be a bit more complicated
    than I initially thought.<br>
    GUIDs only seem to be auto generated for components relative to one
    of the standard prefixes like program files and I am not entirely
    sure what the implication is.<br>
    Also if at all the root should not be a hardcoded path since e.g.
    c:\ might not be the root drive everywhere.<br>
    <br>
    <blockquote cite="mid:DUB128-W501FF6257408193AAC395DCA8E0@phx.gbl"
      type="cite">
      <div dir="ltr"> <br>
        The original question is derived from a requirement that we need
        to install some files (a component) using CMake and WIX to the
        user's home directory.<br>
      </div>
    </blockquote>
    <br>
    What if the user who installs the application is not the user that
    uses the application or if there are multiple users?<br>
    I'd perhaps install user specific files by copying them from the
    system wide installation directory into the home directory on the
    first run (by that specific user).<br>
    <br>
    Nils<br>
    <br>
  </body>
</html>