<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hi All</span><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I'm packaging an application with CMake/Cpack/NSIS and it's going pretty well except for one point.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I have a core component with executables and a data component. Both are built by CMake and have an INSTALL command.</div>
<div style="font-family:arial,sans-serif;font-size:13px">Install target gives me 2 directories (Apps and Data) in the CMAKE_INSTALL_PREFIX directory which is fine.</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">With CPack/Nsis, I try to install them in 2 different locations like ProgramFiles for Core and ProgramData for Data, but I cannot find a way to do this.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Is there a way to specify an install destination by component?</div><div style="font-family:arial,sans-serif;font-size:13px">
<div><br></div><div>Thanks</div>-- <br><div dir="ltr">Romuald Delmont</div></div></div>