[CMake] CPack Components with NSIS and using InstallRequiredSystemLibraries

Thomas Moelhave thomasm at daimi.au.dk
Mon Jul 28 09:05:02 EDT 2008


> > I've enjoyed using the new CPack component support[1] to generate funky
> > NSIS installers. However, the generated NSIS installer does not contain
> > the required MSVC (in my case, MSVC 9) redist dll's fuond by
> > InstallRequiredSystemLibraries.
> > The files are found correctly and are, in fact, included in the zip file
> > generated by the ZIP generator.
> 
> The system libraries won't show up in the list of components (since
> they aren't installed with a COMPONENT argument), but they should be
> installed.

yeah, that was what I hoped the would be, but they are not :|.


> > Do I have to do anything specific (other than
> > include(InstallRequiredSystemLibraries)) to make the NSIS generator
> > include them? I have tried using both  2.6.1 rc13 and yesterdays nightly
> > build.
> 
> Just "include(InstallRequiredSystemLibraries)" should work. Could you
> try moving this command before the include(CPack) and tell me whether
> that works?

it is already placed before the include(CPack). It works fine with the
ZIP generator which I guess suggests that things are included correctly.

- Thomas



More information about the CMake mailing list