InnoSetup license files

喜欢而已 提交于 2020-01-06 19:41:39

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!