You should be able to use your own NSIS.template.in file if you name it exactly the same as CMake's copy and then add the directory containing your own copy of it to CMAKE_MODULE_PATH.
For example, if your copy is in a subdirectory of your source directory named "Templates," you could do this...:
SET(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/Templates" ${CMAKE_MODULE_PATH})
... prior to including the CPack file in your CMakeLists.
Let me know if this doesn't work. I haven't tried it myself with this particular file, but it should work...
HTH,
David
On 11/9/06, wedekind <[EMAIL PROTECTED]> wrote:
Hello all,
I have been looking for a way to modify various aspects of the
CPack-generated NSIS installer. I cannot put all these changes into
CPACK_NSIS_* commands. So I have modified the NSIS.template.in of CMake.
I would prefer to do that as clean as possible. Therefore I would like to
exchange the NSIS template completely. At the moment there does not seem to
be a way to just use another NSIS template via CPack. Is this correct? If
not, how do I use another NSIS template with CPack?
If I had the option to use a different NSIS template I could update my
CMake-installation without the need to manually update the NSIS template
too.
I am using CMake 2.4.3.
Cheers
Marco
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
