DismPackageFeatureState Enumeration

Specifies the state of a package or a feature.

Syntax

enum DismPackageFeatureState
{
    DismStateNotPresent = 0,
    DismStateUninstallPending = 1,
    DismStateStaged = 2,
    DismStateRemoved = 3,
    DismStateInstalled = 4,
    DismStateInstallPending = 5,
    DismStateSuperseded = 6,
    DismStatePartiallyInstalled = 7
};

Constants

Constant Value Description
DismStateNotPresent 0 The package or feature is not present.
DismStateUninstallPending 1 An uninstall process for the package or feature is pending. Additional processes are pending and must be completed before the package or feature is successfully uninstalled.
DismStateStaged 2 The package or feature is staged.
DismStateRemoved 3 Metadata about the package or feature has been added to the system, but the package or feature is not present.
DismStateInstalled 4 The package or feature is installed.
DismStateInstallPending 5 The install process for the package or feature is pending. Additional processes are pending and must be completed before the package or feature is successfully installed.
DismStateSuperseded 6 The package or feature has been superseded by a more recent package or feature.
DismStatePartiallyInstalled 7 The package or feature is partially installed. Some parts of the package or feature have not been installed.

Requirements

Requirement Description
Supported host platforms DISM API can be used on any operating system supported by the Windows Assessment and Deployment Kit (Windows ADK). For more information, see the Windows ADK Technical Reference.
Supported image platforms Windows 7, Windows Server 2008 R2, Windows PE 3.0, Windows 8, Windows Server 2012, Windows Preinstallation Environment (Windows PE) 4.0

DismPackage Structure

DismPackageInfo Structure

DismFeature Structure

DismFeatureInfo Structure