[Files]
Source: ..\framework.exe; DestDir:{tmp}; Flags: dontcopy
[code]
function InitializeSetup(): Boolean;
var Path:string;
ResultCode: Integer;
begin
ExtractTemporaryFile('framework.exe');
Result := Exec(ExpandConstant('{tmp}\framework.exe'), '/silent', '', SW_SHOWNORMAL, ewWaitUntilTerminated, ResultCode);
end;
标签:tmp,exe,setup,SW,framework,code,inno,ResultCode
From: https://blog.51cto.com/u_16076050/6196285