Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Error in parsing the app package when MSIX has packagedServices capability #5864

@mich83

Description

@mich83

Relevant area(s)

WinGet CLI

Relevant command(s)

No response

Brief description of your issue

We package our application as MSIX on windows, whenever user tries to install the application through this MSIX package file it fails with error: Error in parsing the app package.

We have narrowed down the issue to the packagedServices capability:

<rescap:Capability Name="packagedServices" />

When removing that capability the MSIX installs successfully, however the application then obviously lacks the necessary Windows service.

The issue appears with Windows Package Manager v1.12.340 and later. On earlier versions everything works as expected

Steps to reproduce

Download the package
Try to install it

Image

Press Restart as administrator

Image

It fails with Error in parsing the app package

Expected behavior

Application is expected to be installed

Actual behavior

Installation fails

Environment

Windows Package Manager v1.12.350
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.26100.6584
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.27.350.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIt either shouldn't be doing this or needs an investigation.

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions