procedure LoadPerfCounter(); var Ret : Integer; begin if Exec(ExpandConstant('{sys}') + '\lodctr.exe', '/m:test.man', ExpandConstant('{app}') ,SW_HIDE, ewWaitUntilTerminated, Ret) then begin then begin MsgBox(# + SysErrorMessage(Ret), mbError, MB_OK)…