Windows App SDK Documentation

Deployment

Windows App SDK Deployment Options

Deploying applications built with the Windows App SDK involves distributing the necessary runtime components along with your application package. The Windows App SDK supports several deployment models, each with its own advantages and considerations.

Understanding Deployment Dependencies

Applications built with the Windows App SDK rely on a set of runtime components. These components are typically packaged and versioned separately from the Windows operating system. This allows for independent updates and provides flexibility for developers.

MSIX Packaging

The recommended and most common deployment method for Windows App SDK applications is MSIX. MSIX is a modern packaging format that provides a reliable installation experience, automatic updates, and a clean uninstallation process.

When deploying via MSIX, you can bundle the Windows App SDK runtime within your package or rely on the framework package being pre-installed on the user's machine.

Framework Packages

The Windows App SDK runtime is distributed as a set of framework packages. These packages contain the shared libraries and components that your application depends on. There are two primary ways to handle framework packages:

  1. Self-contained Deployment:

    In a self-contained deployment, you package a specific version of the Windows App SDK runtime directly within your application's package. This ensures that your application runs with the intended runtime components, regardless of what is installed on the user's system. This is often the simplest approach for ensuring compatibility.

    Note: Self-contained deployments can result in larger application package sizes as the runtime is duplicated for each application.
  2. Framework-dependent Deployment:

    In a framework-dependent deployment, your application's package declares a dependency on a specific version of the Windows App SDK framework package. The runtime components are installed separately on the user's machine. This approach is more efficient in terms of disk space as multiple applications can share the same installed runtime.

    Tip: For enterprise scenarios or when deploying multiple Windows App SDK applications, framework-dependent deployment can be more efficient.

Deployment Scenarios

The choice of deployment strategy depends on your target audience and distribution method:

Key Deployment Considerations

For detailed guidance on creating MSIX packages and managing runtime dependencies, please refer to the specific documentation on MSIX packaging and framework package management.