From 6e2812d458cb15c74930ee63b5e09ca41ee1f480 Mon Sep 17 00:00:00 2001 From: SimplestStudio Date: Fri, 25 Apr 2025 18:37:32 +0300 Subject: [PATCH] [win] online-installer: fix msi update --- win-linux/extras/online-installer/src/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/win-linux/extras/online-installer/src/mainwindow.cpp b/win-linux/extras/online-installer/src/mainwindow.cpp index d9f4be1a1..8352a97d9 100644 --- a/win-linux/extras/online-installer/src/mainwindow.cpp +++ b/win-linux/extras/online-installer/src/mainwindow.cpp @@ -411,8 +411,8 @@ void MainWindow::startUpdate() return; } m_bar->pulse(true); - wstring args = L"/c \"" + tmp_path; - args += (m_package == L"msi") ? L" /qn /norestart\"" : L" /UPDATE /VERYSILENT /NOLAUNCH\""; + wstring args = L"/c call \"" + tmp_path; + args += (m_package == L"msi") ? L"\" /qn /norestart" : L"\" /UPDATE /VERYSILENT /NOLAUNCH"; DWORD status = NS_File::runProcess(L"cmd", args, true); if (status != 0) { m_bar->pulse(false);