Press Windows + R on your keyboard.
Learn how to resolve error code 508 "Unable to install the product as App package registry is corrupted" during Adobe app installation.
Error 508 indicates that the package repository is corrupted. This error usually occurs when the folder referenced by the registry key PackageRepositoryRoot doesn't exist or is corrupted.
Solution
Follow these steps to resolve the issue:
Enter regedit.exe to open Registry Editor, and press Enter.
Go to HKLM\Software\Microsoft\Windows\CurrentVersion\Appx, and check if the folder referenced by the registry key PackageRepositoryRoot is missing or corrupted. If it's corrupted, the name of the folder displays some invalid characters.
If you can't see PackageRepositoryRoot or if you see invalid characters, press Windows + R on your keyboard.
Type wsreset.exe, and press Enter.
This clears the cache and resets Microsoft Store.