在Script脚本操作界面中进行以下操作
图1 选择 OnFirstUIBefore 事件

在Dlg_SdCustomerInformation后
加入
Dlg_SdLicense:
szLicenseFile = SRCDIR^ "license.txt";
szTitle = "";
szMsg = "";
szQuestion = "";
nResult = SdLicense( szTitle, szMsg, szQuestion, szLicenseFile );
if (nResult = BACK) goto Dlg_SdCustomerInformation;
注意因为Dlg_SdLicense: 是插入代码
所以下面的Dlg_SetupType
返回上级的地方改为Dlg_SdLicense

Script脚本事件操作指南
本文介绍如何在Script脚本中使用OnFirstUIBefore事件,具体演示了如何在指定位置插入自定义对话框代码,并调整返回逻辑以确保流程正确。
760

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



