[CMake] NSIS no fix install path -> automatic searching for already installed programs (e.g. Matlab, Qt, ...)
Eric NOULARD
eric.noulard at gmail.com
Thu Apr 10 05:21:40 EDT 2008
Le Thu, 10 Apr 2008 11:00:22 +0200,
"stefan" <stefanspage at yahoo.de> a écrit :
> Hi cmake-community,
>
>
>
> Is it possible to add custom pre-install commands like the
> post-install command via the CPACK_NSIS_EXTRA_INSTALL_COMMANDS
> variable?
>
>
>
> For example I want to install a self made Matlab Toolbox or a plugin
> for Winamp, Qt and so on. The installer have to search for the path
> were these programs are installed and use this path as
> Installdirectory.
>
>
>
> In the current Cmake Version there is no possibility to add a
> pre-install command or choose another NSIS.template.in file.
As already answered recently
http://www.cmake.org/pipermail/cmake/2008-April/021013.html
you should be able to use your
own template If you add your template in your custom module Path
SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
> Does anybody have solved the this problem (without changing the
> template files in the CMAKE directory) or is it a new feature to
> cmake?
More information about the CMake
mailing list