Hi, Neno X
The failure appears tied to damaged package-family metadata and the former D: AppX volume, rather than the Store, package signature, or Windows component store. The Indexed/stateExtension errors also indicate that further manual StateRepository or registry edits may make rollback state worse.
There is no documented, supported command to rebuild StateRepository or stateExtension for only one package family. Reset-AppxPackage applies only to an installed package and does not rebuild deployment metadata. Avoid deleting database rows, PackageVolumes registry keys, or protected WindowsApps folders manually. The supported boundaries are package removal/re-registration, testing another Windows profile, or resetting/reinstalling Windows.
I could not verify 0x87AF0813 as a published known issue for Dev build 29648. Because this is an Insider build, submit the problem through Feedback Hub under Apps > App installation, attach the AppXDeploymentServer events and ETL trace, then test a newer Dev build if offered. Also test the same MSIX in a temporary local profile. If it installs there, that confirms profile-specific deployment state rather than a package defect.
Remove-AppxVolume is supported only after no packages remain staged on that volume for any user. Zero packages with an InstallLocation on D: does not necessarily prove that staging metadata is empty. Check both Get-AppxPackage -AllUsers and Get-AppxProvisionedPackage -Online, remove any entries still referencing that volume through supported cmdlets, reboot, then pass the volume object from Get-AppxVolume to Remove-AppxVolume. If 0x80073D0C remains, do not force-delete its ACL-protected folders. At that point, a clean Windows installation is the supported recovery path.
Thank you for your patience in reading, I hope this information has been helpful to you.
If the answer is helpful, please click "Yes" and kindly upvote it. If you have extra questions about this answer, please click "Comment."
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.