Archive: NSIS custom page with existing control


NSIS custom page with existing control
Hi all,

Currently I was told to develop a new installation package for our product and the original installation package was written by custom control which belongs one part of our UI lib, so
is it possible to reuse the existing UI element rather than convert them into NSIS script?
And if it could be reached by plugin and I wonder whether it's a time-consuming or a tough task?

Thanks in advance!


Is your UI lib some C, C++, Delphi (...) plug-in (.dll) or an application?
If so the it can be used in NSIS very easily!

(here I suppose your plug-in can be called from main installer [with some parameters] and it asks for some values and performs some tasks then it quits)

But if you want to convert your <some-installation-system-name> installer into NSIS script there is no <converter> or similar tool which makes it easier for you - everything has to be written manually.


Thanks T.Slappy! Our ui lib is written in C++.
That's what I wonder, so the least painful way for me is to wrapper those needed custom page as a plugin and call them from nsis script. uh, i'm new to NSIS, so as far as I know there are at least 3 ways to manipulate the UI layout and elements:

1. pure NSIS script
2. ini file and combined with InstallOption plugin
3. encapsule the dll as plugin and call them from nsis script


For your plug-in is the easiest the way #3.
There are some plug-ins which have their custom UI - e.g. http://nsis.sourceforge.net/Inetc_plug-in adds own dialog into installer.
You plug-in should do the same.