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

Highlighted
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
Highlighted

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.