Forum Discussion
Uploaded MSIX has generic errors
The instructions are as clear as mud; so many make simple mistakes. Pay close attention to the following:
- The field from the store Package/Identity/Name must be identical to the PackageName field of the AppXManifest.
- The field from the store Package/Identity/Publisher must match that of the Publisher field of the AppXManifest, and also match the Subject Name on the certificate. All three must use the CN= format.
- The store Package/Property/DisplayName should be the same as the publisher display name of the AppXManifest, however I doubt anyone checks that.
- The msix file must be signed using the certificate with that subject field and either the certificate must not be expired, or you used a timestamp on the signing (although as you just created the cert, expiration should not be an issue).
1) by the PackageName field of the AppXManifest - do you mean Package.Identity? ie
<Identity Name="[from Package/Identity/Name]" Publisher="CN=[from Package/Identity/Publisher]" Version="10.4.0.0" ProcessorArchitecture="x64" />
2) confirmed
3) confirmed
4) ok. I had disabled signing the .msix because the signing seemed to occur on upload. I am playing with this now - signing the .msix (with my self-signed key) and then presumably signing the .msixupload as it uploads with the same key
- datamysticSep 30, 2024Copper Contributor
Unfortunately it still fails with the same errors as before. I even tried uploading just the .msix.
So my certs seem right, the alignment of AppStore metadata seems right, the App Cert kit seems happy (Passed with warnings- there don't seem to be blocking issues).
Could you please eyeball the start of my AppxManifest.xml and see if anything looks wrong?
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:uap2="http://schemas.microsoft.com/appx/manifest/uap/windows10/2" xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3" xmlns:uap10="http://schemas.microsoft.com/appx/manifest/uap/windows10/10" xmlns:desktop7="http://schemas.microsoft.com/appx/manifest/desktop/windows10/7" xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" xmlns:rescap3="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities/3" xmlns:com="http://schemas.microsoft.com/appx/manifest/com/windows10" IgnorableNamespaces="uap uap2 uap3 uap10 desktop7 rescap rescap3 com">
<Identity Name="DataMysticPtyLtd.WordPipeSearchandReplaceforWord" Publisher="CN=0450C09A-9234-4278-A26F-336E0FD3FA66" Version="10.4.0.0" ProcessorArchitecture="x64" />
<Properties>
<DisplayName>WordPipe 10.4 Evaluation Edition</DisplayName>
<PublisherDisplayName>DataMystic</PublisherDisplayName>
<Description>DataMystic WordPipe Tool Evaluation Edition</Description>