UWP Store app crashes while including win32 exe as part of package

Raja Shanmugam 60 Reputation points
2026-07-23T11:47:44.51+00:00

Hi,

From our existing windows store application(UWP App), we are trying to include passkey support. For that we have created a Win32 exe (passkeybridge.exe) and a PluginAuthenticator.dll(native dll). which implements IPluginAuthenticator(WebAuthNPluginAddAuthenticator)

Based on the following link

Windows-classic-samples/Samples/PasskeyManager at main · microsoft/Windows-classic-samples · GitHub

  • Registering the passkey manager app as a COM object in the system registry.
  • Implementing the IPluginAuthenticator interface for managing webauthn credentials.
  • Using the WebAuthNPluginAddAuthenticator API to add the plugin authenticator. In the UWP app manifest, we have included this.
    <desktop:Extension Category="windows.fullTrustProcess" Executable="PasskeyBridge.exe"/>
        <com:Extension Category="windows.comServer">
          <com:ComServer> 
            <com:ExeServer Executable="PasskeyBridge.exe" Arguments="-Embedding" DisplayName="Passkey Bridge">
              <com:Class Id="a3c6f76g-d9fa-3cb0-1229-218735314d32" DisplayName="PasskeyBridge"/>
            </com:ExeServer>
          </com:ComServer>
        </com:Extension>

We packaged everything into msix package and everything works fine. UWP App -> PasskeyBridge.exe(win32 exe) -> PluginAuthenticator, to create and manage passkeys.

WACK test also passed before store upload.

When installed from store and the app launches, it crashes.

Getting following error in event viewer

The server 03AC1CFB.UWPAPP_2.0.0.0_x64__ghj8hg3x9mj8j!App did not register with DCOM within the required timeout.

Activation for 03AC1CFB.UWPAPP_2.0.0.0_x64__ghj8hg3x9mj8j!App failed. Error code: The app didn't start.. Activation phase: COM ActivateExtension

Application: UWPAPP.exe

Framework Version: v4.0.30319

Description: The process was terminated due to an unhandled exception.

Exception Info: exception code e06d7363, exception address 00007FFEC1CEA80A

Why store version crashes while the sideloaded packageis working?

Developer technologies | Universal Windows Platform (UWP)

Answer accepted by question author
Danny Nguyen (WICLOUD CORPORATION) 8,450 Reputation points Microsoft External Staff Moderator
2026-07-27T10:10:59.6166667+00:00

Hi @Raja Shanmugam ,

Thank you for the update and for sharing your solution that using the Windows Application Packaging (WAP) Project works for this scenario.

While adding a Win32 executable directly to a traditional UWP .appxmanifest often works locally (sideloaded), Store deployment imposes stricter boundaries. A classic UWP project structure doesn't always guarantee that out-of-process Win32 dependencies, COM server identities, and runtime trust contexts are perfectly carried over through the Store's compilation and ingestion process.

The Windows Application Packaging Project could in theory bridge this. While I cannot be certain of the exact internal failure without a dump, it is likely that migrating to WAP resolved the issue because it correctly wires up the activation pathways between different project types (managed UWP vs native Win32). When you manually add a Win32 executable to a classic UWP project, the Store submission compilation (which separates architecture-specific payloads and strips framework dependencies) often strips or misaligns the native library pathways or deployment layout. A WAP project acts as a unified orchestrator, ensuring that when the .msixupload is built for the Store, the native C++ dependencies, COM execution aliases, and Trust/Capabilities are preserved properly alongside the managed UI.

I am glad to hear the issue is resolved. If you found my responses helpful or informative during your troubleshooting process, I would greatly appreciate it if you could provide feedback by interacting with the system or leaving a comment below.

Thank you.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.