Thanks a lot for your help! Those examples are excellent.

I have a follow up questions for creating the installer, though.  We have a
number of registry entries that need to be created for the software to run
in 'release mode'.  In our current system we add registry entries into the
wxs, but I don't see a way to do that with cmake/cpack easily.
We add a few lines, such as:
<Registry Id='regid7' Root='HKLM' Key='Software\proj\proj 2.0'
Name='HomeDir' Action='write' Type='string' Value='[INSTALLDIR]Home' />
We use these registry entries as anchors for the locations for software
assets.

It seems the best way to do this would be to override the template with a
number of configurable entries?
So I could add something like (there's about 15 of em):
<Registry Id='regid7' Root='HKLM' Key='Software\@proj_name@\@proj_name@
@proj_FULL_VERSION@' Name='HomeDir' Action='write' Type='string'
Value='[INSTALL_ROOT]@home_path@' />

I wanted to check to see if there was a way to handle this directly from
CMake.

-Jameson



--
View this message in context: 
http://cmake.3232098.n2.nabble.com/CPack-WIX-examples-tp7588561p7588576.html
Sent from the CMake mailing list archive at Nabble.com.
-- 

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://public.kitware.com/mailman/listinfo/cmake

Reply via email to