How to install packaged WinUI project that using self-signed certificate?

aluzi liu 486 Reputation points
2023-10-10T07:26:21.6333333+00:00

I have a packaged WinUI project, and I create a MSIX package using self-signed certificate, I also install the certificate on my computer, but I still can not install the package:

winui

This is installed certificate:

winui2

Isn't it possible to install a package sign with sefl-signed certificate?

Windows development Windows App SDK
{count} votes

Accepted answer
  1. Xiaopo Yang - MSFT 12,731 Reputation points Microsoft External Staff
    2023-10-11T01:44:26.7433333+00:00

    Hello @aluzi lium,

    As of the latest Windows 10 update, sideloading is enabled by default. For more info, see the Microsoft Learn articles Sideload Windows apps and Microsoft Intune fundamentals.

    While as Install your app package by double clicking says,

    !Note App Installer assumes that the package was signed with a cert trusted on the device. If it wasn't, you will need to install the signing certificate to the Trusted People or Trusted Publishers Certification Authorities store on the device. If you're not sure how to do this, see Installing Test Certificates.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.