我已将以下代码添加到我的脚本中:
[Code]
function IsSomeAppInstalled: Boolean;
begin
Result := FileExists(ExpandConstant('{pf32}\SomeApp\Some.dll'));
end;
function InitializeSetup(): Boolean;
begin
Boolean bIsInstalled := IsSomeAppInstalled();
MsgBox('IsSomeAppInstalled: ' + IntToStr(Integer(bIsInstalled)),
mbInformation, MB_OK);
Result := true;
end;
线
Boolean bIsInstalled := IsSomeAppInstalled();
引发错误
内部错误 (20)
这里可能有什么错误?