From 784b526365cb5859467ccaa62836847c9465bb96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Wed, 11 Oct 2023 13:26:12 +0200 Subject: [PATCH] installer: added missing library configurations and removed unneeded Qt DLLs / refs #10771 - added initial portable package (#4669) --- .github/workflows/release-windows.yml | 24 ++++++++++++++++++++++++ win_installer/cppcheck.wxs | 19 +++++++++++-------- win_installer/productInfo.wxi | 1 - 3 files changed, 35 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release-windows.yml b/.github/workflows/release-windows.yml index 01ecad850..f10a67eae 100644 --- a/.github/workflows/release-windows.yml +++ b/.github/workflows/release-windows.yml @@ -143,3 +143,27 @@ 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! + 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! + 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 diff --git a/win_installer/cppcheck.wxs b/win_installer/cppcheck.wxs index c9d40bec4..d39290618 100644 --- a/win_installer/cppcheck.wxs +++ b/win_installer/cppcheck.wxs @@ -59,13 +59,6 @@ - - - - - - - @@ -94,12 +87,16 @@ + + + + @@ -111,10 +108,12 @@ + + @@ -125,6 +124,8 @@ + + @@ -149,14 +150,17 @@ + + + @@ -200,7 +204,6 @@ - diff --git a/win_installer/productInfo.wxi b/win_installer/productInfo.wxi index 023e2efe1..1147bf2e5 100644 --- a/win_installer/productInfo.wxi +++ b/win_installer/productInfo.wxi @@ -14,7 +14,6 @@ -