Archive: load license file during setup


load license file during setup
Hi all!

How can I load a license file ( *.txt ) during installation?

The files which should be installed must depend on the license file.

If the license file contains for example "Block A", the files in the section "Block A" have to be installed... nothing else.

Is this possible? If yes, how?

Thx.

RK1


http://nsis.sourceforge.net/External_License_file msvcrt calls based, but it is possible to rework sample for Win95 as well.


hmm.. I think that´s not that what I´m searching for..

I want to to load the license via a button.

And I have absolutely no idea what the addLicense function does..

That´s a little too complicated for me..


I'm not sure what you mean by having a button load the license.

Do you just need to display the licnese text, or do you need the same functionality as the regular 'license screen'? (For example, do you need to have the special "I agree" checkbox/radio button?)

If all you need to do is display the license text, then it may be simplier to just display a custom page that contains either a text box or lable and just insert the appropriate text when the button is pressed by using the page's leave function.

Or, you might check out the
help button plugin. This plugin would allow you to create a button that when pressed, would popup a window with the licnese text.