[CMake] Windows installer creating duplicate entries in Add/Remove Programs

Clinton Stimpson clinton at elemtech.com
Thu Oct 27 14:10:07 EDT 2011


On Thursday, October 27, 2011 12:03:20 pm Robert Dailey wrote:
> *cricket... cricket...*
> 
> ---------
> Robert Dailey
> 
> On Tue, Oct 25, 2011 at 1:19 PM, Robert Dailey <rcdailey at gmail.com> wrote:
> > I noticed that when I install CMake 2.8 updates, I get duplicate entries
> > in "Programs and Features" in windows 7 (the Add/Remove programs area).
> > 
> > This seems like a bug. I searched the bug database but didn't find
> > anything on this.
> > 
> > Can anyone confirm?
> > 
> > ---------
> > Robert Dailey

:)  Yeah it looks like a bug to me.
The culprit is in CMakeCPack.cmake where it sets 
CPACK_PACKAGE_INSTALL_REGISTRY_KEY.

That registry key is patch version specific, while the default install 
directory is minor version specific.  So overwriting a previous install will 
still create a new set of registry keys, and a new entry in Add/Remove 
programs.

-- 
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com


More information about the CMake mailing list