none
Issue while creating MSIX package , driver installation failure RRS feed

  • Question

  • Hi

        I am not able to created MSIX package . 

    Getting following log

    [2018-12-21 18:48:03] [Info] ************************************************************
    [2018-12-21 18:48:03] [Info]  MSIX Packaging Tool Launch
    [2018-12-21 18:48:03] [Info] ************************************************************
    [2018-12-21 18:48:03] [Info] Tool Version: 1.2018.1005.0
    [2018-12-21 18:48:03] [Info] Attempting to read settings file: C:\Users\Sayali\AppData\Local\Packages\Microsoft.MsixPackagingTool_8wekyb3d8bbwe\LocalState\settings.xml 
    [2018-12-21 18:48:04] [Info] Opening MSIX Packaging Tool welcome screen.
    [2018-12-21 18:48:04] [Info] ************************************************************
    [2018-12-21 18:48:04] [Info] ApplicationPackage Workflow
    [2018-12-21 18:48:04] [Info] ************************************************************
    [2018-12-21 18:48:04] [Info] ----------------Select Installer View----------------
    [2018-12-21 18:48:15] [Info] Selected installer : My Sample Project.msi
    [2018-12-21 18:48:15] [Info] Installer argument: 
    [2018-12-21 18:48:15] [Info] ----------------Select Environment View----------------
    [2018-12-21 18:48:19] [Info] ----------------Select Installer View----------------
    [2018-12-21 18:49:24] [Info] Selected installer : My Sample Project.msi
    [2018-12-21 18:49:24] [Info] Installer argument: 
    [2018-12-21 18:49:24] [Info] ----------------Select Environment View----------------
    [2018-12-21 18:49:27] [Info] Selected execution environment: Local machine
    [2018-12-21 18:49:27] [Info] ----------------Package Information View----------------
    [2018-12-21 18:49:51] [Info] Package name: MySampleProject
    [2018-12-21 18:49:51] [Info] Package display name: My Sample Project
    [2018-12-21 18:49:51] [Info] Publisher name: CN=My Company
    [2018-12-21 18:49:51] [Info] Publisher display name: My Company
    [2018-12-21 18:49:51] [Info] Version: 1.0.0.0
    [2018-12-21 18:49:51] [Info] Activating PrepareComputerLocalOrRemoteSession locally
    [2018-12-21 18:49:52] [Info] ----------------Prepare Computer View----------------
    [2018-12-21 18:49:52] [Info] Required prepare computer task: MSIX Packaging Tool Driver
    [2018-12-21 18:49:52] [Info] Recommended prepare computer task: Windows Search is active
    [2018-12-21 18:49:52] [Info] Recommended prepare computer task: Pending reboot
    [2018-12-21 18:49:52] [Info] Checking if MSIX Packaging Tool Driver is installed...
    [2018-12-21 18:49:52] [Debug] About to start process
    [2018-12-21 18:49:52] [Debug]     - File name:                 dism.exe
    [2018-12-21 18:49:52] [Debug]     - Arguments:                 /online /add-capability /capabilityname:Msix.PackagingTool.Driver~~~~0.0.1.0
    [2018-12-21 18:50:19] [Info] Deployment Image Servicing and Management tool
    [2018-12-21 18:50:19] [Info] Version: 10.0.17763.1
    [2018-12-21 18:50:19] [Info] Image Version: 10.0.17763.194
    [2018-12-21 18:50:19] [Info] [=                          3.0%                           ] 
    [2018-12-21 18:50:19] [Info] [===                        5.9%                           ] 
    [2018-12-21 18:50:19] [Info] [===                        5.9%                           ] 
    [2018-12-21 18:50:19] [Info] [==========================100.0%==========================] 
    [2018-12-21 18:50:19] [Info] Error: 0x800f0954
    [2018-12-21 18:50:19] [Info] DISM failed. No operation was performed. 
    [2018-12-21 18:50:19] [Info] For more information, review the log file.
    [2018-12-21 18:50:19] [Info] The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log
    [2018-12-21 18:50:19] [Error] dism.exe failed, exit code = -2146498220
    [2018-12-21 18:50:19] [Error] Failed to install MSIX Packaging Tool Driver.
    [2018-12-21 18:50:19] [Error] Error Occurred: Microsoft.Packaging.SDKUtils.ProcessRunner.ProcessRunnerException: Process dism.exe failed with exit code -2146498220.
       at Microsoft.Packaging.SDKUtils.ProcessRunner.ProcessRunnerBase.ValidateExitCode()
       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__30.MoveNext()
    [2018-12-21 18:50:32] [Info] Spawning background worker thread.
    [2018-12-21 18:50:32] [Info] Cleaning up the virtual machine
    [2018-12-21 18:50:38] [Info] ************************************************************
    [2018-12-21 18:50:38] [Info]  Closing MSIX Packaging Tool
    [2018-12-21 18:50:38] [Info] ***

    Thanks

        

    Friday, December 28, 2018 12:32 PM

All replies

  • Hi Sayalishukla,

    Welcome to the MSDN forum.

    Based on your issue. It seems to be related to MSIX packing tool. Since our forum mainly focus on .NET Framework Setup and Servicing issue. So I recommend you redirect to the MSIX tech forum and choose a proper tab, then start a new thread. thank you for your understanding.

    If you meet any .net framework setup and service issue in the future, please feel free to let me know with some error message and detail steps.

    Best Regards

    May


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Monday, December 31, 2018 3:25 AM
    Moderator