Can't install UWP app, fails with codes 0x800701c5 / 800700B7
Hello everybody.
We want to publish our app, that is made with Xamarin Forms, to the Microsoft Store. WACK does not report any problems with the uploaded app.
Installation fails for all betatesters, the store app reports error 0x800701c5.
So I tried installation with winget: winget install --logs 9NK8G21NBK6B
I can supply the complete log, but these should be the relevant lines:
2024-05-28 08:48:57.157 [CORE] WinGet, version [1.7.11261], activity [{B9AEE5D2-4A9C-460A-A6A7-09D6EB082745}]
2024-05-28 08:48:57.157 [CORE] OS: Windows.Desktop v10.0.19045.4412
2024-05-28 08:48:57.157 [CORE] Command line Args: "C:\Users\m.baeurle\AppData\Local\Microsoft\WindowsApps\winget.exe" install --logs 9NK8G21NBK6B
2024-05-28 08:48:57.157 [CORE] Package: Microsoft.DesktopAppInstaller v1.22.11261.0
2024-05-28 08:48:57.157 [CORE] IsCOMCall:0; Caller: winget-cli
2024-05-28 08:48:57.164 [CLI ] WinGet invoked with arguments: 'install' '--logs' '9NK8G21NBK6B'
2024-05-28 08:48:57.165 [CLI ] Found subcommand: install
[...]
2024-05-28 08:48:58.688 [REPO] Opening database for ImmutableRead at 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2024.527.2133.978_neutral__8wekyb3d8bbwe\Public\index.db'
2024-05-28 08:48:58.690 [REPO] Opened SQLite Index with version [1.7], last write [2024-05-27 22:32:52.000]
2024-05-28 08:48:58.727 [REPO] Creating new SQLite Index with version [Latest] at ':memory:'
2024-05-28 08:48:58.731 [REPO] Reading MSI UpgradeCodes
2024-05-28 08:48:58.861 [FAIL] C:\__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFCB63474CC: (caller: 00007FFCB634E129) Exception(1) tid(6e8c) 800700B7 Eine Datei kann nicht erstellt werden, wenn sie bereits vorhanden ist.
2024-05-28 08:48:58.861 [REPO] Ignoring duplicate ARP entry Machine|X86|Instant C#_is1 [Instant C#]
2024-05-28 08:48:59.017 [REPO] Reading MSI UpgradeCodes
2024-05-28 08:48:59.075 [FAIL] C:\__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFCB63474CC: (caller: 00007FFCB634E129) Exception(2) tid(6e8c) 800700B7 Eine Datei kann nicht erstellt werden, wenn sie bereits vorhanden ist.
[This message is repeated about 30 times.]
2024-05-28 08:48:59.619 [REPO] Opening database for ReadWrite at 'C:\Users\m.baeurle\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db'
2024-05-28 08:48:59.623 [REPO] Opened SQLite Index with version [1.7], last write [2024-04-05 10:38:35.000]
2024-05-28 08:48:59.625 [REPO] Sending http POST request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/manifestSearch
2024-05-28 08:48:59.734 [REPO] Response status: 200
2024-05-28 08:48:59.735 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/packageManifests/9NK8G21NBK6B?Market=DE
2024-05-28 08:49:00.001 [REPO] Response status: 200
2024-05-28 08:49:00.002 [REPO] Finding installed package from available package using system reference search: Query:[none] Include:PackageFamilyName='digi-softwaregmbh.12487985175e8_22nq861yrmj7r'[Exact] Include:NormalizedNameAndPublisher='digi-app 2'+'digi-software gmbh'[Exact]
2024-05-28 08:49:00.009 [REPO] Opening database for ReadWrite at 'C:\Users\m.baeurle\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
2024-05-28 08:49:00.011 [REPO] Opened SQLite Index with version [1.7], last write [2024-05-27 14:28:20.000]
2024-05-28 08:49:00.033 [CLI ] Found one app. App id: 9NK8G21NBK6B App name: DIGI-APP 2
2024-05-28 08:49:00.039 [REPO] Attempting to open pinning database: C:\Users\m.baeurle\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\pinning.db
2024-05-28 08:49:00.039 [CLI ] Manifest fields: Name [DIGI-APP 2], Version [Unknown]
2024-05-28 08:49:06.323 [CLI ] Package agreements accepted in prompt
2024-05-28 08:49:06.347 [CORE] Getting entitlement for ProductId: 9NK8G21NBK6B
2024-05-28 08:49:06.347 [CORE] Get user entitlement.
2024-05-28 08:49:07.446 [CORE] Get entitlement succeeded.
2024-05-28 08:49:07.695 [CORE] Started MSStore package execution. ProductId: 9NK8G21NBK6B PackageFamilyName: DIGI-SOFTWAREGmbH.12487985175E8_22nq861yrmj7r
2024-05-28 08:49:16.076 [CLI ] MSStore install failed. ProductId: 9NK8G21NBK6B HResult: 0x800701c5
2024-05-28 08:49:16.076 [CLI ] Terminating context: 0x800701c5 at C:\__w\1\s\external\pkg\src\AppInstallerCLICore\Workflows\MSStoreInstallerHandler.cpp:68
My questions are:
- What do the error codes means, what is the description of these errors?
- What is going wrong with the installation?
- How can I fix it?
Any help with this will really be appreciated.
Best regards,
Markus