MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0011206 | CMake | CPack | public | 2010-09-03 17:50 | 2012-01-02 15:56 |
Reporter | Clinton Stimpson | ||||
Assigned To | Clinton Stimpson | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | CMake 2.8.6 | Fixed in Version | CMake 2.8.6 | ||
Summary | 0011206: nsis installer doesn't install a second time with components | ||||
Description | When making a component installer, the installer doesn't work when run a second time and it skips installing files. So for whoever maintains the NSIS cpack code.... Commit 83ec8c35933439305895b8569b2125a7e091fc57 introduced this behavior, with a comment: - Bug fix: NSIS installers now only install/remove the minimal number of files when re-run to update the installation (or by clicking "Change" in Add/Remove programs) The "Change" button isn't working for me anyway. To make the installer work a second time, I can do this: --- a/Source/CPack/cmCPackNSISGenerator.cxx +++ b/Source/CPack/cmCPackNSISGenerator.cxx @@ -627,9 +627,6 @@ CreateComponentDescription(cmCPackComponent *component, } componentCode += " SetOutPath \"$INSTDIR\"\n"; - componentCode += " IntCmp $" + component->Name - + "_was_installed ${SF_SELECTED} noinstall_" + component->Name + "\n"; - // Create the actual installation commands if (component->IsDownloaded) { @@ -779,7 +776,6 @@ CreateComponentDescription(cmCPackComponent *component, componentCode += " File /r \"${INST_DIR}\\" + component->Name + "\\*.*\"\n"; } - componentCode += " noinstall_" + component->Name + ":\n"; componentCode += "SectionEnd\n"; | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2010-09-03 17:50 | Clinton Stimpson | New Issue | |||
2010-09-03 18:08 | John M. Drescher | Note Added: 0022085 | |||
2010-09-03 18:10 | John M. Drescher | Note Edited: 0022085 | |||
2010-10-29 19:00 | Clinton Stimpson | Note Added: 0022758 | |||
2010-11-10 12:57 | David Cole | Assigned To | => David Cole | ||
2010-11-10 12:57 | David Cole | Status | new => assigned | ||
2010-11-10 12:57 | David Cole | Target Version | => CMake 2.8.4 | ||
2011-01-10 14:49 | David Cole | Note Added: 0024549 | |||
2011-01-11 09:58 | David Cole | Note Added: 0024581 | |||
2011-01-11 09:58 | David Cole | Target Version | CMake 2.8.4 => | ||
2011-04-14 14:32 | David Cole | Target Version | => CMake 2.8.5 | ||
2011-05-25 17:03 | David Cole | Note Added: 0026597 | |||
2011-05-25 17:03 | David Cole | Target Version | CMake 2.8.5 => | ||
2011-07-29 01:21 | Clinton Stimpson | Assigned To | David Cole => Clinton Stimpson | ||
2011-07-29 14:27 | Clinton Stimpson | Note Added: 0027118 | |||
2011-07-29 14:27 | Clinton Stimpson | Status | assigned => resolved | ||
2011-07-29 14:27 | Clinton Stimpson | Fixed in Version | => CMake 2.8.6 | ||
2011-07-29 14:27 | Clinton Stimpson | Resolution | open => fixed | ||
2011-07-29 14:58 | David Cole | Target Version | => CMake 2.8.6 | ||
2012-01-02 15:56 | David Cole | Note Added: 0028110 | |||
2012-01-02 15:56 | David Cole | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|