diff --git a/nymea-app.pro b/nymea-app.pro index 618f24cd..9eae765c 100644 --- a/nymea-app.pro +++ b/nymea-app.pro @@ -28,7 +28,7 @@ win32: { CONFIG(release,debug|release):wininstaller.commands += copy nymea-app\release\\$${APPLICATION_NAME}.exe $${WIN_PACKAGE_DIR}\packages\\$${PACKAGE_URN}\data\\$${APPLICATION_NAME}.exe && wininstaller.commands += copy \"$${top_srcdir}\"\3rdParty\windows\windows_openssl\*.dll $${WIN_PACKAGE_DIR}\packages\\$${PACKAGE_URN}\data && wininstaller.commands += windeployqt --compiler-runtime --qmldir \"$${top_srcdir}\"\nymea-app\ui $${WIN_PACKAGE_DIR}\packages\\$${PACKAGE_URN}\data\ && - wininstaller.commands += binarycreator -c $${WIN_PACKAGE_DIR}\config\config.xml -p $${WIN_PACKAGE_DIR}\packages\ $${PACKAGE_NAME}-$${APP_VERSION} + wininstaller.commands += binarycreator -c $${WIN_PACKAGE_DIR}\config\config.xml -p $${WIN_PACKAGE_DIR}\packages\ $${PACKAGE_NAME}-win-installer-$${APP_VERSION} message("Windows installer package directory: $${WIN_PACKAGE_DIR}") QMAKE_EXTRA_TARGETS += wininstaller } diff --git a/packaging/windows/packages/io.nymea.nymeaapp/meta/installscript.qs b/packaging/windows/packages/io.nymea.nymeaapp/meta/installscript.qs index cbbe14cd..9c0e883c 100644 --- a/packaging/windows/packages/io.nymea.nymeaapp/meta/installscript.qs +++ b/packaging/windows/packages/io.nymea.nymeaapp/meta/installscript.qs @@ -13,7 +13,7 @@ changeLicenseLabels = function() Component.prototype.createOperations = function() { component.createOperations(); - + component.addOperation("Execute", "@TargetDir@/vc_redist.x64.exe", "/quiet", "/norestart"); if (systemInfo.productType === "windows") { component.addOperation("CreateShortcut", "@TargetDir@/nymea-app.exe", "@StartMenuDir@/nymea app.lnk", "workingDirectory=@TargetDir@", "iconPath=@TargetDir@/logo.ico",