Old 3rd August 2010, 15:22   #1
BrianWeed
Junior Member
 
Join Date: Jun 2005
Posts: 6
License loaded at runtime

As far as I can tell, the license file is embedded into the setup.exe at compile time.

I would like the installer to load the license file at runtime, so we don't have to re-build the installer package if the license ever changes.

Currently I'm doing this:

!insertmacro MUI_PAGE_LICENSE $(myLicenseData)
...

LicenseLangString myLicenseData ${LANG_ENGLISH} "EULA_US.txt"
LicenseLangString myLicenseData ${LANG_FRENCH} "EULA_FR.txt"
LicenseLangString myLicenseData ${LANG_GERMAN} "EULA_GE.txt"

LicenseData $(myLicenseData)
...

Is there a way to force the installer to load the license text file at runtime instead of embedding it at compile time?

Thanks.
BrianWeed is offline   Reply With Quote
Old 4th August 2010, 02:37   #2
Animaether
Major Dude
 
Join Date: Jun 2001
Posts: 1,173
http://nsis.sourceforge.net/External_License_file
or
http://nsis.sourceforge.net/CustomLicense_plug-in
or
dig through this thread... it's rather dated, though (system plugin doesn't require /nounload anymore and all that) http://forums.winamp.com/showthread....23#post2318823
Animaether is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

Tags
dynamic, licensedata, licenselangstring, runtime

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump