[CMake] Looking for Cmake / CPACK documentation

Bettina R. oblf.br at gmail.com
Mon Jan 18 02:57:33 EST 2016


Hello,

I am not absolutely sure if this is the right place to ask, so excuse me if
I am totally wrong here and show me the right way :)

For my software I am looking to create a NSIS installer via CMake (3.2.2)
on Windows. Creating an installer with things like components and required
parts wasn't that hard, but now I am having two problems:
1.
I need a custom page with 2 mutual exclusive options. Depending on the
selection I need to copy either file A or file B in "Component 1" while I
would need to copy file C or D in "component 2".
Is this possible with cmake / cpack or a problem to be tackled within the
NSIS system?

2.
When starting the created installer itself the GUI is very small, basically
having three columns in the window:
 - A column describing what to do (Left).
 - A tree view of the available components (Middle)
 - A description of the selected component (right).
The users complained that the window was too small and the texts were near
impossible to read. The window itself can't not be resized at all. I tried
to switch the GUI by changing to

!include "MUI2.nsh"

in NSIS.template.in (I was led to believe that this would change the layout
to 2 horizontal blocks:
Component tree and description of selected component).

Compiled, got errors that some variables and macros have changed, corrected
that but still the installer shows me the 3 column window layout.

As I am currently lost, I am looking for some pointers on where to look for
documentation regarding those problems.

Thank you in advance
Bettina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160118/1c699e56/attachment.html>


More information about the CMake mailing list