Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines options that can be applied when creating a package dependency by using the TryCreatePackageDependency function.
Syntax
typedef enum CreatePackageDependencyOptions {
CreatePackageDependencyOptions_None,
CreatePackageDependencyOptions_DoNotVerifyDependencyResolution,
CreatePackageDependencyOptions_ScopeIsSystem
} ;
Constants
CreatePackageDependencyOptions_None No options are applied. |
CreatePackageDependencyOptions_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). |
CreatePackageDependencyOptions_ScopeIsSystem Defines the package dependency for the system, accessible to all users (by default, the package dependency is defined for a specific user). This option requires the caller has administrative privileges. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 11 (introduced in 10.0.22000.0) |
Header | appmodel.h |