问题
I have multi language install file maked from Inno setup. How i can use two license file for every language? For example: English language ->english license and Russian language -> russian license. Sorry for my english. writed how i can. please help me somebody.
回答1:
If you just want a custom licence for each language, you can use specify the LicenceFile parameter on the [Languages] entry.
If you want to show two seperate licences, you will need to add [Code] to do this yourself, using the CreateOutputMsgMemoPage() function, and loading the other licence file using somethign like:
ExtractTemporaryFile('additional licence.txt');
LoadStringFromFile(ExpandConstant('{tmp}/additional licence.txt'), LicenceText);
LGPLPage.RichEditViewer.RTFText := LicenceText;
If you want a seperate set of Agree/don't agree buttons, you'll also need to create and add these to the page and enabled/disable the WizardForm.NextButton as required.
来源:https://stackoverflow.com/questions/12594634/innosetup-license-files