Archive: license file


license file
Hi,

I am still wondering when do I use which?
Apparently both the statements below are suppose to set the file that the installer read for the license file. However, what is the difference?

I have been using (1) but apparently now the compiler started to tell me that there is an error. And when I change it to (2), it works.

1) !define MUI_LicenseData "license.txt"
2) LicenseData "license.txt"

Could someone enlighten me please. Thanks!;)


I think number 1 doesn't exist...there's only 1 and only 1 way to set the licensedata and number 2 is the correct way.


Yep. The Modern UI does nothing special with the License data, so you can use the normal NSIS command.