Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSIX manifest desktop7:ErrorReporting extension documentation invalid & doesn't work #394

Open
BernhardMarconato opened this issue Oct 14, 2024 · 0 comments
Labels

Comments

@BernhardMarconato
Copy link

Hi,

there are multiple issues with the desktop7:ErrorReporting MSIX/AppxManifest declaration:

In the end, the extension doesn't work at all anyways. It is impossible to register the package, as the error occurs:

DEP0700: Registration of the app failed. [0x80073CF9] Deployment Register operation with target volume C: on Package 98becea0-558f-499c-8a0b-4be7a69c8e8e_1.0.0.0_x64__zzgp0ykr93ede from: (AppxManifest.xml) failed with error 0x80070002.
ErrorFileInfo customcapabilities.cpp,146,80070002;customcapabilities.cpp,362,80070002;customcapabilities.cpp,429,80070002;customcapabilitystatehandler.cpp,34,80070002;customcapabilitystatehandler.cpp,178,80070002;deploymentmanager.cpp,1663,80070002;pipeline.cpp,36,80070002;pipeline.cpp,443,80070002;deploymentrequest.cpp,4268,80073CF9;
DetailedMessageInfo [{onecore\admin\appmodel\deploymentmanager\src\customcapabilitystatehandler.cpp(34)\appxdeploymentserver.dll!00007FFC6DADF9D1: (caller: 00007FFC6DADF2B6) Exception(2) tid(2d98) 80070002 The system cannot find the file specified. CallContext:[\DeploymentRequestRun\StateMachine\StateHandler] }];[{Only Stage and PreRegister Operations can be paused}];

It is not because the RuntimeExceptionHelperModule path file is not found, but it must be some internal error. Here is another similar report: https://developercommunity.visualstudio.com/t/Registering-an-application-with-the-Erro/10261444

Could you please check if this extension is able to be used for non-Microsoft apps, and extend the documentation with a working sample?

Thanks!

PS: here is an example manifest file (copied from the other report):

<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10" xmlns:desktop7="http://schemas.microsoft.com/appx/manifest/desktop/windows10/7" IgnorableNamespaces="uap rescap desktop desktop7 build" xmlns:build="http://schemas.microsoft.com/developer/appx/2015/build">
  ...
  <Extensions>
    <desktop7:Extension Category="windows.errorReporting" desktop7:CompatMode="classic" desktop7:Scope="user">
      <desktop7:ErrorReporting>
        <desktop7:RuntimeExceptionHelperModule Path="<project name>\mscordaccore.dll" />
      </desktop7:ErrorReporting>
    </desktop7:Extension>
  </Extensions>
  ...
</Package>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant