InnoSetup许可证文件

InnoSetup许可证文件

本文介绍了InnoSetup许可证文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有使用Inno设置程序制作的多语言安装文件.如何为每种语言使用两个许可证文件?例如:英语->英语许可证和俄语->俄语许可证.对不起我的英语不好.写了我怎么能.请帮助我.

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.

推荐答案

如果您只想为每种语言定制许可证,则可以使用参数.

If you just want a custom licence for each language, you can use specify the LicenceFile parameter on the [Languages] entry.

如果要显示两个单独的许可证,则需要使用 CreateOutputMsgMemoPage()函数自己添加 [Code] 来完成此操作,然后加载另一个许可文件,使用诸如:

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;

如果您要使用一组单独的同意/不同意"按钮,则还需要创建这些按钮并将其添加到页面,并根据需要启用/禁用 WizardForm.NextButton .

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.

这篇关于InnoSetup许可证文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 20:17