MddCreatePackageDependencyOptions enumeration (msixdynamicdependency.h)

Defines options that can be applied when creating a package dependency by using the MddTryCreatePackageDependency function.

Syntax

typedef enum MddCreatePackageDependencyOptions {
  None,
  DoNotVerifyDependencyResolution,
  ScopeIsSystem
} ;

Constants

 
None
No options are applied.
DoNotVerifyDependencyResolution
Disables dependency resolution when pinning a package dependency. This is useful for installers running as user contexts other than the target user (for example, installers running as LocalSystem).
ScopeIsSystem
Defines the package dependency for the system, accessible to all users (default is the package dependency is defined for a specific user). This option requires the caller has administrator privileges.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809 (with Windows App SDK 1.0 or later)
Header msixdynamicdependency.h

See also

MddTryCreatePackageDependency