Forum Discussion

Charles_Y9495's avatar
Charles_Y9495
Copper Contributor
Jan 25, 2023

Add-AppxPackage -Register, 0x80073CF9, The manifest is not located in the package root directory.

 

As shown, I tried to install a package (loose files) using the command "Add-AppxPackage -Register", but it did not install successfully. HRESULT: 0x80073CF9, telling me that "The manifest is not located in the package in the root directory". And I'm sure that the AppxManifest.xml file is in the root of the package's folder. I s there a possible solution?

 

OS Platform: Windows 11, Build 22623.1028, AMD64

 

The package I tried to install was Windows Parental Controls, which unfortunately is not pre-installed on the system I'm using, and I tried to fix it this way. If there is another way to restore to this feature, please let me know as well. Thank you.

The solutions I've tried (none have fixed it).

  • PowerShell Command Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”} in this post: https://answers.microsoft.com/en-us/windows/forum/all/windows-10-store-fails-with-0x80073cf9/b8ec2724-b087-4599-8651-0b35760962d6
  • sfc /scannow
  • Dism /Online /Cleanup-Image /RestoreHealth
  • Run WSReset.exe

UPDATE: The content of AppxManifest.xml

 

 UPDATE: A event log I've found in Applications and Services Logs/Microsoft/Windows/AppXPackagingOM. Level Warning. I don't think it had anything to do with it, though.

6 Replies

  • I would suggest looking at (or showing) the contents of the AppXManifest file. Possibly it sees the file but can't recognize the contents. If so, the event log in "Applications and Services Logs/Microsoft/Windows/AppXPackagingOM" should contain a more detailed error about what it didn't like.
    • Charles_Y9495's avatar
      Charles_Y9495
      Copper Contributor
      Thanks for your suggestions. I have updated the information in the post to include the contents of AppxManifest.xml and an event log.
      • TIMOTHY_MANGAN's avatar
        TIMOTHY_MANGAN
        MVP

        Charles_Y9495 

        I'm not sure what you are trying to accomplish, and suspect that what I see is a mashup up different things.
        1) The -Register option of the Add-AppxPackage command is for use with AppAttach, used for non-persistent VDI scenarios. General use of Add-AppxPackage does not use this option and the command line would reference a .appx or .msix package that was previously created using the MakeAppX or MakeMsix command.
        2) The AppxManifest file appears to be UWP from the contents. That's fine, but I am unsure if AppAttach deals with UWP apps (as in I just don't know, I have never tried it myself). But anyway, there are clearly incorrect fields in the file. The value for DisplayName (in several places) looks like a placeholder for the validation type. You should just have a normal looking name in that field rather than "ms-resource:xxx".

         

        Hopefully this will get you more into the right direction.

  • Anonymous's avatar
    Anonymous

    Charles_Y9495 

    Hi, I found this discussion with this error for the Microsoft store, but the error is the same:

    https://answers.microsoft.com/en-us/windows/forum/all/windows-10-store-fails-with-0x80073cf9/b8ec2724-b087-4599-8651-0b35760962d6

    There is already a new update for the Beta channel.

    https://blogs.windows.com/windows-insider/2023/01/19/announcing-windows-11-insider-preview-build-22621-1180-and-22623-1180/

    • Charles_Y9495's avatar
      Charles_Y9495
      Copper Contributor

      Deleted 

      Thank you. I've tried the method in the post you mentioned, but it didn't work. Robelene Win's command enumerates all the packages already installed on the computer, and then passes the Installation parameter from them to “Add-AppxPackage -Register” to re-register those packages. Parental Control is a built-in program, but since the system I am using does not contain it, the commands in the post are not helpful in solving the problem.
      Incidentally, I copied the package files from another computer to my computer's "C:\Windows'\SystemApps" folder

      • Anonymous's avatar
        Anonymous

        Charles_Y9495 

        Please send feedback to the feedback center, propose the implementation of this feature and its development in the Insider version, surely Microsoft will analyze it.

        Best regards!

Resources