Unable to install msix packagin tool driver . Failing with error code 0x80131500

%3CLINGO-SUB%20id%3D%22lingo-sub-1667305%22%20slang%3D%22en-US%22%3EUnable%20to%20install%20msix%20packagin%20tool%20driver%20.%20Failing%20with%20error%20code%200x80131500%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1667305%22%20slang%3D%22en-US%22%3E%3CP%3EMy%20MSIX%20package%20is%20getting%20failed%20while%20installing%20MSIX%20packaging%20tool%20driver.%20Below%20is%20the%20log%20file.%20could%20you%20please%20help%20on%20the%20same%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%5B09%2F15%2F20%2011%3A49%3A46%5D%20%5BInfo%5D%20Microsoft%20(R)%20MsixPackagingTool%20Tool%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A46%5D%20%5BInfo%5D%20Copyright%20(C)%202020%20Microsoft.%20All%20rights%20reserved.%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A46%5D%20%5BInfo%5D%20************************************************************%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A46%5D%20%5BInfo%5D%20MSIX%20Packaging%20Tool%20Launch%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A46%5D%20%5BInfo%5D%20************************************************************%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A46%5D%20%5BInfo%5D%20Log%20file%20is%20located%20under%3A%20%25UserProfile%25%5CAppData%5CLocal%5CPackages%5CMicrosoft.MsixPackagingTool_8wekyb3d8bbwe%5CLocalState%5CDiagOutputDir%5CLogs_1%5CLog.txt%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A46%5D%20%5BInfo%5D%20Tool%20Version%3A%201.2020.709.0%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A46%5D%20%5BInfo%5D%20Feedback%20logs%20are%20located%20under%3A%20%25UserProfile%25%5CAppData%5CLocal%5CPackages%5CMicrosoft.MsixPackagingTool_8wekyb3d8bbwe%5CLocalState%5CDiagOutputDir%5CFeedbackLogs%5CLogs_1%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A46%5D%20%5BDebug%5D%20Attempting%20to%20read%20settings%20file%3A%20%25UserProfile%25%5CAppData%5CLocal%5CPackages%5CMicrosoft.MsixPackagingTool_8wekyb3d8bbwe%5CLocalState%5Csettings.xml%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A46%5D%20%5BDebug%5D%20Updating%20the%20settings%20file%20from%20version%201.2020.709.0%20to%20a%20newer%20version.%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A49%5D%20%5BDebug%5D%20Opening%20MSIX%20Packaging%20Tool%20workflow.%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A49%5D%20%5BDebug%5D%20************************************************************%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A49%5D%20%5BDebug%5D%20ApplicationPackage%20Workflow%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A49%5D%20%5BDebug%5D%20************************************************************%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A49%5D%20%5BDebug%5D%20----------------Select%20Environment%20View----------------%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A50%5D%20%5BDebug%5D%20Hyper-V%20is%20enabled%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A53%5D%20%5BDebug%5D%20Selected%20execution%20environment%20type%3A%20PackagingMethodTypeLocal%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A53%5D%20%5BDebug%5D%20Spawning%20background%20worker%20thread.%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A53%5D%20%5BDebug%5D%20Setting%20up%20the%20execution%20environment%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A53%5D%20%5BDebug%5D%20Acquiring%20global%20semaphore%20for%20the%20local%20environment%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A53%5D%20%5BDebug%5D%20Semaphore%3A%20Global%5Ce257f147-c403-4997-8176-a6449f6f8c24%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A53%5D%20%5BDebug%5D%20Waiting%20for%20global%20semaphore%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A53%5D%20%5BDebug%5D%20----------------Prepare%20Computer%20View----------------%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A53%5D%20%5BDebug%5D%20Spawning%20background%20worker%20thread.%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A53%5D%20%5BDebug%5D%20Required%20prepare%20computer%20task%3A%20MSIX%20Packaging%20Tool%20Driver%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A53%5D%20%5BDebug%5D%20Recommended%20prepare%20computer%20task%3A%20Windows%20Search%20is%20active%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A53%5D%20%5BDebug%5D%20Recommended%20prepare%20computer%20task%3A%20Windows%20Update%20is%20active%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A53%5D%20%5BDebug%5D%20Recommended%20prepare%20computer%20task%3A%20SMS%20Host%20is%20active%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A53%5D%20%5BDebug%5D%20Recommended%20prepare%20computer%20task%3A%20Pending%20reboot%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A53%5D%20%5BDebug%5D%20Prepare%20computer%20populate%20tasks%20completed.%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A53%5D%20%5BDebug%5D%20Spawning%20background%20worker%20thread.%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A53%5D%20%5BDebug%5D%20Checking%20if%20MSIX%20Packaging%20Tool%20Driver%20is%20installed...%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A53%5D%20%5BDebug%5D%20About%20to%20start%20process%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A53%5D%20%5BDebug%5D%20-%20File%20name%3A%20dism.exe%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A49%3A53%5D%20%5BDebug%5D%20-%20Arguments%3A%20%2Fonline%20%2Fadd-capability%20%2Fcapabilityname%3AMsix.PackagingTool.Driver~~~~0.0.1.0%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A53%3A37%5D%20%5BDebug%5D%20Deployment%20Image%20Servicing%20and%20Management%20tool%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A53%3A37%5D%20%5BDebug%5D%20Version%3A%2010.0.18362.900%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A53%3A37%5D%20%5BDebug%5D%20Image%20Version%3A%2010.0.18363.1016%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A53%3A37%5D%20%5BDebug%5D%20%5B%3D%203.0%25%20%5D%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A53%3A37%5D%20%5BDebug%5D%20%5B%3D%3D%3D%205.9%25%20%5D%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A53%3A37%5D%20%5BDebug%5D%20%5B%3D%3D%3D%205.9%25%20%5D%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A53%3A37%5D%20%5BDebug%5D%20%5B%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D100.0%25%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%5D%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A53%3A37%5D%20%5BDebug%5D%20Error%3A%200x800f0954%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A53%3A37%5D%20%5BDebug%5D%20DISM%20failed.%20No%20operation%20was%20performed.%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A53%3A37%5D%20%5BDebug%5D%20For%20more%20information%2C%20review%20the%20log%20file.%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A53%3A37%5D%20%5BDebug%5D%20The%20DISM%20log%20file%20can%20be%20found%20at%20C%3A%5CWINDOWS%5CLogs%5CDISM%5Cdism.log%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A53%3A37%5D%20%5BError%5D%20dism.exe%20failed%2C%20exit%20code%20%3D%20-2146498220%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A53%3A37%5D%20%5BError%5D%20Driver%20installation%20failed.%20Please%20see%20%3CA%20href%3D%22http%3A%2F%2Faka.ms%2FDriverConsiderations%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Faka.ms%2FDriverConsiderations%3C%2FA%3E%20for%20help%20resolving%20this%20issue.%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A53%3A37%5D%20%5BError%5D%20Failed%20to%20install%20MSIX%20Packaging%20Tool%20Driver.%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A53%3A37%5D%20%5BDebug%5D%20Prepare%20computer%20populate%20tasks%20completed.%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A53%3A37%5D%20%5BDebug%5D%20Getting%20environment%20object%20from%20%25UserProfile%25%5CAppData%5CLocal%5CPackages%5CMicrosoft.MsixPackagingTool_8wekyb3d8bbwe%5CLocalState%5CMsixGenerator.ConversionState.xml%3CBR%20%2F%3E%5B09%2F15%2F20%2011%3A53%3A37%5D%20%5BError%5D%20Error%20Occurred%3A%20Microsoft.Packaging.SDKUtils.ProcessRunner.ProcessRunnerException%3A%20Process%20dism.exe%20failed%20with%20exit%20code%20-2146498220.%3CBR%20%2F%3Eat%20Microsoft.Packaging.SDKUtils.ProcessRunner.ProcessRunnerBase.ValidateExitCode(Int32%5B%5D%20validCodes)%3CBR%20%2F%3Eat%20MsixGenerator.LocalOrRemoteExecution.ExecutionSessions.PrepareComputerLocalOrRemoteSession.FODInstallation()%3CBR%20%2F%3Eat%20MsixPackagingTool.Model.ApplicationPackageWorkflow.PrepareComputerModel.FixRequiredPrepareComputerTasks(PrepareComputerTask%20taskToBeFixed)%3CBR%20%2F%3Eat%20MsixPackagingTool.ViewModel.ApplicationPackageWorkflow.PrepareComputerViewModel.PrepareComputerRunRequiredTasks_BackgroundWorker(Object%20sender%2C%20DoWorkEventArgs%20doWorkEventArgs)%3CBR%20%2F%3Eat%20System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs%20e)%3CBR%20%2F%3Eat%20System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object%20argument)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1674570%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20install%20msix%20packagin%20tool%20driver%20.%20Failing%20with%20error%20code%200x80131500%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1674570%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F642357%22%20target%3D%22_blank%22%3E%40Paddy1180%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20read%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FDriverConsiderations%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EMSIX%20Packaging%20Tool%20Known%20Issues%20and%20Troubleshooting%20Tips%3C%2FA%3E%26nbsp%3Bfor%20help%20installing%20the%20driver%2C%20including%20instructions%20to%20download%20and%20install%20it%20manually%20if%20you%20need%20to.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

