On Fri Aug 29 12:04:13 2025 +0000, Vibhav Pant wrote:
Encrypted AppX files don't use ZIP encryption, the OPC standard doesn't allow it. They're encrypted and stored using a different container format. Decryption is performed with `IAppxEncryptionFactory::Decrypt{Package, Bundle}`, which returns an OPC/Appx stream that can then be read normally.
The problem again is that it's not clear to me how this is going to be
used from higher level code. Roughly speaking, the package manager would read the provided package into an `IOpcPackage`, use the partset to get `AppXManifest.xml`, and then install executables/register components/associations as details in the manifest.
Well again, what's the actual use case for this? Is there any developer who distributes .appx archives directly?