diff --git a/src/AppInstallerCLICore/Workflows/DependenciesFlow.cpp b/src/AppInstallerCLICore/Workflows/DependenciesFlow.cpp index 40efcaf708..075de6f6f0 100644 --- a/src/AppInstallerCLICore/Workflows/DependenciesFlow.cpp +++ b/src/AppInstallerCLICore/Workflows/DependenciesFlow.cpp @@ -155,8 +155,6 @@ namespace AppInstaller::CLI::Workflow return; } - info << Resource::String::DependenciesFlowInstall << std::endl; - context << OpenDependencySource; if (context.IsTerminated()) { @@ -238,6 +236,11 @@ namespace AppInstaller::CLI::Workflow } } + if (!dependencyPackageContexts.empty()) + { + info << Resource::String::DependenciesFlowInstall << std::endl; + } + // Install dependencies in the correct order context.Add(std::move(dependencyPackageContexts)); context << Workflow::InstallMultiplePackages(m_dependencyReportMessage, APPINSTALLER_CLI_ERROR_INSTALL_DEPENDENCIES, {}, false, true);