InnoSetup License Files

I have a multi-language installation file made with Inno installation. How can I use two license files for each language? For example: English → English license and Russian language → Russian license. Sorry for my English. How can I. please help me someone.

0
source share
1 answer

If you only need a special license for each language, you can specify the LicenceFile parameter in the [Languages] entry.

If you want to show two separate licenses, you will need to add [Code] to do it yourself using the CreateOutputMsgMemoPage() function and loading another license file using somethign like:

 ExtractTemporaryFile('additional licence.txt'); LoadStringFromFile(ExpandConstant('{tmp}/additional licence.txt'), LicenceText); LGPLPage.RichEditViewer.RTFText := LicenceText; 

If you need a separate set of "Agree / Disagree" buttons, you will also need to create and add them to the page and enable / disable WizardForm.NextButton as necessary.

+3
source

Source: https://habr.com/ru/post/1242540/


All Articles