[CMake] CPACK_NSIS_EXTRA_PREINSTALL_COMMAND Not Working as Expected

David Cole david.cole at kitware.com
Mon Oct 15 13:21:58 EDT 2012


Of course, you must be if you're actually seeing the message box....
Never mind my silly question.

It looks to me like it should be executed before any installation commands.

The variable CPACK_NSIS_FULL_INSTALL is set to "File /r
\"${INST_DIR}\\*.*\"" in Source/CPack/cmCPackNSISGenerator.cxx and
that should be inserted directly after your extra code.

Does the configure NSIS.template file look correct? (i.e. -- is the
File /r command after the MessageBox call?)


On Mon, Oct 15, 2012 at 1:18 PM, David Cole <david.cole at kitware.com> wrote:
> Are you using CMake 2.8.9?
>
> That variable did not exist prior to 2.8.9.
>
>
> On Mon, Oct 8, 2012 at 12:33 PM, dan h. <danoushh at gmail.com> wrote:
>>
>> Any thoughts about this issue?
>>
>> Regards,
>> Dan
>>
>> --
>>
>> 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


More information about the CMake mailing list