My MSIX package is getting failed while installing MSIX packaging tool driver. Below is the log file. could you please help on the same

 

[09/15/20 11:49:46] [Info] Microsoft (R) MsixPackagingTool Tool
[09/15/20 11:49:46] [Info] Copyright (C) 2020 Microsoft. All rights reserved.
[09/15/20 11:49:46] [Info] ************************************************************
[09/15/20 11:49:46] [Info] MSIX Packaging Tool Launch
[09/15/20 11:49:46] [Info] ************************************************************
[09/15/20 11:49:46] [Info] Log file is located under: %UserProfile%\AppData\Local\Packages\Microsoft.MsixPackagingTool_8wekyb3d8bbwe\LocalState\DiagOutputDir\Logs_1\Log.txt
[09/15/20 11:49:46] [Info] Tool Version: 1.2020.709.0
[09/15/20 11:49:46] [Info] Feedback logs are located under: %UserProfile%\AppData\Local\Packages\Microsoft.MsixPackagingTool_8wekyb3d8bbwe\LocalState\DiagOutputDir\FeedbackLogs\Logs_1
[09/15/20 11:49:46] [Debug] Attempting to read settings file: %UserProfile%\AppData\Local\Packages\Microsoft.MsixPackagingTool_8wekyb3d8bbwe\LocalState\settings.xml
[09/15/20 11:49:46] [Debug] Updating the settings file from version 1.2020.709.0 to a newer version.
[09/15/20 11:49:49] [Debug] Opening MSIX Packaging Tool workflow.
[09/15/20 11:49:49] [Debug] ************************************************************
[09/15/20 11:49:49] [Debug] ApplicationPackage Workflow
[09/15/20 11:49:49] [Debug] ************************************************************
[09/15/20 11:49:49] [Debug] ----------------Select Environment View----------------
[09/15/20 11:49:50] [Debug] Hyper-V is enabled
[09/15/20 11:49:53] [Debug] Selected execution environment type: PackagingMethodTypeLocal
[09/15/20 11:49:53] [Debug] Spawning background worker thread.
[09/15/20 11:49:53] [Debug] Setting up the execution environment
[09/15/20 11:49:53] [Debug] Acquiring global semaphore for the local environment
[09/15/20 11:49:53] [Debug] Semaphore: Global\e257f147-c403-4997-8176-a6449f6f8c24
[09/15/20 11:49:53] [Debug] Waiting for global semaphore
[09/15/20 11:49:53] [Debug] ----------------Prepare Computer View----------------
[09/15/20 11:49:53] [Debug] Spawning background worker thread.
[09/15/20 11:49:53] [Debug] Required prepare computer task: MSIX Packaging Tool Driver
[09/15/20 11:49:53] [Debug] Recommended prepare computer task: Windows Search is active
[09/15/20 11:49:53] [Debug] Recommended prepare computer task: Windows Update is active
[09/15/20 11:49:53] [Debug] Recommended prepare computer task: SMS Host is active
[09/15/20 11:49:53] [Debug] Recommended prepare computer task: Pending reboot
[09/15/20 11:49:53] [Debug] Prepare computer populate tasks completed.
[09/15/20 11:49:53] [Debug] Spawning background worker thread.
[09/15/20 11:49:53] [Debug] Checking if MSIX Packaging Tool Driver is installed...
[09/15/20 11:49:53] [Debug] About to start process
[09/15/20 11:49:53] [Debug] - File name: dism.exe
[09/15/20 11:49:53] [Debug] - Arguments: /online /add-capability /capabilityname:Msix.PackagingTool.Driver~~~~0.0.1.0
[09/15/20 11:53:37] [Debug] Deployment Image Servicing and Management tool
[09/15/20 11:53:37] [Debug] Version: 10.0.18362.900
[09/15/20 11:53:37] [Debug] Image Version: 10.0.18363.1016
[09/15/20 11:53:37] [Debug] [= 3.0% ]
[09/15/20 11:53:37] [Debug] [=== 5.9% ]
[09/15/20 11:53:37] [Debug] [=== 5.9% ]
[09/15/20 11:53:37] [Debug] [==========================100.0%==========================]
[09/15/20 11:53:37] [Debug] Error: 0x800f0954
[09/15/20 11:53:37] [Debug] DISM failed. No operation was performed.
[09/15/20 11:53:37] [Debug] For more information, review the log file.
[09/15/20 11:53:37] [Debug] The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log
[09/15/20 11:53:37] [Error] dism.exe failed, exit code = -2146498220
[09/15/20 11:53:37] [Error] Driver installation failed. Please see http://aka.ms/DriverConsiderations for help resolving this issue.
[09/15/20 11:53:37] [Error] Failed to install MSIX Packaging Tool Driver.
[09/15/20 11:53:37] [Debug] Prepare computer populate tasks completed.
[09/15/20 11:53:37] [Debug] Getting environment object from %UserProfile%\AppData\Local\Packages\Microsoft.MsixPackagingTool_8wekyb3d8bbwe\LocalState\MsixGenerator.ConversionState.xml
[09/15/20 11:53:37] [Error] Error Occurred: Microsoft.Packaging.SDKUtils.ProcessRunner.ProcessRunnerException: Process dism.exe failed with exit code -2146498220.
at Microsoft.Packaging.SDKUtils.ProcessRunner.ProcessRunnerBase.ValidateExitCode(Int32[] validCodes)
at MsixGenerator.LocalOrRemoteExecution.ExecutionSessions.PrepareComputerLocalOrRemoteSession.FODInstallation()
at MsixPackagingTool.Model.ApplicationPackageWorkflow.PrepareComputerModel.FixRequiredPrepareComputerTasks(PrepareComputerTask taskToBeFixed)
at MsixPackagingTool.ViewModel.ApplicationPackageWorkflow.PrepareComputerViewModel.PrepareComputerRunRequiredTasks_BackgroundWorker(Object sender, DoWorkEventArgs doWorkEventArgs)
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

1 Reply

Hi @Paddy1180 

You can read MSIX Packaging Tool Known Issues and Troubleshooting Tips for help installing the driver, including instructions to download and install it manually if you need to.