MantisBT - CMake
View Issue Details
0011268CMakeCPackpublic2010-09-24 16:092012-01-02 15:56
Clinton Stimpson 
Clinton Stimpson 
normalmajoralways
closedfixed 
 
CMake 2.8.6CMake 2.8.6 
0011268: nsis component issues
NSIS installers with cpack have odd behaviors when components are enabled.

The installer script checks what components are installed, and skips installing the ones it thinks are already installed.

Because of how the script code is written, that prevents the following things:
- Repairing an installation (by simply re-installing)
- Multiple installations of the same version
- Multiple installations of a different version

Its an issue with different versions because the registry keys for storing what is installed doesn't account for versions. So when trying installing a newer version of software, it doesn't install at all.
This is pretty bad behavior... I guess I'll have to go back to non-component NSIS.
No tags attached.
Issue History
2010-09-24 16:09Clinton StimpsonNew Issue
2010-09-24 16:49Clinton StimpsonNote Added: 0022344
2010-12-15 11:32David ColeStatusnew => assigned
2010-12-15 11:32David ColeAssigned To => David Cole
2011-07-29 01:20Clinton StimpsonAssigned ToDavid Cole => Clinton Stimpson
2011-07-29 14:27Clinton StimpsonNote Added: 0027119
2011-07-29 14:27Clinton StimpsonStatusassigned => resolved
2011-07-29 14:27Clinton StimpsonFixed in Version => CMake 2.8.6
2011-07-29 14:27Clinton StimpsonResolutionopen => fixed
2011-07-29 14:58David ColeTarget Version => CMake 2.8.6
2012-01-02 15:56David ColeNote Added: 0028111
2012-01-02 15:56David ColeStatusresolved => closed

Notes
(0022344)
Clinton Stimpson   
2010-09-24 16:49   
Another related problem is in add/remove programs, one only ever sees one entry for multiple installs (of non-component installers).
Again, the registry key for that is not version specific.
(0027119)
Clinton Stimpson   
2011-07-29 14:27   
Fixed with commit e6d2bcfd.
(0028111)
David Cole   
2012-01-02 15:56   
Closing resolved issues that have not been updated in more than 4 months.