InstallScript Project的向导中有 Installation Interview一项可以设置License.
选择yes。在生成的SetUp.Rul脚本文件中找到相关代码
将其 粘贴到 InstallScript MSI项目的 function OnFirstUIBefore() 函数中,
现在,虽然可以显示 License的对话框,但是 没有文字显示。
因为SUPPORTDIR在 InstallScript MSI 中 不像 InstallScript Project ,会导出相关临时文件。
根据帮助,需要在Support Files/Billboards项中添加 License.txt
点 Support Files/Billboards 选 Language Independent , 在右边 -> 右键->添加 License.txt
如此 生成的 安装程序 就会包含 License 框。也无需再在发布包中添加 License.
本文介绍如何在InstallScriptMSI项目中设置License对话框,并解决显示问题。通过在SupportFiles/Billboards中添加License文件,确保安装过程中正确显示License内容。
253

被折叠的 条评论
为什么被折叠?



