diff --git a/.github/actions/create-package/create-package.sh b/.github/actions/create-package/create-package.sh
index b9376b77c..b52b10e67 100755
--- a/.github/actions/create-package/create-package.sh
+++ b/.github/actions/create-package/create-package.sh
@@ -3,6 +3,23 @@
trap 'echo "::error::Command failed"' ERR
set -eE
+harvest_windeployqt() {
+ echo ""
+ echo ""
+ echo " "
+ echo " "
+
+ while IFS= read -r filepath; do
+ echo " "
+ echo " "
+ echo " "
+ done
+
+ echo " "
+ echo " "
+ echo ""
+}
+
create_package_linux() {
echo "::group::Set up AppImage contents"
make install INSTALL_ROOT="${PWD}/Pencil2D"
@@ -101,7 +118,7 @@ create_package_windows() {
echo "Remove files"
find \( -name '*.pdb' -o -name '*.ilk' \) -delete
echo "::group::Deploy Qt libraries"
- windeployqt Pencil2D/pencil2d.exe
+ windeployqt --list relative Pencil2D/pencil2d.exe | harvest_windeployqt > windeployqt.wxs
echo "::endgroup::"
echo "Copy OpenSSL DLLs"
local wordsize="${platform#win}"
@@ -119,10 +136,9 @@ create_package_windows() {
-d "ProductCode=$(python -c "import uuid; print(str(uuid.uuid5(uuid.NAMESPACE_URL, '-Nhttps://github.com/${GITHUB_REPOSITORY}/commit/${GITHUB_SHA}')).upper())")" \
$versiondefines \
-out "pencil2d-${platform}-$3.msi" \
- ../util/installer/pencil2d.wxs
+ ../util/installer/pencil2d.wxs windeployqt.wxs
wix build -arch "x${wordsize/32/86}" -dcl high -sw1133 -b ../util/installer -b Pencil2D \
-ext WixToolset.Util.wixext -ext WixToolset.Bal.wixext \
- -d "ProductCode=$(python -c "import uuid; print(str(uuid.uuid5(uuid.NAMESPACE_URL, '-Nhttps://github.com/${GITHUB_REPOSITORY}/commit/${GITHUB_SHA}')).upper())")" \
$versiondefines \
-out "pencil2d-${platform}-$3.exe" \
../util/installer/pencil2d.bundle.wxs
diff --git a/util/installer/pencil2d.wxs b/util/installer/pencil2d.wxs
index afc2153f2..2f28c3356 100644
--- a/util/installer/pencil2d.wxs
+++ b/util/installer/pencil2d.wxs
@@ -91,172 +91,16 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+