[CMake] custom NSIS installer

David Golub golubdr at gmail.com
Mon May 6 18:52:25 EDT 2013


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: cmake-bounces at cmake.org [mailto:cmake-bounces at cmake.org] 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130506/48b43898/attachment.htm>


More information about the CMake mailing list