[CMake] [CPACK][NSIS] Installing files in My Documents folder

Nicolas Desprès nicolas.despres at gmail.com
Wed Nov 5 15:02:21 EST 2008


Hi David,

Thanks for the tricks. I've never thought about it before. I'll try to
do my best to make it as much general as I can.

Cheers,

Nico

On Wed, Nov 5, 2008 at 8:46 PM, David Cole <david.cole at kitware.com> wrote:
> 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 <nicolas.despres at gmail.com>
> 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
>> CMake at cmake.org
>> http://www.cmake.org/mailman/listinfo/cmake
>
>



-- 
Nicolas Desprès


More information about the CMake mailing list