UWP sideloaded apps - encrypred appx (eappx)

Roy Li - MSFT 33,086 Reputation points Microsoft Vendor
2019-12-12T08:36:39.157+00:00

Source link: https://social.msdn.microsoft.com/Forums/windowsapps/en-US/27941ba9-a6b7-448f-b5e1-a7ab5807a120/uwp-sideloaded-apps-encrypred-appx-eappx?forum=wpdevelop

Hi guys,

Just want to know if side-loaded apps can also use eappx (encrypted appx) format.

Any resources in this regard will be highly appreciated.

Universal Windows Platform (UWP)
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Roy Li - MSFT 33,086 Reputation points Microsoft Vendor
    2019-12-12T08:48:34.517+00:00

    Hello,

    Welcome to Microsoft Q&A!

    Based on the document here: Create an app package with the MakeAppx.exe tool, it says 'MakeAppx.exe creates both app packages (.msix or .appx) and app package bundles (.msixbundle or .appxbundle). MakeAppx.exe also extracts files from an app package or bundle and encrypts or decrypts app packages and bundles. '. Generally, the sideload package is a msixbundel file that generated from VS 2019 now. It is the supported type for MakeAppx. You could use the following
    to encrypt the package:

    MakeAppx.exe encrypt /p MyPackage.msix /ep MyEncryptedPackage.emsix /kt  
    

    This is the screenshoot that I encrypted a sideload package successfully.
    alt text

    For more information about how to encrypt the package, please refer to this document: Encrypt or decrypt a package or bundle.

    1 person found this answer 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.