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

Robert Dailey rcdailey at gmail.com
Thu Oct 27 14:11:36 EDT 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111027/1f0a780c/attachment.htm>


More information about the CMake mailing list