-
Using Windows App SDK 1.1.5 in our packaged app, initializing the DeploymentManager fails with error 0xc0000409 when launching the app on Windows 10 machines that don’t have any Windows App SDK packages installed (tested on 4 different machines running Windows versions 21H2 or 22H2). EventViewer shows that We initialize the SDK as follows on launch: if (appHasPackageIdentity()) {
DeploymentInitializeOptions deploymentOptions;
auto deploymentResult{ DeploymentManager::Initialize(deploymentOptions) };
if (deploymentResult.Status() != DeploymentStatus::Ok) {
const HRESULT hr{ deploymentResult.ExtendedError().value };
wprintf(L"Error 0x%X initializing Windows App SDK\n", hr);
return hr;
}
} Here is the WER report from the DeploymentAgent crash: Report.wer.txt The same app works fine when installed on Windows 11 machines that don’t have any Windows App SDK packages installed:
Any ideas as to why this might not be working on Windows 10? Note that we manually integrate the Windows App SDK into our Qt project as described here. Following is the dependency on WindowsAppRuntime we’re using in our AppxManifest: <PackageDependency Name="Microsoft.WindowsAppRuntime.1.1" MinVersion="1005.616.1651.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" /> |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
We found that installing the Windows App SDK from here fixes the issue: Running It was my understanding that calling The issue is reproducible with the app getting installed either via MSIX and MS Store. |
Beta Was this translation helpful? Give feedback.
-
After upgrading to the Windows App SDK v1.2, the deployment status returned is However the underlying symptom of DeploymentAgent.exe crashing is the same: Report-v1.2.wer.txt We now reproduced this on 4 separate machines all running Windows 10. |
Beta Was this translation helpful? Give feedback.
-
I’ve created the following bug report from this: DeploymentAgent.exe crashing when calling DeploymentManager::Initialize() on Windows 10 (#3137) |
Beta Was this translation helpful? Give feedback.
I’ve created the following bug report from this:
DeploymentAgent.exe crashing when calling DeploymentManager::Initialize() on Windows 10 (#3137)