From 392474b2e3b180a080121ef1ec088b26e888aef3 Mon Sep 17 00:00:00 2001 From: Bogdan Bogush Date: Tue, 22 Dec 2020 19:01:13 +0200 Subject: [PATCH] Fixed windows installer --- windows/config/config.xml | 2 +- windows/packages/com.nando.nando/meta/installscript.qs | 4 ++-- windows/packages/com.nando.nando/meta/package.xml | 4 ++-- windows/release.bat | 9 ++++++--- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/windows/config/config.xml b/windows/config/config.xml index 29f53cf..205de8d 100644 --- a/windows/config/config.xml +++ b/windows/config/config.xml @@ -1,7 +1,7 @@ NANDO - 3.3.0 + 3.4.0 NANDO Installer NANDO NANDO diff --git a/windows/packages/com.nando.nando/meta/installscript.qs b/windows/packages/com.nando.nando/meta/installscript.qs index afe9c1e..77ba1a9 100644 --- a/windows/packages/com.nando.nando/meta/installscript.qs +++ b/windows/packages/com.nando.nando/meta/installscript.qs @@ -37,7 +37,7 @@ Component.prototype.createOperations = function() if (systemInfo.productType === "windows") { component.addOperation("CreateShortcut", "@TargetDir@/nando.exe", "@StartMenuDir@/nando.lnk", - "workingDirectory=@TargetDir@", "iconPath=%SystemRoot%/system32/SHELL32.dll", - "iconId=2", "description=NANDO"); + "workingDirectory=@TargetDir@", "description=NANDO"); + component.addOperation("Execute", "cacls", "@TargetDir@\\*.csv", "/e", "/p", "Users:f"); } } diff --git a/windows/packages/com.nando.nando/meta/package.xml b/windows/packages/com.nando.nando/meta/package.xml index 7739f07..c301caf 100644 --- a/windows/packages/com.nando.nando/meta/package.xml +++ b/windows/packages/com.nando.nando/meta/package.xml @@ -2,8 +2,8 @@ NANDO NANDO software. - 2.2.0-1 - 2019-04-28 + 3.4.0-1 + 2020-12-20 diff --git a/windows/release.bat b/windows/release.bat index 6919329..54891ae 100644 --- a/windows/release.bat +++ b/windows/release.bat @@ -1,4 +1,7 @@ -del packages\com.nando.nando\data\* +del /Q /S packages\com.nando.nando\data\* +md packages\com.nando.nando\data\ copy ..\bin\* packages\com.nando.nando\data\ -c:\Qt\5.12.3\mingw73_32\bin\windeployqt.exe packages\com.nando.nando\data\nando.exe -c:\Qt\Tools\QtInstallerFramework\3.0\bin\binarycreator.exe -c config/config.xml -p packages NANDO_Installer.exe +copy C:\boost\lib\libboost_thread-mgw8-mt-x64-1_75.dll packages\com.nando.nando\data\ +copy C:\boost\lib\libboost_system-mgw8-mt-x64-1_75.dll packages\com.nando.nando\data\ +c:\Qt\5.15.2\mingw81_64\bin\windeployqt.exe packages\com.nando.nando\data\nando.exe +c:\Qt\QtIFW\bin\binarycreator.exe -c config/config.xml -p packages NANDO_Installer.exe