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

2011-10-25 Thread Robert Dailey
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
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

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

2011-10-27 Thread Robert Dailey
*cricket... cricket...*

-
Robert Dailey


On Tue, Oct 25, 2011 at 1:19 PM, Robert Dailey  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
>
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

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

2011-10-27 Thread Clinton Stimpson
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  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
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


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

2011-10-27 Thread Robert Dailey
On Thu, Oct 27, 2011 at 1:10 PM, Clinton Stimpson 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 
> 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
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

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

2011-10-27 Thread Clinton Stimpson
On Thursday, October 27, 2011 12:11:36 pm Robert Dailey wrote:
> On Thu, Oct 27, 2011 at 1:10 PM, Clinton Stimpson 
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 
> > 
> > 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
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake