【发布时间】:2020-11-04 19:16:48
【问题描述】:
在AllPagesExample.iss 示例文件中有这部分:
function PrepareToInstall(var NeedsRestart: Boolean): String;
begin
if SuppressibleMsgBox('Do you want to stop Setup at the Preparing To Install wizard page?', mbConfirmation, MB_YESNO, IDNO) = IDYES then
Result := 'Stopped by user';
end;
如果PrepareToTinstall是一个事件函数,我自己不调用,怎么给它传递NeedsRestart参数呢?
【问题讨论】: