[CMake] CPack/NSIS installation of specific components
Doug Gregor
doug.gregor at gmail.com
Sat Apr 19 19:00:32 EDT 2008
On Sat, Apr 19, 2008 at 2:32 PM, Doug Gregor <doug.gregor at gmail.com> wrote:
>
> On Fri, Apr 18, 2008 at 11:06 AM, Doug Gregor <doug.gregor at gmail.com> wrote:
> > On Thu, Apr 17, 2008 at 9:33 PM, Doug Gregor <doug.gregor at gmail.com> wrote:
> > > Okay, the bug report is here:
> > >
> > > http://public.kitware.com/Bug/view.php?id=6847
> > >
> > > The archive attached to it contains the patch (*with* the additional
> > > header) and an example with a few components. I also went ahead and
> > > implemented the "component groups" feature.
> >
> > ... and now there's a "v2" patch on there, which contains the first
> > patch plus add/remove functionality. If you run the installer again
> > (after already installing the app, or parts of it), the components
> > selected will be exactly those components you installed the first time
> > around. You can select/deselect components and your installation will
> > be updated to reflect your choices.
>
> I've almost implemented every part of this feature that I like... the
> new "v3" patch in the bug tracker adds two new features:
>
> Only one feature to go before I call this patch done: I'd like to
> support installation types, which preselects sets of components. NSIS
> can do this; we just need CPack syntax and support in the NSIS
> generator.
*Now* I call this patch done, modulo any problems or necessary
changes. The bug tracker now has the "v4" patch, which adds support
for installation types. Each component states which installation types
it is a part of ("Full" install, "Developer" install, etc.). In NSIS,
the installation types show up as a combo box above the component
selection box.
- Doug
More information about the CMake
mailing list