From 0939d26bbd94e7df5f500b5b20a618e240ad09b7 Mon Sep 17 00:00:00 2001 From: firewave Date: Wed, 28 Dec 2022 22:03:35 +0100 Subject: [PATCH 1/4] cppcheck.wxs: added missing library configurations --- win_installer/cppcheck.wxs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/win_installer/cppcheck.wxs b/win_installer/cppcheck.wxs index c9d40bec4d9..68a72cf07e9 100644 --- a/win_installer/cppcheck.wxs +++ b/win_installer/cppcheck.wxs @@ -94,12 +94,16 @@ + + + + @@ -111,10 +115,12 @@ + + @@ -125,6 +131,8 @@ + + From ac47c59ff5b7a1517bcbbb1cd64f30a7ace49ee7 Mon Sep 17 00:00:00 2001 From: firewave Date: Wed, 28 Dec 2022 22:07:16 +0100 Subject: [PATCH 2/4] refs #10771 - release-windows.yml: generate a preliminary portable package --- .github/workflows/release-windows.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/release-windows.yml b/.github/workflows/release-windows.yml index 01ecad85071..35616eb2697 100644 --- a/.github/workflows/release-windows.yml +++ b/.github/workflows/release-windows.yml @@ -143,3 +143,26 @@ jobs: with: name: deploy path: win_installer\files + + - name: Clean up deploy + run: | + del win_installer\files\addons\*.dll || exit /b !errorlevel! + del win_installer\files\addons\*.pyd || exit /b !errorlevel! + del win_installer\files\addons\base_library.zip || exit /b !errorlevel! + rmdir /s /q win_installer\files\bearer || exit /b !errorlevel! + rmdir /s /q win_installer\files\help || exit /b !errorlevel! + rmdir /s /q win_installer\files\iconengines || exit /b !errorlevel! + rmdir /s /q win_installer\files\imageformats || exit /b !errorlevel! + rmdir /s /q win_installer\files\printsupport || exit /b !errorlevel! + ren win_installer\files\translations lang || exit /b !errorlevel! + del win_installer\files\d3dcompiler_47.dll || exit /b !errorlevel! + del win_installer\files\libEGL.dll || exit /b !errorlevel! + del win_installer\files\libGLESv2.dll || exit /b !errorlevel! + del win_installer\files\opengl32sw.dll || exit /b !errorlevel! + del win_installer\files\Qt5Svg.dll || exit /b !errorlevel! + del win_installer\files\vc_redist.x64.exe || exit /b !errorlevel! + + - uses: actions/upload-artifact@v3 + with: + name: portable + path: win_installer\files From 5b04f0d4aafaf49c3a99e6d396fdf61c50c02f6e Mon Sep 17 00:00:00 2001 From: firewave Date: Wed, 28 Dec 2022 22:07:57 +0100 Subject: [PATCH 3/4] removed unnecessary Qt DLLs from installation package --- .github/workflows/release-windows.yml | 1 + win_installer/cppcheck.wxs | 8 -------- win_installer/productInfo.wxi | 1 - 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/release-windows.yml b/.github/workflows/release-windows.yml index 35616eb2697..f10a67eaed2 100644 --- a/.github/workflows/release-windows.yml +++ b/.github/workflows/release-windows.yml @@ -154,6 +154,7 @@ jobs: rmdir /s /q win_installer\files\iconengines || exit /b !errorlevel! rmdir /s /q win_installer\files\imageformats || exit /b !errorlevel! rmdir /s /q win_installer\files\printsupport || exit /b !errorlevel! + rmdir /s /q win_installer\files\sqldrivers || exit /b !errorlevel! ren win_installer\files\translations lang || exit /b !errorlevel! del win_installer\files\d3dcompiler_47.dll || exit /b !errorlevel! del win_installer\files\libEGL.dll || exit /b !errorlevel! diff --git a/win_installer/cppcheck.wxs b/win_installer/cppcheck.wxs index 68a72cf07e9..52098549860 100644 --- a/win_installer/cppcheck.wxs +++ b/win_installer/cppcheck.wxs @@ -59,13 +59,6 @@ - - - - - - - @@ -208,7 +201,6 @@ - diff --git a/win_installer/productInfo.wxi b/win_installer/productInfo.wxi index 023e2efe1d5..1147bf2e514 100644 --- a/win_installer/productInfo.wxi +++ b/win_installer/productInfo.wxi @@ -14,7 +14,6 @@ - From 3fb6f765cab4c50b17f19d36e5665c822f66323e Mon Sep 17 00:00:00 2001 From: firewave Date: Wed, 9 Aug 2023 00:36:26 +0200 Subject: [PATCH 4/4] cppcheck.wxs: added missing `.py` and `*.json` files --- win_installer/cppcheck.wxs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/win_installer/cppcheck.wxs b/win_installer/cppcheck.wxs index 52098549860..d3929061820 100644 --- a/win_installer/cppcheck.wxs +++ b/win_installer/cppcheck.wxs @@ -150,14 +150,17 @@ + + +