There is a way to do so, but it's not as easy as you'll want it to be... :-)

You would have to provide your own "NSIS.template.in" file that does NSIS
stuff directly. You can start out with a copy of the one in the CMake
Modules directory, and then put it in a place in your own source tree, and
then set CMAKE_MODULES_PATH to point to yours first.

If you could generalize it so that it is based on some CPACK_* variables
rather than hardcoding into the NSIS.template.in file, feel free to attach a
patch to a feature request.

Let us know how you make out!

Thanks,
David


On Wed, Nov 5, 2008 at 8:28 AM, Nicolas Desprès
<[EMAIL PROTECTED]>wrote:

> Hi cpackers,
>
> I'm looking for a way to tell cpack NSIS generator (version 2.6.2) to
> install some files in the users My Documents folder. For instance, I
> would like to install sample projects in a directory there. If there
> is no way to do so, I will post a request features on the tracker.
>
> Best regards,
>
> --
> Nicolas Desprès
> _______________________________________________
> CMake mailing list
> [email protected]
> http://www.cmake.org/mailman/listinfo/cmake
>
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to