UWP app -Invalid package family name, after update certificate

sideload uwp app without certificate
deploy uwp app without store
uwp certificate
uwp remove certificate
uwp package installer
uapappxpackagebuildmode
uwp sideloading
uwp app installer

I created app for uwp (win 10 desktop). I could not build package for store. I received an error: it is necessary to update the certificate. I have updated certificate and build my package. But when I upload the package to the store, I get the error:

Invalid package family name: MyPackage.xxxx_xxxx (expected: MyPackage.yyyy_yyyyy)
Invalid package publisher name: CN=XYX (expected: CN=xxx-xxxx-xxx-xxxx)

But I opened my app manifest and I see:

Published: CN=xxx-xxxx-xxx-xxxx
Package Family Name: MyPackage.yyyy_yyyyy

It is what expected. In "open sertificate" I see : Publisher -XYX.

How do I fix it all? Any ideas?


I solved this issue. I made a mistake when creating new certificate. It must be so:

  1. Open Package.appxmanifest.
  2. Go to the "Packaging" tab.
  3. Copy Publisher DN(number after CN=)
  4. Click the button "Choose Certificate" and select the item "Create test certificate..."
  5. Copy the publisher DN from step 3 to the first editable text field

Package a desktop or UWP app in Visual Studio, Use the Visual Studio packaging wizard to create an app package. If it wasn't, you will need to install the signing certificate to the Trusted Select Microsoft Store using a new app name in the first dialog and then click Next. I created an UWP app in our Microsoft Private Company Store, but with a wrong certificate. Now I would like to upload a new Package to this app with the correct Certificate. I created a new appxupload with a link to the correct certificate in the appxmanifest. But when I try to upload this the dev store gives me 2 errors: Invalid package family


I found this MSDN blog: https://blogs.msdn.microsoft.com/jamiedalton/2017/01/13/windows-store-error-updating-package-invalid-package-family-name/

The blog states that you should associate your App to the Store App using Visual Studio.

This seems to be the right answer.

Provision PCs with apps (Windows 10), Add apps to a Windows 10 provisioning package. In Windows 10, version 1703 , you can install multiple Universal Windows Platform (UWP) apps and Windows This is optional if you have a certificate for the app. Package family name: Specify the package family name if you don't specify a license. Use Visual studio to associate your app with the Microsoft Store:In Solution Explorer, right-click your project and then select Store > Associate App with the Store > Next >(sign in to the Microsoft Store) > select the App Name you have reserved>Next > Associate.


Update for Visual Studio 2019
  1. Open Package.appxmanifest from Solution Explorer
  2. Go to "Packaging" tab
  3. Copy Publisher name after CN=. Looks like a GUID
  4. Click "Choose Certificate..."
  5. Click "Configure Certificate..."
  6. Click "Create..."
  7. Paste GUID from #3 into "Publisher Common Name"
  8. Proceed to create and save certificate

Problem seems that it defaults to developer name instead of using the original GUID

Preparing Your UWP App For Publishing – YoYo Games, 9 months ago; Updated IMPORTANT NOTE ABOUT XBOX ONE: Creating a UWP package for The initial listing is created here by clicking the "Create A New App" PFX signing certificate, we'll explain how to reserve your app name multiple packages for your game and then set the Device Family for� The default template tries to sign the package with the certificate specified in the .csproj file. If you want to sign your package during the build you must have access to the private key. Otherwise, you can disable signing by adding the parameter /p:AppxPackageSigningEnabled=false to the msbuildArgs section in the YAML file.


Windows App Association, If your app is Windows Phone 8.1 RT or Windows 10 UWP: Left click on app project Follow the procedure to associate your app (certificate, id, etc…) If your app is In Visual Studio left click on “Package.appxmanifest” and click on “View Code” to edit the XML code. Package family name, Package Family Name ( PFN) * App Package Upload File (.msixupload or .appxupload) - for Store Submission only A single file that can contain multiple app packages or an app bundle to support various processor architectures. The app package upload file also contains a symbol file to Analyze app performance after your app has been published in the Microsoft Store.


Distribute Your MSIX Packages, By default, automatic updates are turned on in the Microsoft Store, so users will Whether it's a full Universal Windows Platform application or a classic Visual Studio will show you a list of app names you have already registered, Since the certificate is coming from a public CA, the chain will be already� A packaged or unpackaged app An app containing an AppxManifest.xml file. You will need to reference the manifest file while creating the certificate that will be used to sign the final app package. For details on how to manually package an app, see Create an app package with the MakeAppx.exe tool.


How to install uwp app on windows 10, Microsoft has officially launched a new app, the Windows App Studio Installer for IT can use the add-appxpackage cmdlet to install a signed app package on a Oct 02, 2015 � Provide the Name for the project and select the location where installation of the Certificate will finalise and enable the installation of the app. The Publisher entry in the Windows app package manifest must match the Subject of the certificate you are signing with. You can use any of the following methods to view the subject of the cert. Option 1: Powershell. Run the following PowerShell command. Either .cer or .pfx can be used as the certificate file, as they have the same publisher