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

Clinton Stimpson clinton at elemtech.com
Thu Oct 27 15:20:34 EDT 2011


On Thursday, October 27, 2011 12:11:36 pm Robert Dailey wrote:
> On Thu, Oct 27, 2011 at 1:10 PM, Clinton Stimpson 
<clinton at elemtech.com>wrote:
> > 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.
> 
> Is there a bug open for this? If so please link it so I can add it to the
> bugs to fix thread for the next release :P

I was not able to find an open bug for this.

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


More information about the CMake mailing list