Adding License information to NSIS installer

We distribute the software created by my group via Windows installers generated via NSIS. We generate our NSIS configuration files from a python script written by a developer who no longer works with us, so we currently do not have anyone on staff who knows how to write NSIS config files. I have been tasked with modifying this script to add a section to the installer that displays our licensing information prior to performing the actual install.

What would such a section in a NSIS config file look like?


Depends on how the installer is structured and what NSIS functionality it uses.

For example, if it uses MUI ("modern user interface") macros, then it could be as simple as adding

!insertmacro MUI_PAGE_LICENSE "License.txt"

Somewhere in the text. Most likely between some other pages in MUI_PAGE stuff. For example, one installer I'm working on at the moment has this:

!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE "..\..\Licenses\License.txt"

This results in welcome page, followed by license page, followed by "choose directory" page.

For more options, read NSIS MUI documentation.

Need Your Help

Change website design for mobile devices or browser resize

html css mobile responsive-design

Im sorry if this has been asked before im sure somewhere there must be an answer for this but for some or other reason I cant find it, probably using wrong search query

Light is being altered by camera

c# opengl lighting opentk

I have for a long time put off fixing up the lighting in a project i am working on in OpenTK. The problem basically is that when i rotate the camera, lighting displayed on the terrain i am showing ...