Содержание
- Deployment error microsoft windows appx package manager commands add appxpackage command
- Asked by:
- Question
- Deployment error microsoft windows appx package manager commands add appxpackage command
- Deployment error microsoft windows appx package manager commands add appxpackage command
Deployment error microsoft windows appx package manager commands add appxpackage command
This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
Asked by:
Question
I am trying to reinstall Photos but when I run the PS command
Add-AppxPackage -register «C:Program FilesWindowsAppsMicrosoft.Windows.Photos_17.425.10010.0_neutral_split.scale-100_8wekyb3d8bbweAppxManifest.xml» -DisableDevelopmentMode
I get the following
Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF3, Package failed updates, dependency or conflict validation.
Windows cannot install resource package Microsoft.Windows.Photos_8wekyb3d8bbwe because the app package it requires could not be found. Ensure that the app package is installed before installing the resource
package
NOTE: For additional information, look for [ActivityId] 85e9d5f6-1529-0000-6daf-ea852915d301 in the Event Log or use the command line Get-AppxLog -ActivityID 85e9d5f6-1529-0000-6daf-ea852915d301
At line:1 char:1
+ Add-AppxPackage -register «C:Program FilesWindowsAppsMicrosoft.Win .
+
+ CategoryInfo : WriteError: (C:Program File. ppxManifest.xml:String) [Add-AppxPackage], IOException
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
I have tried several different ways of reinstalling I found online but cannot get it to work. Any advice? Thanks in advance!
Источник
Deployment error microsoft windows appx package manager commands add appxpackage command
Our application team has created Windows Store App Package. And result is below files.
So I was asked to create silent package for it which was to be included in Task Sequence. Thus I created the package for it.
Command Line used: powershell.exe -NoProfile -WindowStyle Hidden -ExecutionPolicy Bypass -File «.Add-AppDevPackage.ps1»
But when I deploy this package using TS we receive below error in logs:
Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF6, Package could not be registered.
error 0x80070005: Adding a tile failed with unexpected error.
NOTE: For additional information, look for [ActivityId] 91318e84-545e-0000-bbe1-31915e54d201 in the Event Log or use
the command line Get-AppxLog -ActivityID 91318e84-545e-0000-bbe1-31915e54d201
At C:_SMSTaskSequencePackagesXX——2Add-AppDevPackage.ps1:45 char:13
+ Add-AppxPackage -Path $DeveloperPackagePath.FullName -Dep .
+
+ CategoryInfo : WriteError: (C:App_x86.appx:String) [Add-AppxPackage], IOException
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF6, Package could not be registered.
error 0x80070005: Adding a tile failed with unexpected error.
So can anybody please suggest if I am going in the right direction for deploying Windows Store App. Or if I am missing anything.
Источник
Deployment error microsoft windows appx package manager commands add appxpackage command
I have used instructions by Slackjaw45 and madtown_jeremy and managed to finally fix the Windows Store!!
What I did was the following:
1. In administrative cmd I executed:
2. The above failed and it mentioned an ActivityID. I went into Powershell and entered:
Get-AppxLog -ActivityID replace_this_with_the_ActivityID_returned_when_executing_command_in_1_above
3. A log will be displayed. What you need to look at is:
05/06/2016 18:58:48 475 error 0x80070002: Reading manifest from location: C:ProgramDataMicrosoftWindowsAppRepositoryMicrosoft.WindowsStore_11602.1.26.0_neutral_split.THIS_PART_WILL_BE_DIFFERENT_FOR_YOUR_SYSTEM_8wekyb3d8bbwe.xml failed with error: The system cannot find the file specified.
05/06/2016 18:58:48 726 Windows cannot find the resource package manifest in the bundle file:
C:Program FilesWindowsAppsMicrosoft.WindowsStore_11602.1.26.0_neutral_split.THIS_PART_WILL_BE_DIFFERENT_FOR_YOUR_SYSTEM_8wekyb3d8bbweAppxManifest.xml.
4. Go to C:ProgramDataMicrosoftWindowsAppRepository (you will need to get ownership of this folder and any subfolders).
5. Look for a file called Microsoft.WindowsStore_11602.1.26.0_neutral_split.THIS_PART_WILL_BE_DIFFERENT_FOR_YOUR_SYSTEM_8wekyb3d8bbwe.xml
6. Copy the above XML file to somewhere else and rename it to the filename that was being expected in step 3.
7. Copy the renamed file to: C:ProgramDataMicrosoftWindowsAppRepository
8. Go to C:Program FilesWindowsApps (you will need to get ownership of this folder and any subfolders).
9. Look for a folder called Microsoft.WindowsStore_11602.1.26.0_neutral_split.THIS_PART_WILL_BE_DIFFERENT_FOR_YOUR_SYSTEM_8wekyb3d8bbwe
10. Copy the above folder to somewhere else and rename it to the folder that was being expected in step 3.
11. Copy the renamed folder to: C:Program FilesWindowsApps
12. Close all open programs, command prompts, etc. and click on the Windows Store. This time it will open 🙂
I finally was able to fix this issue, but it took a lot of different sources over and above what is provided in this thread. I put the exact procedure into my blog here. It has step-by-step instructions for how to fix this very annoying problem.
Please upvote me if this works for you!
I had a similar problem with the Mail app. I did not need steps 8-11 in Godwin’s fix above to fix it.
My problem seems to have been caused by having support for various non-US keyboard layouts installed. This caused the Mail app to be installed with additional language localization data for each keyboard input method. But a subsequent update seems to have updated only the US-English version of the app, leaving my app in an inconsistent (broken) state.
My fix uses the Event Viewer tool and a command prompt to copy the XML file to the location shown in the Event Viewer error message. For more details about my fix (it is equivalent to Godwin’s fix, steps 1-7, just a little bit different in the way it is done), see this link:
(I also think the fix posted by ChaosFreak is similar, and should work, too, haven’t compared it in detail.)
I had a similar problem with the Mail app. I did not need steps 8-11 in Godwin’s fix above to fix it.
Yep. I don’t think you need to copy the actual app folders and rename. All I did was copy and rename the xml file used to register the windows app found in *C:ProgramDataMicrosoftWindowsAppRepository* and the app folder naming takes care of itself for the affected profile when you use the PS command to register (the renamed xml file contains the correct reference for the actual app folder).
SO glad this issue is being resolved from the efforts we are making here! I find it utterly amazing and SAD that NO ONE from Microsoft has provided any reliable answer for this that I could find, and believe you me. I have searched EXTENSIVELY.
Once again, the community steps up to resolve a problem that should have at least had an answer from the horse’s mouth a LONG time ago.
AND yes. BOB IS YOUR FRIGGIN’ UNCLE!!
and Bob’s your uncle . the Store works once more and is updating apps successfully. Phew!
I had a similar problem with the Mail app. I did not need steps 8-11 in Godwin’s fix above to fix it.
My problem seems to have been caused by having support for various non-US keyboard layouts installed. This caused the Mail app to be installed with additional language localization data for each keyboard input method. But a subsequent update seems to have updated only the US-English version of the app, leaving my app in an inconsistent (broken) state.
My fix uses the Event Viewer tool and a command prompt to copy the XML file to the location shown in the Event Viewer error message. For more details about my fix (it is equivalent to Godwin’s fix, steps 1-7, just a little bit different in the way it is done), see this link:
(I also think the fix posted by ChaosFreak is similar, and should work, too, haven’t compared it in detail.)
Like you I also have installed support for various non-US keyboard layouts. In fact the missing file and folder was related to one of these non-US localisations.
Today I realized that I had the same problem with the Windows 10 weather app and I fixed it in the same way as I did for Windows Store. What I also discovered was the following:
On my hardrive I already had a file and folder with the name Microsoft.BingWeather_4.9.76.0_neutral_split.language-XX_8wekyb3d8bbwe
but when launching Bing Weather it was looking for an older version: Microsoft.BingWeather_4.9.51.0_neutral_split.language-XX_8wekyb3d8bbwe
so it was closing since it was not there.
After I copied the renamed Microsoft.BingWeather_4.9.51.0_neutral_split.language-XX_8wekyb3d8bbwe to the specific paths, Windows Weather worked but it also deleted the renamed one I had copied (Microsoft.BingWeather_4.9.51.0_neutral_split.language-XX_8wekyb3d8bbwe)!
So it is now using the latest version 4.9.76 and it is working (before the whole fix procedure it was looking for 4.9.51 which was not there).
THANK YOU THANK YOU THANK YOU! By summarizing everything into one blog entry, you have saved my heavily customized user account, and deterred the nuclear and Death Star options!
As AndersKlemets notes below, I believe this is due to installation of other language modules, as the issues I had were with French, German, Spanish, Luxembourgish, and Russian (keyboard only).
I agree that this issue is related to extra keyboards / non-English language support.
I also found that it affects those apps with local content (weather, news, sports, money) + Windows Store.
Also all apps which could not open were stuck in version 4.9.51.0 even though version 4.9.76.0 was already present on the hard-disk. The ‘fix’ completed the update to 4.9.76.0 and deleted 4.9.51.0.
THANK YOU ALL . REALLY .
I spent so many hours, trying to understand this f.. problem.
The problem for me was occuring on Surface Pro 4 with several accounts : a MS live.com account, an outlook.fr account and a domain account for my work. First time it happened was on the MS live.com account. I started to loose Windows Store but it was working on the other accounts.
I managed to fix it using this nice FIXWIN10 tool that you can find on the net.
Then, the problem occurde with my domain account and it was the beginning of the nightmare. Merci Bill .
Thanks to your posts, I could get Windows Store back on this account, but the apps are still not registered and I am afraid I need to register them one by one, even the genuine «Photos» app delivered with W10. What a shit !
Unfortunately, when I run the command
Then I get a multitude of 0x80073CF6 messages for each app.
I am not able to find a easy way to register all apps in one go. The bad directories or file names are really annoying. There must be a way to point to the right directories. Anybody has an idea where an index-type file would be ?
I have found a way to solve the problem, but it is too much ! (using MCT) . here —>
I think I will wait for the next fix from MSFT, but when .
Good luck to all !
Unbelievable! It worked after copying 3 files.
You are a deity!
This was exactly the problem, thank you so much. Was pounding my head against my monitor for a week trying to fix this. Much props to you!
This truly was one of the most annoying and frustrating Windows problems I had to debug. Thank you so much for putting this answer together. Like everyone else here, I’ve spent the entire day attempting various solutions but nothing worked, until your approach. I am so happy now. Thank you!
Microsoft devs, you should be ashamed that the entire set of Windows 10 Modern Apps can be utterly destroyed by such a simple bug. Here’s your fix to implement in a future update: If the file doesn’t exist, create one off of a similar file if there is one!! So simple!
I’d like to post my own findings in here as well in case anyone has a similar issue.
My Windows 10 Pro installation was seemingly bugged from the start with some weird issues after upgrading from Win7 Pro. Not only was the Media Creation Tool having issues at the time with Win7 x64 that I managed to dance around and finally get it to do an upgrade but after installing Win10 it seemingly had an issue with any video driver I installed except for the Microsoft Basic Adapter driver whenever I put my PC into sleep mode and woke it up videos would fail to play and YouTube wouldn’t work until a reboot and it seemed a little bit sluggish, I tried everything, disabling fast startup, disabling hibernation, messing with my power settings which were already set correctly, tried various versions of my R9 270’s drivers from a few months back to the most current and nothing solved it, I figured at this point it had to be an audio driver issue which I could find no fault in or possibly a driver that was running from my previous Win7 installation that Win10 didn’t nuke when upgrading. Which led me to disable the Ai Charger driver from ASUS, I don’t use the feature myself and it’s not needed for the system to run. Well, that ended up being a big mistake and I went through the pain staking process of having to bust out a PS/2 keyboard and try to diagnose why only USB mice and keyboards wouldn’t work on Win10 after disabling a driver that wasn’t needed, this in turn also seemingly disabled some services in Windows as I believe disabling the ASUS driver actually stopped some of the HID driver services from functioning as it was so deeply embedded into my system. Every single HID had that ASUS driver attached. Long story short I was able to re-enable the driver and get Windows to recognize KB/M again.
And this is where another problem began. So the whole situation bugged my install of Win10 even further and System Restore wouldn’t properly restore because the WindowsApps folder was locked and even System Restore couldn’t access it. This is supposed to have full TrustedInstaller and System permissions but I’m assuming the installer service UWP apps use was disabled for some reason and for another reason even System didn’t have access to the folder. And around the same time the Realtek Audio UWP app wouldn’t install, don’t know if that’s related but it started before the issues actually cropped up and it seems to be a common issue with the Realtek app. Then I noticed no Windows Store apps would update, so I decided to run WSReset which did nothing, ran the Windows Store troublshooter which suggested purging it and reinstalling it, did this and bam, WS gone completely and the GetApp command wouldn’t work, it would error out as this thread suggests no matter what I tried.
So I did an in-place upgrade via my Win10 Pro USB drive after exhausting every possible fix and assumed there was a service permission or config problem that was stopping PS from being able to install the WS package.
Three hours later, my system is now nice and fresh but an in-place upgrade does not mess with WindowsApps files though all the services were restored to their former glory.
So I decided I’d check the WindowsApps folder since the package installer couldn’t «find it». I found it, tried to acces it and I was denied even with admin rights. I checked the ownership settings and found that it was seemingly corrupt as System, admins and users had had no access to the folder which would explain why PS ran as admin couldn’t install to it. I did an advanced ownership take over on it and voila, PS could reinstall WStore without a hiccup and all my installed apps updated inside the WStore app.
So far no problems so if anyone is having a similar issue you can try to take ownership of the WindowsApps folder and leave the permissions intact for System and TrustedInstaller.
But at the end of the day the original issue that caused all of this headache in the first place is still there, I cannot successfully wake my PC without having to reboot it in order to enjoy videos but at least II’ll be ready for when Halo Infinite launches on PC.
Источник
Иногда может произойти что современные приложения Windows 10 не работают так как хотелось бы. Один из вариантов Перерегистрировать это приложение. И даже перерегистрируя его вы можете потерпеть неудачу из — за различных причин. Когда процесс завершается неудачно, вы получаете детальное сообщения об ошибке, красным цветом
.
Add-AppxPackage : Сбой развертывания с HRESULT: 0x80073CF6, Не удалось зарегист
рировать пакет.
Merge Failure: ошибка: 0x80070003: не удается зарегистрировать пакет Microsoft.
WindowsStore_2015.23.23.0_x64__8wekyb3d8bbwe( имя пакета * )
так как произошел сбой объединени
я следующего файла: C:Program FilesWindowsAppsMicrosoft.WindowsStore_2016.23 (* Имя исполняемого файла )
.23.0_neutral_split.language-ru_8wekyb3d8bbweresources.pri
* Имя пакета и Имя исполняемого файла
может изменятся в зависимости от приложения. Например, имя пакета может быть как Microsoft.WindowsStore_2016.8.3.0_x86__8wekyb3d8bbwe , ИМЯ исполняемого файла может быть C: Program……
Если вы получаете эту ошибку, необходимо проверить запись журнала для этого процесса, с помощью просмотра событий, который расскажет вам о причинах ошибки. В целом, следует отметить , что эта ошибка проявляется, если владелец ключа реестра в пакете приложения по какой то причине изменен. Если вернуть владелеца ключа реестра по умолчанию Система, то мы можем легко избежать проблему.
Как исправить — Сбой развертывания с HRESULT: 0x80073CF6, Не удалось зарегистрировать пакет. Merge Failure: ошибка: 0x80070003: не удается зарегистрировать пакет Microsoft.
1. Нажмите Win + R и введите Regedit в диалоговом окне Выполнить, чтобы открыть редактор реестра. Нажмите кнопку ОК.
2. Перейдите в следующий раздел реестра:
HKEY_CURRENT_USER Software Classes Local Settings Software Microsoft Windows CurrentVersion AppModel Repository Packages
* Имя Пакета*
*
Имя пакета
, который вы получили с ошибкой, например — Microsoft.WindowsStore_2016.29.13.0_x86__8wekyb3d8bbwe.
3. Теперь с помощью правой кнопкой мыши кликнув на ключе реестра с именем пакета выберите в контекстном меню Разрешения… . Нажмите кнопку Дополнительно в окне свойств (см скриншот ниже).
4. Далее, в Дополнительных параметрах безопасности, необходимо проверить владельца ключа. Так как вы столкнулись с ошибкой, владелец может быть любой другой, кроме Системы. Таким образом , необходимо установить Система по умолчанию в качестве владельца. Нажмите на ссылку Изменить.
5. Затем нажмите кнопку Дополнительно и перейдите в окно Выбор Пользователь или Группа.
6. Двигаясь дальше, в показанном ниже окне нажмите кнопку Поиск. Затем прокрутите вниз результаты поиска и выберите СИСТЕМА . Нажмите кнопку ОК .
Теперь вы должны увидеть Система в окне Выбор Пользователь или Группа. Нажмите кнопку ОК .
7. И, наконец, вы установили Система в качестве владельца ключа реестра. Проверьте чекбоксы, опции — Заменить владельца на подконтейнеров и объектов и Заменить все записи разрешений дочернего объекта наследуемыми от этого объекта, должны быть включены.
Нажмите Применить затем ОК . Нажмите кнопку OK в окне свойств , а также. Закройте редактор реестра .
Теперь перезагрузите компьютер и попробуйте повторно зарегистрировать приложение.
Это работает!
I have a PC running windows 10 enterprise th2 build 1511/10586
The PC is joined to a domain. The issue occurs in a Domain User Account with Standard User permissions.
First — The photo app kept on crashing after about 5 seconds of being launched.
So i attempted to re-register the UWA’s on the PC using ….
Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)AppXManifest.xml”}
(Admin: Powershell)
This did not fix the issue … so i attempted to do a user re-registration.
Get-AppxPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)AppXManifest.xml”}
(User Level Powershell)
After this i had lost many application … Photos, store, video, maps, messenger had become all «Semi» registered. No Icons, and long packages names in the start menu — also none of them would launch.
so i tried the Admin registration again… this time receiving my error for the first time …. Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF6 …. Merge Failure : error 0x80070003 … etc for the 5 apps. The rest of the
UWA’s were unaffected.
At this point i followed -> http://www.howtogeek.com/224798/how-to-uninstall-windows-10s-built-in-apps-and-how-to-reinstall-them/ and attempted to reinstalled the apps.
This did not work either. Photo apps didn’t even seem to be found by the Remove-AppxPackage …
Then i tried…
Get-AppxPackage *photos* | Add-AppxPackage
This appeared to work but did not change anything.
I also tried to login with my username (domain administrator) and theses apps all worked (however the name was not correct). I then performed an all user registration again from admin Powershell, which fixed my profiles app names but did nothing
to the other user account.
Doing research this issue has been around for a long time. How do i completely remove these applications, sideload the store app and then proceed to reinstall them like they never existed as i would do with a win32? or alternatively what other ways
is there to repair a users installation of these applications?
When are we going to get a stable fix for this issue as well… since this isn’t the first time i have seen it and has existed since early betas.
- Remove From My Forums
-
Question
-
I am Using VS 2015 community version for UWP development.
I need help urgently.
I did the following to create Package for sideload for Win10 -PC.
1.Right-click the project and choose Store->Create App Packages
2. Select No to build packages to Upload to Win store
3. At Select and Configure Packages
use all the default settings
and select x86 and x64 ( Release (x86) & x64)
4. Goto the folder where the AppPackages is stored.
5. Copy it and place it in another folder
6. Right click the Add-AppDevPackage and select run with PowerShell
result : it can not be installed.
Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF9, Install failed. Please contact your software vendor.
Can not find the App to uninstalled.
I did follow this instruction:
The following list provides requirements for sideloading your app.
•You must enable your device for development.What seems to be the problem?
Please help
-
Edited by
Thursday, September 8, 2016 2:22 PM
-
Moved by
Jayden Gu
Friday, September 9, 2016 9:54 AM
relate to Submitting and Publishing Apps
-
Edited by
Answers
-
Hi FireDance,
Please check AppxDeployment-Server event log for more info. You could follow the steps below to access the packaging and deployment event log:
• Run eventvwr.msc
• Enter Event Viewer(Local) > Applications and Services Logs > Microsoft > Windows
• The first log to check is AppxPackagingOM > Microsoft-Windows-AppxPackaging/Operational.
• Deployment-related errors are recorded in AppXDeployment-Server
> Microsoft-Windows-AppXDeploymentServer/Operational.
Also, you could try following command in Powershell to get the first few logged events.
Get-Appxlog | Out-GridView
And a similar thread here
you may also refer to this solution.
For more info, see Troubleshooting packaging, deployment, and query of Windows Store apps.
Best Regards!
Mattew Wu
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.-
Proposed as answer by
Mattew Wu
Monday, September 19, 2016 8:39 AM -
Marked as answer by
Mattew Wu
Tuesday, September 20, 2016 5:46 AM
-
Proposed as answer by
-
Hi FireDance,
>When do I login what account?
I give this solution because I think it might have something to do with account permission. Thisthread on SO forum fixed the problem in this way although I don’t know if it works in your case.
> Can you give me the instruction to follow to create App Package for used by Company.
There is no special App Package for company, you have selected NO to generate your package for sideloading and the steps are correct.
You could refer to Sideload LOB apps in Windows 10
, which gives the right requirements and steps for sideloading apps on PC.
However, if you still cannot resolve the problem, I would like to advise you remove the package folder and rebuild a new one with Visual Studio. And sideload it by using Deployment Image Servicing and Management (DISM).
Please refer to this: Sideload Apps with DISM.
Best Regards!
Mattew Wu
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.-
Proposed as answer by
Mattew Wu
Monday, September 19, 2016 8:39 AM -
Marked as answer by
Mattew Wu
Tuesday, September 20, 2016 5:46 AM
-
Proposed as answer by
On a Windows 10 based the ‘Windows Shell Experience Host’ app, cannot be re-installed (re-registered) by using the «Add-AppxPackage» PowerShell command, with error: «Microsoft.Windows.ShellExperienceHost Deployment failed with HRESULT 0x80073D02. The package could not be installed because resources it modifies are currently in use» (Event ID 401, 404, 419).
The deployment error 0x80073D02 can appear, when you try to re-register all the Windows 10 built-in apps* or, when you try to register only the «Windows Shell Experience Host» app**:
* To register (reinstall) all the built-in apps at the current user:
- Get-AppxPackage | Foreach {Add-AppxPackage -register «$($_.InstallLocation)appxmanifest.xml» -DisableDevelopmentMode}
** To re-register only the ‘Windows Shell Experience Host’ app at the current user:
- Get-AppxPackage Microsoft.Windows.ShellExperienceHost | Foreach{Add-AppxPackage -DisableDevelopmentMode -Register «$($_.InstallLocation)AppXManifest.xml»}
This tutorial contains instructions to fix the following errors in PowerShell and Event Viewer, after executing the «Add-AppxPackage» command, to register the ‘Windows Shell Experience Host’ App, in Windows 10:
Windows.ShellExperienceHost PowerShell Error 0x80073D02 :
- «Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it modifies are currently in use.
error 0x80073D02: Unable to install because the following apps need to be closed
Microsoft.Windows.ShellExperienceHost_10.0.17134.112_neutral_neutral_cw5n1h2txyewy.
Windows.ShellExperienceHost Event Viewer Errors 0x80073D02:
(Applications and Services LogsMicrosoftWindowsAppXDeploymentServerMicrosoft-Windows-AppXDeploymentServer/Operational):
- Event ID 419: error 0x80073D02: Unable to install because the following apps need to be closed Microsoft.Windows.ShellExperienceHost_10.0.17134.112_neutral_neutral_cw5n1h2txyewy.
- Event ID 401: Deployment Register operation with target volume C: on Package Microsoft.Windows.ShellExperienceHost_10.0.17134.112_neutral_neutral_cw5n1h2txyewy from: (AppXManifest.xml) failed with error 0x80073D02. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
- Event ID 404: AppX Deployment operation failed for package Microsoft.Windows.ShellExperienceHost_10.0.17134.112_neutral_neutral_cw5n1h2txyewy with error 0x80073D02. The specific error text for this failure is: error 0x80073D02: Unable to install because the following apps need to be closed Microsoft.Windows.ShellExperienceHost_10.0.17134.112_neutral_neutral_cw5n1h2txyewy.
How to Fix: Microsoft.Windows.ShellExperienceHost Deployment Failed with Error: 0x80073D02
The error «Microsoft.Windows.ShellExperienceHost Deployment failed with HRESULT: 0x80073D02» appears, because the Windows Shell Experience Host app is running at the time of executing the «Add-AppxPackage» command.
So, the only way to bypass the error «0x80073D02», is to close the ‘Windows Shell Experience Host’ app, by using the task manager and then to immediately run the «Add-AppxPackage» command. To do that:
1. Open PowerShell as Administrator and copy/paste the below «Get-AppXPackage» command, to re-install the ‘Windows Shell Experience Host’ app, but DO NOT press Enter yet.
- Get-AppxPackage Microsoft.Windows.ShellExperienceHost | Foreach{Add-AppxPackage -DisableDevelopmentMode -Register «$($_.InstallLocation)AppXManifest.xml»}
2. Then press Ctrl+ALT+DEL and open Task Manager.
3. (Now you have to be fast …)…
1. At the Processes tab, right-click at Windows Shell Experience Host and click End Task.
2. Then, click immediately at the PowerShell window and press Enter.
4. Normally now, the ‘Windows Shell Experience Host’ will be reinstalled without an error.
That’s it! Let me know if this guide has helped you by leaving your comment about your experience. Please like and share this guide to help others.
If this article was useful for you, please consider supporting us by making a donation. Even $1 can a make a huge difference for us in our effort to continue to help others while keeping this site free:
If you want to stay constantly protected from malware threats, existing and future ones, we recommend that you install Malwarebytes Anti-Malware PRO by clicking below (we
do earn a commision from sales generated from this link, but at no additional cost to you. We have experience with this software and we recommend it because it is helpful and useful):
Full household PC Protection — Protect up to 3 PCs with NEW Malwarebytes Anti-Malware Premium!
Содержание
- Удаление встроенных приложений Windows 10 после неудачной команды Get-AppXPackage
- Cannot install WSL using PowerShell Add-AppxPackage #4865
- Comments
- long-nguyenxuan commented Feb 2, 2020 •
- Windows build number:
- What you’re doing and what’s happening:
- What’s wrong / what should be happening instead:
- DHowett-MSFT commented Feb 2, 2020
- long-nguyenxuan commented Feb 2, 2020
- Add-Appx Package
- Syntax
- Description
- Examples
- Example 1: Add an app package
- Example 2: Update an app, but defer registration until the app has closed
- Example 3: Add a disabled app package in development mode
- Example 4: Add an app along with its optional packages
- Example 5: Install only the required section of a streaming app
- Parameters
- Troubleshooting packaging, deployment, and query of Windows apps
- Get diagnostic information
- Common error codes
- Applications don’t start and their names are dimmed
- Как переустановить приложение Магазина Майкрософт на Windows 10
- Как переустановить Магазин Майкрософт на Windows 10
Удаление встроенных приложений Windows 10 после неудачной команды Get-AppXPackage
Однажды у меня перестало открываться меню пуск (или что там вместо него в Windows 10). В интернете рекомендуют выполнить команду в открытой с правами администратора консоли powershell:
«Ну ладно, они все равно не нужны, удалю» — думаю я. Не тут-то было.
Выполняем, например:
Get-AppxPackage *messaging* | Remove-AppxPackage
И получаем портянку:
Remove-AppxPackage : Сбой развертывания с HRESULT: 0x80073CF6, Не удалось зарегистрировать пакет. Ошибка 0x80070003: не удалось прочесть манифест из расположения AppxManifest.xml. Сбой: Системе не удается найти указанный путь.
+ Get-AppxPackage *messaging* | Remove-AppxPackage
+
+ CategoryInfo : WriteError: (Microsoft.Messa. __8wekyb3d8bbwe:String) [Remove-AppxPackage], IOException
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand
Что же делать? Мусор в меню пуск, надо же убрать! Переустанавливать систему — варварство, все можно исправить руками. Смотрим лог, как рекомендуют в портянке (копируем команду, которая указана в «ПРИМЕЧАНИЕ» в эту же консоль):
Ошибка 0x80070002: не удалось прочесть манифест из расположения C:ProgramDataMicrosoftWindowsAppRepositoryMicrosoft.Messaging_1.10.22012.0_neutral_split.language-ru_8wekyb3d8bbwe.xml. Сбой: Не удается найти указанный файл.
Вот она то нас и интересует. Файл, указанный здесь, назовем «файлом 1».
Идем в папку C:ProgramDataMicrosoftWindows (Не буду рассказывать, как настроить показ скрытых папок)
А вот в папку AppRepository пускать не будет. Но это не проблема, идем в правую кнопку мыши над этой папкой — Свойства — Безопасность — Дополнительно. Там нам скорее всего скажут, что владельца определить не удалось — в любом случае жмем изменить владельца — Дополнительно — Поиск (это тот который между Столбцы и Стоп) — выбираем своего юзера — ОК — ОК — ОК.
Если и после этого не пускает, то там, где мы жали на «изменить», есть таблица «Элементы разрешений» — туда надо добавить своего юзера по такой же схеме, с правами Полный доступ. Менять права на всё вложенное не обязательно.
Теперь возвращаемся к «файлу 1». Его в этой папке не будет. Если он есть — этот мануал вам не подходит. Нет файла — сделаем! Я говорю это совершенно серьезно — создаем файл, который Windows ищет, ведь он же ищет его, чтобы удалить. Для этого открываем любой другой файл из этой папки (не дает — меняем ему владельца и/или права доступа), имя которого заканчивается на neutral_split.language-ru_какиетобуквы.xml, берем все содержимое, создаем новый файл, вставляем его туда и меняем пару мест. В моем случае подвернулся файл Microsoft.WindowsCamera_2016.128.10.0_neutral_split.language-ru_8wekyb3d8bbwe.xml с содержимым:
Видите Name=«Microsoft.WindowsCamera»? Вот его надо заменить на Name=«Microsoft.Messaging», или что вы там удаляете. Видите Version=«2016.128.10.0»? Меняем значение на 1.10.22012.0 (оно в имени «файла 1»).
Сохраняем с именем «файла 1» в этой самой папке. Я вообще жал правой кнопкой создать текстовый файл и переименовывал его вместе с тхт расширением, а потом вставлял код.
Ок! Теперь снова выполняем команду на удаление. Снова получаем портянку:
+ CategoryInfo : WriteError: (Microsoft.Messa. __8wekyb3d8bbwe:String) [Remove-AppxPackage], IOException
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand
И спрашиваем: «Автор, ты зачем нас заставлял делать столько всего, ничего ж не работает?»
Я вот тоже сначала расстроился. Но логи придумали очень умные люди. Поэтому открываем логи (опять-таки строка из примечания).
Ошибка 0x80070002: не удалось прочесть манифест из расположения C:ProgramDataMicrosoftWindowsAppRepositoryMicrosoft.Messaging_1.10.22012.0_neutral_split.scale-150_8wekyb3d8bbwe.xml. Сбой: Не удается найти указанный файл.
Файл другой! Microsoft.Messaging_1.10.22012.0_neutral_split.scale-150_8wekyb3d8bbwe.xml. Знаете, что надо делать? Правильно, пойдем в злополучную папку и создадим! Дальше ищем похожий существующий, в моем случае это был Microsoft.WindowsStore_2015.7.1.0_neutral_split.scale-125_8wekyb3d8bbwe.xml.
Вот тут уже меняем не только имя и версию, но и цифру у scale. Хотя я не уверен, что оно надо, но я менял 125 на 150. И, в который раз, PS C:WINDOWSsystem32> Get-AppxPackage *messaging* | Remove-AppxPackage. А ответ: PS C:WINDOWSsystem32>
Все, нету ошибок! И в меню пуск теперь:
Видите? Нету Messaging, People первая строчка.
В заключение хочу сказать, что такие манипуляции придется проделать со ВСЕМ списком мусора из раздела «Другое». Зато его не будет. Не будет настолько, что, возможно, даже вернуть не получится.
Источник
Cannot install WSL using PowerShell Add-AppxPackage #4865
Windows build number:
Microsoft Windows [Version 10.0.18363.592]
What you’re doing and what’s happening:
What’s wrong / what should be happening instead:
No distro got installed
No shortcut showed up in startmenu
Cannot access to Microsoft Store (err msg: internal problem, maybe my company network)
Should be happening:
Ubuntu should be installed on my system.
The text was updated successfully, but these errors were encountered:
From the documentation you linked:
Once your distro is installed please refer to the Initialization Steps page to initialize your new distro.
That link explains what you need to do next.
From the documentation you linked:
Once your distro is installed please refer to the Initialization Steps page to initialize your new distro.
That link explains what you need to do next.
Thanks, sorry I did not note that there is no shortcut in the Start Menu nor the Microsoft Store at all.
I’ve renamed appx file to zip, unzip and double click on ubuntu1804.exe, now my wsl works.
But I think it could be better if inatall-process could open the first-time-launch-console automatically.
Источник
Add-Appx Package
Adds a signed app package to a user account.
Syntax
Description
You can use the Register parameter to install from a folder of unpackaged files during development of Windows® Store apps.
To update an already installed package, the new package must have the same package family name.
Examples
Example 1: Add an app package
This command adds an app package that the package contains.
Example 2: Update an app, but defer registration until the app has closed
This command will register an update to an existing app, but will not do so until the next launch of the app.
Example 3: Add a disabled app package in development mode
This command gets the full path of the package manifest file of an installed Windows Store app, and then registers that package. You can use DisableDevelopmentMode to register an application that is staged by the StagePackageAsync API, has been disabled, or has become corrupted during testing.
Example 4: Add an app along with its optional packages
This command adds an app package along with its optional packages. It is an atomic operation which means that if the app or its optional packages fail to install, the deployment operation will be aborted
Example 5: Install only the required section of a streaming app
This command adds an app package but only installs the required section of a streaming app. Calling this command again without the RequiredContentGroupOnly flag proceeds to install the rest of the application in the order defined by the AppxContentGroupMap.xml
Parameters
Runs an appinstaller file and allows the user to install all of the defined packages with a single click. For more information, see Create an App Installer file manually.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies that the app will not register for a user if currently in use. The app will update on the next launch.
Type: | SwitchParameter |
Position: | Named |
Default value: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the dependency package full name or dependency package bundle full name to be registered.
Type: | String [ ] |
Position: | Named |
Default value: | None |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Type: | String [ ] |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies an array of optional packages that must be installed along with the app package. It is an atomic operation which means that if the app or its optional packages fail to install, the deployment operation will be aborted
Type: | String [ ] |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Indicates that this cmdlet forces all active processes that are associated with the package or its dependencies to shut down. If you specify this parameter, do not specify the ForceTargetApplicationShutdown parameter.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Indicates that this cmdlet forces all active processes that are associated with the package to shut down. If you specify this parameter, do not specify the ForceApplicationShutdown parameter.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
This parameter is used to force a specific version of a package to be staged/registered, regardless of whether a higher version is already staged/registered.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Indicates that this cmdlet forces the deployment of all resource packages specified from a bundle argument. This overrides the resource applicability check of the deployment engine and forces staging of all resource packages, registration of all resource packages, or staging and registration of all resource packages. This parameter can only be used when specifying a resource bundle or resource bundle manifest.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
This parameter is used to prevent missing referenced packages to be downloaded.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the main package full name or bundle full name to register.
Type: | String |
Position: | Named |
Default value: | None |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Specifies the PackageFamilyName of the optional packages that are in a related set that need to be installed along with the app. Unlike the external packages flag, you do not need to pass in a path to the optional package(s). It is an atomic operation which means that if the app or its optional packages fail to install, the deployment operation will be aborted
Type: | String [ ] |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Type: | String |
Aliases: | PSPath |
Position: | 1 |
Default value: | None |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Indicates that this cmdlet registers an application in development mode. You can use development mode to install applications from a folder of unpackaged files. You can use the current parameter to test your Windows® Store apps before you deploy them as app packages. To register an existing app package installation, you must specify the DisableDevelopmentMode parameter and the Register parameter. In order to specify dependency packages, specify the DependencyPath parameter and the DisableDevelopmentMode parameter.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
This is an optional element that is used to specify the other optional packages that are specified in the main app package. These packages will not be installed as part of the deployment operation.
Type: | String [ ] |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies that only the required content group that is specified in the AppxContentGroupMap.xml must be installed. At this point the app can be launched. Calling add-appxpackage specifying the path to the app, triggers the rest of the app to be installed in the order defined in the AppxContentGroupMap.xml.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Stages a package to the system without registering it.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies that the package being added is a dependency package update. A dependency package is removed from the user account when the parent app is removed. If you do not use this parameter, the package being added is a primary package and is not removed from the user account if the parent app is removed. To update an already installed package, the new package must have the same package family name.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the AppxVolume object to which to stage the package. The volume also specifies the default location for user AppData.
Type: | AppxVolume |
Position: | Named |
Default value: | None |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Источник
Troubleshooting packaging, deployment, and query of Windows apps
Use these suggestions to troubleshoot problems you experience when packaging, deploying, or querying a Windows app package (.msix/.appx) as a developer.
This article is intended for developers. If you are not a developer and you are looking for help with a Windows app installation error, see Windows support.
Get diagnostic information
When an API fails, it returns an error code that describes the problem. If the error code doesn’t provide enough information, you find more diagnostic information in the detailed event logs.
To access the packaging and deployment event logs by using Event Viewer, follow these steps:
Perform one of the following steps:
In the left page, expand Event Viewer (Local) > Applications and Services Logs > Microsoft > Windows.
Check for available logs under these categories:
Start by looking at the logs under AppXDeployment-Server. If the error was caused by 0x80073CF0 or ERROR_INSTALL_OPEN_PACKAGE_FAILED, additional details may be present in the AppxpackagingOM logs.
You can also use the Get-AppxLog command in PowerShell to get the first few logged events. The following example displays the logs associated with the most recent deployment operation.
The following example displays the logs associated with the most recent deployment operation in an interactive table in a separate window.
Common error codes
This table lists some of the most common error codes. If you need further help with one of these errors, or if you’re encountering an error code not in this list, see additional help options.
Applications don’t start and their names are dimmed
On a computer running Windows 10 or later, you can’t start some applications, and the application names appear dimmed.
When you try to open an application by selecting the dimmed name, you may receive one of the following error messages:
Additionally, the following event entries are logged in the «Microsoft-Windows-TWinUI/Operational» log under Applications and ServicesMicrosoftWindowsApps:
Источник
Как переустановить приложение Магазина Майкрософт на Windows 10
В какой момент у вас может возникнуть желание переустановить приложение Магазина Майкрософт в своей Windows 10. Как знать, может вы случайно удалили данное приложение или, например, в систему проник какой-то специфический вирус-вредитель, который вылезал магазин из Windows с корнями.
Стоит отметить, что у приложения Магазина Майкрософт нет опции переустановки. Подобная задача выполняется исключительно посредством PowerShell, запущенной от имени администратора. Некоторые пользователи предпочитают избегать командной строки, потому что бояться навредить своей системе. Тем не менее пользоваться консолью очень удобно и просто, если знать конкретные команды.
Сейчас мы покажем вам, как переустановить Магазин Майкрософт с помощью PowerShell всего за несколько минут. Следуйте указаниям и все будет нормально.
Как переустановить Магазин Майкрософт на Windows 10
Итак, стоит сразу попросить вас, чтобы вы не отходили от тех шагов, которые указаны ниже. Не пытайтесь вводить команды наугад, потому что это хоть и маловероятно, но все-таки может повлиять на работу операционной системы. Вот что вам нужно сделать:
Некоторые пользователи, выполнившие вышеуказанную команду, натыкаются на следующие ошибки:
Подобные ошибки возникают из-за отсутствия либо нарушения работы установщика пакетов Microsoft Store AppX. Если вы столкнулись с одной из подобных ошибок, то вам нужно установить этот установщик. К сожалению, с официального сайта Майкрософт это сделать невозможно. Тем не менее существует ряд сайтов, где его можно найти. Вот один из них:
Зайдите на этот сайт и введите в поисковую строку следующую ссылку:
Обратите внимание на строки Dependencies и Status. В первой указаны как раз те библиотеки, на которые полагается Магазин Майкрософт и которые вы ранее устанавливали вручную (↑). Во второй будет указано, нормально ли функционирует приложение магазина. Если в статусе указано «Ok», то поздравляем с успешно проведенной переустановкой. Откройте Магазин Майкрософт и продолжайте им спокойно пользоваться.
Источник
На чтение 8 мин Просмотров 1.8к.
Иногда может произойти что современные приложения Windows 10 не работают так как хотелось бы. Один из вариантов Перерегистрировать это приложение. И даже перерегистрируя его вы можете потерпеть неудачу из – за различных причин. Когда процесс завершается неудачно, вы получаете детальное сообщения об ошибке, красным цветом .
Add-AppxPackage : Сбой развертывания с HRESULT: 0x80073CF6, Не удалось зарегист
рировать пакет.
Merge Failure: ошибка: 0x80070003: не удается зарегистрировать пакет Microsoft.
WindowsStore_2015.23.23.0_x64__8wekyb3d8bbwe ( имя пакета * ) так как произошел сбой объединени
я следующего файла: C:Program FilesWindowsAppsMicrosoft.WindowsStore_2016.23 (* Имя исполняемого файла )
.23.0_neutral_split.language-ru_8wekyb3d8bbwe
esources.pri
* Имя пакета и Имя исполняемого файла может изменятся в зависимости от приложения. Например, имя пакета может быть как Microsoft.WindowsStore_2016.8.3.0_x86__8wekyb3d8bbwe , ИМЯ исполняемого файла может быть C: Program….
Если вы получаете эту ошибку, необходимо проверить запись журнала для этого процесса, с помощью просмотра событий, который расскажет вам о причинах ошибки. В целом, следует отметить , что эта ошибка проявляется, если владелец ключа реестра в пакете приложения по какой то причине изменен. Если вернуть владелеца ключа реестра по умолчанию Система, то мы можем легко избежать проблему.
Как исправить – Сбой развертывания с HRESULT: 0x80073CF6, Не удалось зарегистрировать пакет. Merge Failure: ошибка: 0x80070003: не удается зарегистрировать пакет Microsoft.
1. Нажмите Win + R и введите Regedit в диалоговом окне Выполнить, чтобы открыть редактор реестра. Нажмите кнопку ОК.
2. Перейдите в следующий раздел реестра:
HKEY_CURRENT_USER Software Classes Local Settings Software Microsoft Windows CurrentVersion AppModel Repository Packages * Имя Пакета*
* Имя пакета , который вы получили с ошибкой, например — Microsoft.WindowsStore_2016.29.13.0_x86__8wekyb3d8bbwe.
3. Теперь с помощью правой кнопкой мыши кликнув на ключе реестра с именем пакета выберите в контекстном меню Разрешения. . Нажмите кнопку Дополнительно в окне свойств (см скриншот ниже).
4. Далее, в Дополнительных параметрах безопасности, необходимо проверить владельца ключа. Так как вы столкнулись с ошибкой, владелец может быть любой другой, кроме Системы. Таким образом , необходимо установить Система по умолчанию в качестве владельца. Нажмите на ссылку Изменить.
5. Затем нажмите кнопку Дополнительно и перейдите в окно Выбор Пользователь или Группа.
6. Двигаясь дальше, в показанном ниже окне нажмите кнопку Поиск. Затем прокрутите вниз результаты поиска и выберите СИСТЕМА . Нажмите кнопку ОК .
Теперь вы должны увидеть Система в окне Выбор Пользователь или Группа. Нажмите кнопку ОК .
7. И, наконец, вы установили Система в качестве владельца ключа реестра. Проверьте чекбоксы, опции – Заменить владельца на подконтейнеров и объектов и Заменить все записи разрешений дочернего объекта наследуемыми от этого объекта, должны быть включены.
Нажмите Применить затем ОК . Нажмите кнопку OK в окне свойств , а также. Закройте редактор реестра .
Теперь перезагрузите компьютер и попробуйте повторно зарегистрировать приложение.
Однажды у меня перестало открываться меню пуск (или что там вместо него в Windows 10). В интернете рекомендуют выполнить команду в открытой с правами администратора консоли powershell:
Get-AppXPackage -AllUsers | Foreach
Однако, как оказалось впоследствии, после одного из обновлений (ноябрьского — ?), выполнив такую команду можно добиться открытия меню обратно, но вот неприятность — все эти приложения приобретают следующий вид:
«Ну ладно, они все равно не нужны, удалю» — думаю я. Не тут-то было.
Выполняем, например:
Get-AppxPackage *messaging* | Remove-AppxPackage
И получаем портянку:
Remove-AppxPackage : Сбой развертывания с HRESULT: 0x80073CF6, Не удалось зарегистрировать пакет. Ошибка 0x80070003: не удалось прочесть манифест из расположения AppxManifest.xml. Сбой: Системе не удается найти указанный путь.
ПРИМЕЧАНИЕ. Чтобы получить дополнительные сведения, найдите [ActivityId] 24a44cdb-6261-0001-eabb-a4246162d101 в журнале событий или введите в командной строке Get-AppxLog -ActivityID 24a44cdb-6261-0001-eabb-a4246162d101.
строка 1 знак 31:
+ Get-AppxPackage *messaging* | Remove-AppxPackage
+
+ CategoryInfo : WriteError: (Microsoft.Messa. __8wekyb3d8bbwe:String) [Remove-AppxPackage], IOException
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand
Что же делать? Мусор в меню пуск, надо же убрать! Переустанавливать систему — варварство, все можно исправить руками. Смотрим лог, как рекомендуют в портянке (копируем команду, которая указана в «ПРИМЕЧАНИЕ» в эту же консоль):
Get-AppxLog -ActivityID 24a44cdb-6261-0001-eabb-a4246162d101
Помимо всего прочего в ответе будет строка такого вида:
Ошибка 0x80070002: не удалось прочесть манифест из расположения C:ProgramDataMicrosoftWindowsAppRepositoryMicrosoft.Messaging_1.10.22012.0_neutral_split.language-ru_8wekyb3d8bbwe.xml. Сбой: Не удается найти указанный файл.
Вот она то нас и интересует. Файл, указанный здесь, назовем «файлом 1».
Идем в папку C:ProgramDataMicrosoftWindows (Не буду рассказывать, как настроить показ скрытых папок)
А вот в папку AppRepository пускать не будет. Но это не проблема, идем в правую кнопку мыши над этой папкой — Свойства — Безопасность — Дополнительно. Там нам скорее всего скажут, что владельца определить не удалось — в любом случае жмем изменить владельца — Дополнительно — Поиск (это тот который между Столбцы и Стоп) — выбираем своего юзера — ОК — ОК — ОК.
Если и после этого не пускает, то там, где мы жали на «изменить», есть таблица «Элементы разрешений» — туда надо добавить своего юзера по такой же схеме, с правами Полный доступ. Менять права на всё вложенное не обязательно.
Теперь возвращаемся к «файлу 1». Его в этой папке не будет. Если он есть — этот мануал вам не подходит. Нет файла — сделаем! Я говорю это совершенно серьезно — создаем файл, который Windows ищет, ведь он же ищет его, чтобы удалить. Для этого открываем любой другой файл из этой папки (не дает — меняем ему владельца и/или права доступа), имя которого заканчивается на neutral_split.language-ru_какиетобуквы.xml, берем все содержимое, создаем новый файл, вставляем его туда и меняем пару мест. В моем случае подвернулся файл Microsoft.WindowsCamera_2016.128.10.0_neutral_split.language-ru_8wekyb3d8bbwe.xml с содержимым:
Видите Name=«Microsoft.WindowsCamera»? Вот его надо заменить на Name=«Microsoft.Messaging», или что вы там удаляете. Видите Version=«2016.128.10.0»? Меняем значение на 1.10.22012.0 (оно в имени «файла 1»).
Сохраняем с именем «файла 1» в этой самой папке. Я вообще жал правой кнопкой создать текстовый файл и переименовывал его вместе с тхт расширением, а потом вставлял код.
Ок! Теперь снова выполняем команду на удаление. Снова получаем портянку:
Remove-AppxPackage : Сбой развертывания с HRESULT: 0x80073CF6, Не удалось зарегистрировать пакет.
Ошибка 0x80070003: не удалось прочесть манифест из расположения AppxManifest.xml. Сбой: Системе не удается найти указанный путь.
.
ПРИМЕЧАНИЕ. Чтобы получить дополнительные сведения, найдите [ActivityId] 24a44cdb-6261-0001-1ec1-a4246162d101 в журнале событий или введите в командной строке Get-AppxLog -ActivityID 24a44cdb-6261-0001-1ec1-a4246162d101.
строка:1 знак:31
+ Get-AppxPackage *messaging* | Remove-AppxPackage
+
+ CategoryInfo : WriteError: (Microsoft.Messa. __8wekyb3d8bbwe:String) [Remove-AppxPackage], IOException
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand
И спрашиваем: «Автор, ты зачем нас заставлял делать столько всего, ничего ж не работает?»
Я вот тоже сначала расстроился. Но логи придумали очень умные люди. Поэтому открываем логи (опять-таки строка из примечания).
Ошибка 0x80070002: не удалось прочесть манифест из расположения C:ProgramDataMicrosoftWindowsAppRepositoryMicrosoft.Messaging_1.10.22012.0_neutral_split.scale-150_8wekyb3d8bbwe.xml. Сбой: Не удается найти указанный файл.
Файл другой! Microsoft.Messaging_1.10.22012.0_neutral_split.scale-150_8wekyb3d8bbwe.xml. Знаете, что надо делать? Правильно, пойдем в злополучную папку и создадим! Дальше ищем похожий существующий, в моем случае это был Microsoft.WindowsStore_2015.7.1.0_neutral_split.scale-125_8wekyb3d8bbwe.xml.
Вот тут уже меняем не только имя и версию, но и цифру у scale. Хотя я не уверен, что оно надо, но я менял 125 на 150. И, в который раз, PS C:WINDOWSsystem32> Get-AppxPackage *messaging* | Remove-AppxPackage. А ответ: PS C:WINDOWSsystem32>
Все, нету ошибок! И в меню пуск теперь:
Видите? Нету Messaging, People первая строчка.
В заключение хочу сказать, что такие манипуляции придется проделать со ВСЕМ списком мусора из раздела «Другое». Зато его не будет. Не будет настолько, что, возможно, даже вернуть не получится.
Сбой развертывания с HRESULT: 0x80073CFD, Не удалось выполнить необходимое условие для установки.
Произошел сбой операции развертывания Зарегистрировать с конечным томом С: для пакета Microsoft.QuantumBreak_l.5.0.0_хб
4__8wekyb3d8bbwe из (AppxManifest.xml) . Ошибка: 0x80073CFD.
Для получения справки по диагностике проблем с развертыва
нием приложений см. страницу http://go.microsoft.com/fwlink/?Linkld=235160.
ПРИМЕЧАНИЕ. Чтобы получить дополнительные сведения, найдите [Activityld] 726f99d3-936c-0006-e69e-6f726c93dl01 в журнале событий или введите в командной строке Get-AppxLog -ActivitylD 726f99d3-936c-0006-e69e-6f726c93dl01. строка:1 знак:1
+ Add-AppxPackage -Register AppxManifest.xml
+ Categorylnfo : NotSpecified: (D:GamesMicros…ppxManifest.xml:String) [Add-AppxPackage], Exception
+ FullyQualifiedErrorld : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
Проблема в том что у вас Windows 10 старого построения, в данном случае – 240 билд, самый сука первый. Сейчас в ходу уже 586-ый билд. Попробуйте обновить Windows 10 до этого билда, придется переустановить Windows 10. На свежий билд естественно.
I am using the following command in PowerShell to install Truffle’s Ganache on my Windows 10 machine:
Add-AppxPackage -Path "C:UsersmabelDownloadsGanache.appx"
Whenever I run that command I get the following error:
Add-AppxPackage : Deployment failed with HRESULT: 0x80073CFD, A Prerequisite for an install could not be satisfied.
Deployment Add operation with target volume C: on Package Ganache_1.0.1.0_x64__zh355ej5cj694 from: (Ganache.appx)
failed with error 0x80073CFD. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment
issues.
NOTE: For additional information, look for [ActivityId] 1e4d6f55-8379-0000-3191-4d1e7983d301 in the Event Log or use
the command line Get-AppxLog -ActivityID 1e4d6f55-8379-0000-3191-4d1e7983d301
At line:1 char:1
+ Add-AppxPackage -Path "C:UsersmabelDownloadsGanache.appx"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (C:UsersmabelDownloadsGanache.appx:String) [Add-AppxPackage], Exceptio
n
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
I digged a bit deeper for a diagnosis and ran the command Get-AppxLog -ActivityID 1e4d6f55-8379-0000-3191-4d1e7983d301, and got the following log details:
Time ID Message
---- -- -------
1/1/2018 8:13:38 PM 301 The calling process is powershell.exe
1/1/2018 8:13:38 PM 603 Started deployment Add operation on a package with main parameter: Ganache.appx and
Options: 0. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app
deployment issues.
1/1/2018 8:13:41 PM 157 The app package signature was validated for core content of the app package published
by CN=Consensys Inc, O=Consensys Inc, L=New York, S=New York, C=US. Payload won't be
validated until the files are read.
1/1/2018 8:13:42 PM 170 The streaming reader was created successfully for app package
Ganache_1.0.1.0_x64__zh355ej5cj694.
1/1/2018 8:13:42 PM 10002 Creating Resiliency File C:ProgramDataMicrosoftWindowsAppRepositoryedc8d325-87ef-
46b9-93c2-cf029ff3f8f4_S-1-5-21-2104190792-3376611798-3824734217-1001_1.rslc for Add
Operation on Package Ganache_1.0.1.0_x64__zh355ej5cj694.
1/1/2018 8:13:42 PM 607 Deployment Add operation on package Ganache_1.0.1.0_x64__zh355ej5cj694 has been
de-queued and is running for user DESKTOP-8NHB92Dmabel.
1/1/2018 8:13:42 PM 613 Adding uri to the list of Uris: file:///C:/Users/mabel/Downloads/Ganache.appx.
1/1/2018 8:13:42 PM 605 The last successful state reached was BundleProcessed. Failure occurred before
reaching the next state Indexed.
1/1/2018 8:13:42 PM 401 Deployment Add operation with target volume C: on Package
Ganache_1.0.1.0_x64__zh355ej5cj694 from: (Ganache.appx) failed with error
0x80073CFD. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app
deployment issues.
1/1/2018 8:13:42 PM 404 AppX Deployment operation failed for package Ganache_1.0.1.0_x64__zh355ej5cj694 with
error 0x80073CFD. The specific error text for this failure is: Deployment Add
operation with target volume C: on Package Ganache_1.0.1.0_x64__zh355ej5cj694 from:
(Ganache.appx) failed with error 0x80073CFD. See
http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment
issues.
The windows forum recommended me to make sure Windows is fully updated, the last time I updated it was an hour ago.
From the link in the error it says «A specified install prerequisite couldn’t be satisfied.» I have all the prerequisites to install and run testrpc/ganache cmd line. Are there any steps I need to take before installing Ganache UI?