diff --git a/Programs/MiKTeX/PackageManager/mpm/mpm.cpp b/Programs/MiKTeX/PackageManager/mpm/mpm.cpp index fac199ef1..925f34176 100644 --- a/Programs/MiKTeX/PackageManager/mpm/mpm.cpp +++ b/Programs/MiKTeX/PackageManager/mpm/mpm.cpp @@ -1811,6 +1811,11 @@ void Application::Main(int argc, const char** argv) restartWindowed = false; } + if (!required.empty()) + { + restartWindowed = false; + } + for (const string& package : required) { if (!packageManager->GetPackageInfo(package).IsInstalled())