winbrew_engines\windows\msix/mod.rs
1//! MSIX backend surface used by the Windows facade.
2//!
3//! What this module does:
4//!
5//! - installs MSIX packages by delegating to the Windows App Installer APIs
6//! - removes MSIX packages using the package full name stored in the receipt
7//! - keeps the leaf implementation modules private so callers only see the
8//! narrow `install` and `remove` entry points
9//!
10//! What this module does not do:
11//!
12//! - it does not extract archives or copy payload files
13//! - it does not infer package identity from the registry
14//! - it does not own the package layout logic for portable or zip-based flows
15
16mod install;
17mod remove;
18
19/// Install an MSIX package through the Windows App Installer APIs.
20///
21/// The function delegates the actual package registration to Windows, creates
22/// the target install directory, and returns an `EngineInstallReceipt` that
23/// stores the MSIX package full name and install scope.
24pub(crate) use install::install;
25/// Remove an MSIX package using the package full name stored in the receipt.
26///
27/// The function expects `EngineMetadata::Msix` to be present on the installed
28/// package and delegates the uninstall operation to Windows.
29pub(crate) use remove::remove;