SOLVED

MakeAppx with publisher bridge - error ID=0x80080218, Error=317

Copper Contributor

Hi,

While updating the certificates for our app, we noticed that it would no longer auto update since the publisher name had changed. Following the guide here, we created a publisher bridge file and used that as an argument for makeappx.exe

makeappx.exe pack /d .\content\ /p output /h SHA256 /pb .\artifacts.txt

However, this operation fails with the error message

MakeAppx : error: Error info: Unspecified error
MakeAppx : error: Package creation failed.
MakeAppx : error: 0x80080218 - MakeAppx encountered an error: ID=0x80080218, Error=317)

Using makeapp.exe without the /pb flag packages the app like it should.

 

Any suggestion as to what can be the problem here? Is the publisher bridge file set up incorrectly?

3 Replies
best response confirmed by FolkeV (Copper Contributor)
Solution
Error 0x80080218 does signal that the publisher bridging file is not set up correctly. It's hard to know exactly why without more details. One possible reason is if you are using the "new" publisher name in the manifest instead of the "old" one. The artifact will let you sign using a cert with the "new" name, but you still have to use the "old" name in the manifest.
Thanks! It was indeed that I had put the new publisher name in the app manifest instead of keeping the old one. Thanks!
Is this feature supported on Windows 10 22H2 as well? I seem to have a problem with new installations after using this workaround.
1 best response

Accepted Solutions
best response confirmed by FolkeV (Copper Contributor)
Solution
Error 0x80080218 does signal that the publisher bridging file is not set up correctly. It's hard to know exactly why without more details. One possible reason is if you are using the "new" publisher name in the manifest instead of the "old" one. The artifact will let you sign using a cert with the "new" name, but you still have to use the "old" name in the manifest.

View solution in original post