2011/2/7 Crni Gorac <cgo...@gmail.com>: > On Mon, Feb 7, 2011 at 10:09 PM, David Cole <david.c...@kitware.com> wrote: >> >> [ ... ] >> >> The commit to fix this bug is in the 2.8.4-rc2 release candidate: >> http://public.kitware.com/Bug/view.php?id=11144 >> >> With it, you can set CPACK_NSIS_MUI_FINISHPAGE_RUN to an executable in your >> installation directory, and it will generate a page with a checkbox on it, >> giving the end user the choice of running or not running... > > Thanks Clinton and David for replying. I tried what David suggested, > after switching to CMake 2.8.4-rc2, and it worked like charm. Let me > just mention that you need to cite only the name of the executable in > CPACK_NSIS_MUI_FINISHPAGE_RUN: I have it installed in "bin" > subdirectory of the install directory, but in that case you should not > mention "bin" here, or otherwise the executable won't be run (it helps > to examine generated NSIS script for debugging here).
It would be nice to update the Wiki with this information: http://www.cmake.org/Wiki/CMake:CPackPackageGenerators#NSIS -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org _______________________________________________ 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