[CMake] Problems with CPack/NSIS and CPACK_NSIS_MUI_FINISHPAGE_RUN
NoRulez
norulez at me.com
Thu Nov 17 04:37:08 EST 2011
Hi,
the issue (http://public.kitware.com/Bug/view.php?id=11144) is already
closed but the problem still exists.
If I use the following:
SET(CPACK_NSIS_MUI_FINISHPAGE_RUN "${PROJECT_NAME}.exe")
Then the file project.nsi contains the following string and the application
isn’t launched:
!define MUI_FINISHPAGE_RUN "$INSTDIR\bin\MyProject"
If I use the following string instead to temporary fix the issue:
SET(CPACK_NSIS_MUI_FINISHPAGE_RUN "..\\\\${PROJECT_NAME}.exe")
Then the file contains:
!define MUI_FINISHPAGE_RUN "$INSTDIR\bin\..\MyProject"
With this the Application is launched successfully.
Any hints to avoid the “dirty” hack?
Best Regards
NoRulez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111117/7ee1082a/attachment.htm>
More information about the CMake
mailing list