diff --git a/.github/actions/spelling/allow.txt b/.github/actions/spelling/allow.txt
index 37de8a3d13..595ea15c4f 100644
--- a/.github/actions/spelling/allow.txt
+++ b/.github/actions/spelling/allow.txt
@@ -190,6 +190,7 @@ Linux
LOCALAPPDATA
localtime
LOGPATH
+logsql
logto
LONGLONG
LPCGUID
@@ -201,6 +202,7 @@ MAKEINTRESOURCE
makemsix
MANIFESTSCHEMA
MANIFESTVERSION
+MBs
mday
metadata
microsoft
@@ -414,6 +416,7 @@ triaged
trunc
TRUSTEDPEOPLE
tt
+ttl
typedef
typename
uap
diff --git a/.github/actions/spelling/expect.txt b/.github/actions/spelling/expect.txt
index cdba6a4d0d..60f9fd1b83 100644
--- a/.github/actions/spelling/expect.txt
+++ b/.github/actions/spelling/expect.txt
@@ -35,6 +35,7 @@ casemap
casemappings
cch
CDEF
+cend
centralus
certmgr
certs
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index cb9b44d0aa..7e95bc3bd8 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -240,6 +240,7 @@ jobs:
- task: VSTest@2
displayName: Run E2E Tests Packaged x64
inputs:
+ testRunTitle: 'E2E Packaged x64'
testSelector: 'testAssemblies'
testAssemblyVer2: 'src\x64\Release\AppInstallerCLIE2ETests\AppInstallerCLIE2ETests.dll'
runSettingsFile: 'src\x64\Release\AppInstallerCLIE2ETests\Test.runsettings'
@@ -265,6 +266,7 @@ jobs:
- task: VSTest@2
displayName: Run E2E Tests Packaged x86
inputs:
+ testRunTitle: 'E2E Packaged x86'
testSelector: 'testAssemblies'
testAssemblyVer2: 'src\x86\Release\AppInstallerCLIE2ETests\AppInstallerCLIE2ETests.dll'
runSettingsFile: 'src\x86\Release\AppInstallerCLIE2ETests\Test.runsettings'
@@ -310,6 +312,7 @@ jobs:
- task: ComponentGovernanceComponentDetection@0
displayName: Component Governance
+ continueOnError: true
inputs:
scanType: 'Register'
verbosity: 'Verbose'
diff --git a/src/AppInstallerCLI.sln b/src/AppInstallerCLI.sln
index 5a9bbfa764..5a2fbaf601 100644
--- a/src/AppInstallerCLI.sln
+++ b/src/AppInstallerCLI.sln
@@ -17,8 +17,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Project", "Project", "{8D53
..\azure-pipelines.loc.yml = ..\azure-pipelines.loc.yml
..\azure-pipelines.yml = ..\azure-pipelines.yml
..\cgmanifest.json = ..\cgmanifest.json
- ..\README.md = ..\README.md
..\doc\packages.schema.json = ..\doc\packages.schema.json
+ ..\README.md = ..\README.md
..\doc\Settings.md = ..\doc\Settings.md
..\doc\settings.schema.json = ..\doc\settings.schema.json
EndProjectSection
@@ -68,6 +68,14 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Valijson", "Valijson\Valijs
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ManifestSchema", "ManifestSchema\ManifestSchema.vcxitems", "{7D05F64D-CE5A-42AA-A2C1-E91458F061CF}"
EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "spelling", "spelling", "{2ACDE176-F13F-42FA-8159-C34FA3D37837}"
+ ProjectSection(SolutionItems) = preProject
+ ..\.github\actions\spelling\allow.txt = ..\.github\actions\spelling\allow.txt
+ ..\.github\actions\spelling\excludes.txt = ..\.github\actions\spelling\excludes.txt
+ ..\.github\actions\spelling\expect.txt = ..\.github\actions\spelling\expect.txt
+ ..\.github\actions\spelling\patterns.txt = ..\.github\actions\spelling\patterns.txt
+ EndProjectSection
+EndProject
Global
GlobalSection(SharedMSBuildProjectFiles) = preSolution
ManifestSchema\ManifestSchema.vcxitems*{1622da16-914f-4f57-a259-d5169003cc8c}*SharedItemsImports = 4
@@ -429,6 +437,7 @@ Global
{3BAF989F-7F65-465B-ACE8-BAFE42D1017E} = {EA8CD934-0702-4911-A2C5-A40600E616DE}
{358BC478-0624-4AD1-A933-0422B5292AF8} = {60618CAC-2995-4DF9-9914-45C6FC02C995}
{7D05F64D-CE5A-42AA-A2C1-E91458F061CF} = {8D53D749-D51C-46F8-A162-9371AAA6C2E7}
+ {2ACDE176-F13F-42FA-8159-C34FA3D37837} = {8D53D749-D51C-46F8-A162-9371AAA6C2E7}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {B6FDB70C-A751-422C-ACD1-E35419495857}
diff --git a/src/AppInstallerCLICore/AppInstallerCLICore.vcxproj b/src/AppInstallerCLICore/AppInstallerCLICore.vcxproj
index ec96bde19d..4f49b21a6b 100644
--- a/src/AppInstallerCLICore/AppInstallerCLICore.vcxproj
+++ b/src/AppInstallerCLICore/AppInstallerCLICore.vcxproj
@@ -193,6 +193,7 @@
+
diff --git a/src/AppInstallerCLICore/AppInstallerCLICore.vcxproj.filters b/src/AppInstallerCLICore/AppInstallerCLICore.vcxproj.filters
index 9a17abfdbe..784c9210aa 100644
--- a/src/AppInstallerCLICore/AppInstallerCLICore.vcxproj.filters
+++ b/src/AppInstallerCLICore/AppInstallerCLICore.vcxproj.filters
@@ -68,9 +68,6 @@
Header Files
-
- Header Files
-
Header Files
@@ -149,7 +146,10 @@
Commands
-
+
+ Header Files
+
+
Header Files
diff --git a/src/AppInstallerCLICore/Commands/UpgradeCommand.cpp b/src/AppInstallerCLICore/Commands/UpgradeCommand.cpp
index ba52250cb4..a42353a5f8 100644
--- a/src/AppInstallerCLICore/Commands/UpgradeCommand.cpp
+++ b/src/AppInstallerCLICore/Commands/UpgradeCommand.cpp
@@ -150,20 +150,13 @@ namespace AppInstaller::CLI
// --manifest case where new manifest is provided
context <<
GetManifestFromArg <<
- ReportManifestIdentity <<
SearchSourceUsingManifest <<
EnsureOneMatchFromSearchResult(true) <<
GetInstalledPackageVersion <<
EnsureUpdateVersionApplicable <<
SelectInstaller <<
EnsureApplicableInstaller <<
- ShowInstallationDisclaimer <<
- Workflow::ReportExecutionStage(ExecutionStage::Download) <<
- DownloadInstaller <<
- Workflow::ReportExecutionStage(ExecutionStage::Execution) <<
- ExecuteInstaller <<
- Workflow::ReportExecutionStage(ExecutionStage::PostExecution) <<
- RemoveInstaller;
+ InstallPackageInstaller;
}
else
{
@@ -171,7 +164,6 @@ namespace AppInstaller::CLI
context <<
SearchSourceForSingle <<
EnsureOneMatchFromSearchResult(true) <<
- ReportPackageIdentity <<
GetInstalledPackageVersion;
if (context.Args.Contains(Execution::Args::Type::Version))
@@ -190,14 +182,7 @@ namespace AppInstaller::CLI
context << SelectLatestApplicableUpdate(true);
}
- context <<
- ShowInstallationDisclaimer <<
- Workflow::ReportExecutionStage(ExecutionStage::Download) <<
- DownloadInstaller <<
- Workflow::ReportExecutionStage(ExecutionStage::Execution) <<
- ExecuteInstaller <<
- Workflow::ReportExecutionStage(ExecutionStage::PostExecution) <<
- RemoveInstaller;
+ context << InstallPackageInstaller;
}
}
}
diff --git a/src/AppInstallerCLICore/ExecutionContext.h b/src/AppInstallerCLICore/ExecutionContext.h
index 2ec8f7a927..f442a8189f 100644
--- a/src/AppInstallerCLICore/ExecutionContext.h
+++ b/src/AppInstallerCLICore/ExecutionContext.h
@@ -2,20 +2,12 @@
// Licensed under the MIT License.
#pragma once
#include
-#include
-#include
-#include
#include "ExecutionReporter.h"
#include "ExecutionArgs.h"
+#include "ExecutionContextData.h"
#include "CompletionData.h"
-#include "PackageCollection.h"
-#include
-#include