MSIX Modification Package Install Failed - "related set cannot be updated"

Copper Contributor

Hi Experts,

 

Problem: I tried to create Modification Package for my Application, when I install the Modification Package, the installation was failed: "A related set cannot be updated because the updated set is invalid. All packages in the related set must be updated at the same time. (0x80003d17)"

 

My Steps: I didn't use "MSIX Packaging Tool", I used "makeappx.exe":

1. created Main Package from folder

2. update AppxManifest.xml of Modification Package, added "<uap4:MainPackageDependency" with Main Package Name, then created Modification Package from folder

 

I met this problem when trying AppX Optional Package and fixed by creating appxbundle with optional package information. But in MSIX, seems msix package cannot be included into msixbundle - failed with error: "MakeAppx : error: 0x80080215 - Non appx extensions are not allowed for payload packages targeting older platforms."

 

Any idea about it? What I missed in the package creating?

 

Thanks,

Peitao 

2 Replies

@Peitao Su wrote:

Hi Experts,

 

Problem: I tried to create Modification Package for my Application, when I install the Modification Package, the installation was failed: "A related set cannot be updated because the updated set is invalid. All packages in the related set must be updated at the same time. (0x80003d17)"

 

My Steps: I didn't use "MSIX Packaging Tool", I used "makeappx.exe":

1. created Main Package from folder

2. update AppxManifest.xml of Modification Package, added "<uap4:MainPackageDependency" with Main Package Name, then created Modification Package from folder

 

I met this problem when trying AppX Optional Package and fixed by creating appxbundle with optional package information. But in MSIX, seems msix package cannot be included into msixbundle - failed with error: "MakeAppx : error: 0x80080215 - Non appx extensions are not allowed for payload packages targeting older platforms."

 

Any idea about it? What I missed in the package creating?

 

Thanks,

Peitao 


There is a lot that can be going wrong here.  Most likely you are trying to take over an identity of something that is already existing on the device or defined in an apps set.  It would be like trying to take over Word as part of the Office suite in the store.  Can you share the manifest of the failing package and the bundle manifest of the main app?

 

John.

Hi John,

 

Thank you for your reply.

 

I found the reason of "related set" issue, because I added <Application> in AppxManifest.xml of Modification package, seems it's not support and will cause "updated set is invalid". After removed <Application> from AppxManifest.xml of Modification package it works fine.

 

As I mentioned when I want to create msix bundle for msix packages it was failed due to "MakeAppx : error: 0x80080215 - Non appx extensions are not allowed for payload packages targeting older platforms." that's because the MinVersion of <TargetDeviceFamily> was targeted to old platform which not support MSIX, it should be larger than 10.0.17xxx. After that, I can create msixbundle and install without related set issue.

 

Thanks,

Peitao