MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0008649 | CMake | CPack | public | 2009-03-02 06:06 | 2016-06-10 14:30 |
| Reporter | Jan Peciva | ||||
| Assigned To | Bill Hoffman | ||||
| Priority | normal | Severity | trivial | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | CMake-2-6 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0008649: CPack fails to install when "Do not create shortcuts" | ||||
| Description | The problem is related to CPACK_NSIS_EXTRA_INSTALL_COMMANDS that allows to run custom application to finish installation. However, if I click "Do not create shortcuts" in Start Menu during the installation process, this command is not executed. I consider it a bug. Installation of Start Menu items must be independent on the core installation procedure. Idea of not-finalizing application installation because I did not wanted start menu items seems really bad to me. Please consider to change the behavior that is definitely buggy. I investigated solution and attaching correct NSIS.template.in The trick to fix it is just to swap these two lines: @CPACK_NSIS_EXTRA_INSTALL_COMMANDS@ !insertmacro MUI_STARTMENU_WRITE_END to !insertmacro MUI_STARTMENU_WRITE_END @CPACK_NSIS_EXTRA_INSTALL_COMMANDS@ Quick explanation: If CPACK_NSIS_EXTRA_INSTALL_COMMANDS is in the block MUI_STARTMENU_WRITE, it is mistakenly excluded from execution when "Do not create shortcuts" is checked. Thanks for fix. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/2081/NSIS.template.in | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2009-03-02 06:06 | Jan Peciva | New Issue | |||
| 2009-03-02 06:06 | Jan Peciva | File Added: NSIS.template.in | |||
| 2009-03-02 09:13 | Bill Hoffman | Status | new => assigned | ||
| 2009-03-02 09:13 | Bill Hoffman | Assigned To | => David Cole | ||
| 2009-08-19 08:59 | Mikko Vainio | Note Added: 0017159 | |||
| 2009-10-02 09:01 | pcjohn | Note Added: 0017896 | |||
| 2009-10-04 16:32 | David Cole | Assigned To | David Cole => Bill Hoffman | ||
| 2009-10-04 16:33 | David Cole | Note Added: 0017939 | |||
| 2016-06-10 14:27 | Kitware Robot | Note Added: 0041508 | |||
| 2016-06-10 14:27 | Kitware Robot | Status | assigned => resolved | ||
| 2016-06-10 14:27 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:30 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||