From 0da37b32498f8dd21ce941d6a3f725348e552f2d Mon Sep 17 00:00:00 2001 From: Vitalii Koshura Date: Wed, 15 Jan 2025 01:20:18 +0100 Subject: [PATCH] Fix Signed-off-by: Vitalii Koshura --- .github/workflows/windows.yml | 6 +++++- installer/ListboxTable.cpp | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index eff9f6bd37..6501586cf0 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -110,7 +110,11 @@ jobs: if: success() && matrix.type == 'msbuild' && !startsWith(github.ref, 'refs/tags/') shell: powershell run: | - cp 'C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x86\MsiVal2-x86_en-us.msi' ./temp/MsiVal2-x86_en-us.msi + md -Force ./temp + cp 'C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x86\MsiVal2-x86_en-us.msi' ./temp/ + cp 'C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x86\8e4755178e6b5bcba8d3538c3630b7a5.cab' ./temp/ + cp cp 'C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x86\b80b7321357f7c9f281536f9440dfe68.cab' ./temp/ + cp cp 'C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x86\c2aabf6ea5c1d348ec22f3aeb92f8656.cab' ./temp/' Start-Process "msiexec.exe" -ArgumentList "/i './temp/MsiVal2-x86_en-us.msi' /quiet /qn" -Wait - name: Build diff --git a/installer/ListboxTable.cpp b/installer/ListboxTable.cpp index a945d05860..db1db09b06 100644 --- a/installer/ListboxTable.cpp +++ b/installer/ListboxTable.cpp @@ -87,7 +87,7 @@ ListboxTable::ListboxTable(const nlohmann::json& json, bool ListboxTable::generate(MSIHANDLE hDatabase) { std::cout << "Generating ListboxTable..." << std::endl; - + const auto sql_create = "CREATE TABLE `ListBox` " "(`Property` CHAR(72) NOT NULL, `Order` SHORT NOT NULL, " "`Value` CHAR(64) NOT NULL, `Text` CHAR(64) "