summary.iss.inc 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. { Copyright 2019 Espressif Systems (Shanghai) PTE LTD
  2. SPDX-License-Identifier: Apache-2.0 }
  3. { ------------------------------ Installation summary page ------------------------------ }
  4. function UpdateReadyMemo(Space, NewLine, MemoUserInfoInfo, MemoDirInfo,
  5. MemoTypeInfo, MemoComponentsInfo, MemoGroupInfo, MemoTasksInfo: String): String;
  6. begin
  7. Result := ''
  8. if PythonUseExisting then
  9. begin
  10. Result := Result + 'Using Python ' + PythonVersion + ':' + NewLine
  11. + Space + PythonExecutablePath + NewLine + NewLine;
  12. end else begin
  13. Result := Result + 'Will download and install Python ' + PythonVersion + NewLine + NewLine;
  14. end;
  15. if GitUseExisting then
  16. begin
  17. Result := Result + 'Using Git ' + GitVersion + ':' + NewLine
  18. + Space + GitExecutablePath + NewLine + NewLine;
  19. end else begin
  20. Result := Result + 'Will download and install Git for Windows ' + GitVersion + NewLine + NewLine;
  21. end;
  22. if IDFUseExisting then
  23. begin
  24. Result := Result + 'Using existing ESP-IDF copy: ' + NewLine
  25. + Space + IDFExistingPath + NewLine + NewLine;
  26. end else begin
  27. Result := Result + 'Will download ESP-IDF ' + IDFDownloadVersion + ' into:' + NewLine
  28. + Space + IDFDownloadPath + NewLine + NewLine;
  29. end;
  30. Result := Result + 'IDF tools directory (IDF_TOOLS_PATH):' + NewLine +
  31. Space + ExpandConstant('{app}') + NewLine + NewLine;
  32. Log('Summary message: ' + NewLine + Result);
  33. end;