From 04073a896bcfcd972c98cc704fce4d0914c271ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 30 May 2020 23:19:27 +0200 Subject: [PATCH] Windows release: tweaks --- .github/workflows/release-windows.yml | 5 +++-- win_installer/config.wxi | 5 +++-- win_installer/cppcheck.wxs | 4 ++++ win_installer/productInfo.wxi | 1 + 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-windows.yml b/.github/workflows/release-windows.yml index af1c4dba1..9037e5fe6 100644 --- a/.github/workflows/release-windows.yml +++ b/.github/workflows/release-windows.yml @@ -60,7 +60,7 @@ jobs: - name: Build x64 release GUI run: | - call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat" + call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat" cd gui qmake HAVE_QCHART=yes nmake release @@ -78,10 +78,11 @@ jobs: - name: Build Installer run: | + call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat" mkdir bin xcopy /S Build\gui bin cd win_installer - msbuild -m cppcheck.wixproj /p:Platform=x64,ProductVersion=0.123 + msbuild -m cppcheck.wixproj /p:Platform=x64,ProductVersion=2.0.${{ github.run_number }} - uses: actions/upload-artifact@v2 with: diff --git a/win_installer/config.wxi b/win_installer/config.wxi index cc670efa3..fc95836b8 100644 --- a/win_installer/config.wxi +++ b/win_installer/config.wxi @@ -7,12 +7,13 @@ + - + - + diff --git a/win_installer/cppcheck.wxs b/win_installer/cppcheck.wxs index f2fd519b1..4339f65d0 100644 --- a/win_installer/cppcheck.wxs +++ b/win_installer/cppcheck.wxs @@ -20,6 +20,9 @@ + + + @@ -142,6 +145,7 @@ Display='expand' Level='1' AllowAdvertise='no' ConfigurableDirectory='INSTALLDIR' > + diff --git a/win_installer/productInfo.wxi b/win_installer/productInfo.wxi index c6e1a97a3..9dc788c52 100644 --- a/win_installer/productInfo.wxi +++ b/win_installer/productInfo.wxi @@ -10,6 +10,7 @@ +