Hi Team,
When using the MSIX packaging tool on VM, encountered an error while creating a package with installation of MSIX packaging tool driver, following is the log details.
Can anybody provide a fix to this?
[03/08/2018 08:05:25] [Info] ----------------Prepare Computer View----------------
[03/08/2018 08:05:25] [Info] Required prepare computer task: MSIX Packaging Tool Driver
[03/08/2018 08:05:26] [Info] Optional prepare computer task: Windows Search is active
[03/08/2018 08:05:26] [Info] Optional prepare computer task: Windows Update is active
[03/08/2018 08:05:26] [Info] Checking if MSIX Packaging Tool Driver is installed...
[03/08/2018 08:05:26] [Debug] About to start process
[03/08/2018 08:05:26] [Debug] - File name: dism.exe
[03/08/2018 08:05:26] [Debug] - Arguments: /online /add-capability /capabilityname:Msix.PackagingTool.Driver~~~~0.0.1.0
[03/08/2018 08:05:33] [Error] dism.exe failed, exit code = -2146498224
[03/08/2018 08:05:33] [Error] Error Occured Process dism.exe failed with exit code -2146498224.
[03/08/2018 08:05:33] [Error] Stack Trace at Microsoft.Packaging.SDKUtils.ProcessRunner.ProcessRunnerBase.ValidateExitCode()
at MsixGenerator.LocalOrRemoteExecution.PrepareComputerLocalOrRemoteSession.<>c.<FODInstallationAsync>b__3_0()
[03/08/2018 08:05:33] [Error] Failed to install MSIX Packaging Tool Driver.
[03/08/2018 08:05:33] [Error] Error occured: Microsoft.Packaging.SDKUtils.ProcessRunner.ProcessRunnerException: Process dism.exe failed with exit code -2146498224.
at MsixGenerator.LocalOrRemoteExecution.PrepareComputerLocalOrRemoteSession.<>c.<FODInstallationAsync>b__3_0()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MsixGenerator.LocalOrRemoteExecution.PrepareComputerLocalOrRemoteSession.<FODInstallationAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MsixPackagingTool.Model.ApplicationPackageWorkflow.PrepareComputerModel.<FixRequiredPrepareComputerTasks>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MsixPackagingTool.ViewModel.ApplicationPackageWorkflow.PrepareComputerViewModel.<RequiredPrepareComputerTasksMethod>d__21.MoveNext()