Just put your NSIS.template.in in the root of your source tree along with CMakeLists.txt. CMake will detect your file and use it instead of the one in the CMake installation.
David Golub From: [email protected] [mailto:[email protected]] On Behalf Of Lloyd Sent: Monday, May 06, 2013 8:35 AM To: CMake ML Subject: [CMake] custom NSIS installer I have read this - http://www.cmake.org/Wiki/CMake:CPackNSISAdvancedTips - wiki article about executing custom nsis script. It states that... "To start work on a custom NSIS script, simply create a file (or copy) into your module path (e.g. CPACK_MODULE_PATH) called NSIS.template.in." Checking the cmake documentation, there is no predefined variable named "CPACK_MODULE_PATH". I could find a "NSIS.template.in." in the cmake's (main cmake install directory) modules directory. I believe cmake would not ask me to modify this file, as each project's nsis template requirement would be different. could you please let me know the correct location where I should create the template file? Thanks, Lloyd
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
