Archive: License loaded at runtime


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.


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