DismPackageInfo structure

Describes detailed package information such as the client used to install the package, the date and time that the package was installed, and support information.

Syntax

typedef struct _DismPackageInfo {
  PCWSTR                          PackageName;
  DismPackageFeatureState         PackageState;
  DismReleaseType                 ReleaseType;
  SYSTEMTIME                      InstallTime;
  BOOL                            Applicable;
  PCWSTR                          Copyright;
  PCWSTR                          Company;
  SYSTEMTIME                      CreationTime;
  PCWSTR                          DisplayName;
  PCWSTR                          Description;
  PCWSTR                          InstallClient;
  PCWSTR                          InstallPackageName;
  SYSTEMTIME                      LastUpdateTime;
  PCWSTR                          ProductName;
  PCWSTR                          ProductVersion;
  DismRestartType                 RestartRequired;
  DismFullyOfflineInstallableType FullyOffline;
  PCWSTR                          SupportInformation;
  DismCustomProperty              *CustomProperty;
  UINT                            CustomPropertyCount;
  DismFeature                     *Feature;
  UINT                            FeatureCount;
} DismPackageInfo;

Members

PackageName
The name of the package.

PackageState
A DismPackageFeatureState enumeration value such as DismStateResolved.

ReleaseType
A DismReleaseType enumeration value such as DismReleaseTypeUpdate.

InstallTime
The date and time that the package was installed. This field is local time, based on the servicing host computer.

Applicable
TRUE if the package is applicable to the image, otherwise FALSE.

Copyright
The copyright information of the package.

Company
The company that released the package.

CreationTime
The date and time that the package was created. This field is local time, based on the time zone of the computer that created the package.

DisplayName
The display name of the package.

Description
A description of the purpose of the package.

InstallClient
The client that installed this package.

InstallPackageName
The client that installed this package.

LastUpdateTime
The date and time when this package was last updated. This field is local time, based on the servicing host computer.

ProductName
The product name for this package.

ProductVersion
The product version for this package.

RestartRequired
A DismRestartType enumeration value describing whether a restart is required after installing the package on an online image.

FullyOffline
A DismFullyOfflineInstallableType enumeration value describing whether a package can be installed offline without booting the image.

SupportInformation
A string listing additional support information for this package.

CustomProperty
An array of DismCustomProperty structures representing the custom properties of the package.

CustomPropertyCount
The number of elements in the CustomProperty array.

Feature
An array of DismFeature structures representing the features in the package.

FeatureCount
The number of elements in the Feature array.

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, Windows 8.1, Windows Server 2012 R2, Windows 10, Windows Server 2016
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header DismAPI.h

See also

DismPackageFeatureState

DismReleaseType

DismRestartType

DismFullyOfflineInstallableType

DismCustomProperty

DismFeature

DismGetPackageInfo