Take Inventory of an Image or Component Using DISM

You can take an inventory of what drivers, packages, and other files and settings are included in a Windows image. To do so, use Deployment Image Servicing and Management (DISM) servicing commands.

You must mount an offline image from a WIM or VHD file before you can take inventory of or service a specific Windows image. For more information, see Mount and Modify a Windows Image Using DISM.

Get Windows Image Information

You can use image commands to list the information about a specific Windows image in a (WIM) file or virtual hard disk (VHD) file, about the images contained in a specific WIM or VHD file, and about mounted WIM or VHD files. This information can help you identify mount locations, image names, or verify the architecture of the image that you are mounting.

You can gather information about all of the images in a WIM or VHD file by using the /Get-ImageInfo servicing command in DISM. You can also gather information about a specific image in a WIM or VHD file, such as operating system, architecture, and settings, by specifying the name or index number of the image. To specify the image in a VHD file, you must use /Index:1 .

You can identify the images that are currently mounted on your computer, and you can list information about the mounted image such as read/write permissions, mount location, mounted file path, and mounted image index by using the /Get-MountedImageInfo servicing command.

For more information about image commands available in DISM, see DISM - Deployment Image Servicing and Management Technical Reference for Windows.

List images that are contained in a WIM or VHD file

  1. Open a Command prompt as administrator.

  2. Use DISM to list information about all of the images in a WIM, VHD, or FFU file:

    Dism /Get-ImageInfo /imagefile:C:\test\images\install.wim
    

    Tip

    To specify the image in a VHD or FFU file, only specify /Index:1.

    The report that is generated includes the following information.

    Field Description Example
    Index The index value of the image in the WIM or VHD file. 1
    Name The Windows edition name of the image in the WIM or VHD file. Windows 11 Home
    Description The description of the image in the WIM or VHD file. Windows 11 Home
    Size The size of the image. 8,045,951,502 bytes

    Use the /Index or /Name options to get much more detailed information about the specified image, such as languages, architecture, and edition.

List mounted images

  1. Open a Command prompt as administrator.

  2. At the elevated command prompt, type:

    Dism /Get-MountedImageInfo 
    

The report generated includes the following information:

Field Description Example

Mount Dir

The location where the image is mounted.

C:\Test\Mount

Image File

The full path to the WIM or VHD file.

C:\Test\Images\install.wim

Image Index

The index number of the mounted image that is enclosed in WIM or VHD file.

1

Mounted Read/Write

Yes if the mounted image allows for both read and write access or No if the mounted image allows for read-only access only.

Yes

Status

The mount status of the image. The possible values include the following:

OK. The image is mounted. There are no problems.

Needs Remount. The image must be remounted. This can be caused by rebooting the host system when the image is mounted.

Invalid.: the image is in an invalid state. You might have to use /Cleanup-Mountpoints on the image.

OK

Get Windows PE Information

You can mount a Windows Preinstallation Environment (Windows PE) image for servicing in the same way you would any Windows image. DISM also has Windows PE servicing commands that are specific to a Windows PE image. These commands can be used to list Windows PE settings such as scratchspace, targetpath, and profiling information. For more information about Windows PE servicing commands available in DISM, see DISM Windows PE Servicing Command-Line Options.

List all settings in the mounted Windows PE image

  1. Open a Command prompt as administrator.

  2. Use DISM to list information about all of the Windows PE settings in the mounted Windows PE image:

    Dism /image:C:\test\offline /Get-PESettings
    

The report generated includes the following information:

Field Description Example

Profiling

Reports whether Windows PE profiling is enabled or disabled.

Disabled

Scratch Space

The amount of writeable space available on the Windows PE system volume when booted in ramdisk mode.

32MB

TargetPath

The path to the root of the Windows PE image at boot time.

X:</p>

Get Driver Information

The driver-servicing commands can be used to enumerate driver packages in the driver store based on their .inf files. You can use the /Get commands to display basic information about third-party driver packages or all driver packages in the offline image. When you point to an offline image or a running operating system, you can determine what driver packages are in the image, and get information about the drivers.

You can display detailed information about a specific installed .inf file, or one that is not yet installed. Installed drivers in the driver store will be named Oem0.inf, Oem1.inf, and so on.

For more information about driver-servicing commands available in DISM, see DISM Driver Servicing Command-Line Options.

List driver packages in the offline image

  1. Open a Command prompt as administrator.

  2. Use DISM to list information about all of the driver packages.

    in a mounted offline Windows image:

    Dism /image:C:\test\offline /Get-Drivers
    
    Dism /image:C:\test\offline /Get-Drivers /all
    

    For a running operating system:

    Dism /online /Get-Drivers
    
    Dism /online /Get-Drivers /all
    

The report generated includes the following information:

Field Description Example

Published Name

The name of the driver package after it is added to the driver store.

Oem0.inf

Original File Name

The original .inf file name of the driver package.

Toaster.inf

Inbox

Yes for a default driver (inbox driver) or No for third-party driver packages.

No

Class Name

The friendly name of the device class the driver is a member of.

Printer

Provider Name

The provider or digital signature for the driver package.

Microsoft

Date

The date associated with the driver, as it is specified in the .inf file. The date will be formatted appropriately for your locale.

10/31/2006

Version

The version number that is specified in the INF driverVer directive.

6.1.6801.0

Get information about a specific driver

  1. Open a Command prompt as administrator.

  2. Use DISM to get information about a specific driver package.

    In the offline Windows image:

    Dism /image:C:\test\offline /Get-DriverInfo /driver:oem1.inf
    

    For a running operating system, type:

    Dism /online /Get-DriverInfo /driver:oem1.inf
    

The report generated includes the following information:

Field Description Example

Published Name

The name of the driver package after it is added to the driver store.

Oem0.inf

Driver Store Path

The path to the driver location. If the driver is installed, the path to the driver store is listed. If the driver is not installed yet, the path to the driver on the servicing host is listed.

E:\Images\Mount_depset\Windows\System32\DriverStore\FileRepository\Fasttx2k.inf_x86_neutral_0328f62e\Fasttx2k.inf

Class Name

The friendly name of the device class the driver is a member of.

Printer

Class Description

The description of the device class the driver is a member of.

Printers

Class GUID

The GUID of the device class that the driver is a member of.

{4D36E97B-E325-11CE-BFC1-08002BE10318}

Date

The date associated with the driver, as it is specified in the .inf file. The date will be formatted appropriately for your locale.

8/6/2003

Version

The driver version number that is specified in the INF driverVer directive.

1.0.1.37

Boot Critical

Yes if the driver is boot critical or No if it is not.

No

Drivers for architecture

The architecture of the image that it is installed on. If the driver is not installed yet, the field is reported repeatedly for each supported operating system architecture.

x86

Manufacturer

The manufacturer of the supported device.

Adventure Works

Description

A description of the supported device.

Windows XP Adventure Works 376 Controller

Architecture

The architecture of the driver.

x86

Hardware ID

The hardware ID of the supported device.

ABC_3376

Service Name

The service name of the driver.

C1232k

Compatible IDs

Alternate Plug and Play (PnP) IDs for the device, if any apply.

12ABC

Exclude IDs

PnP IDs that will not match the device, any apply.

A_123

Note

If you point to a driver that is not yet installed, the report will be slightly different.

Get Package and Feature Information

You can use operating system package-servicing commands to obtain information about Windows packages. You can also use DISM and package-servicing commands to obtain information about Windows features, either offline or on a running Windows installation.

  • You can use the /PackagePath option to specify a .cab file or a folder where the .cab file is extracted. You can't use this command to obtain package information for .msu files.
  • You can use /Get-Packages to find the name of a package, and then use /PackageName to specify the name of the package.
  • You can display detailed information about a feature by using the /Get-FeatureInfo /FeatureName:<name> option.

For more information about operating system package-servicing commands available in DISM, see DISM Operating System Package Servicing Command-Line Options.

List all packages in the image

  1. Open Command prompt as administrator.

  2. Use DISM to list information about all packages.

    In an offline Windows image:

    Dism /image:C:\test\offline /Get-Packages
    

    On a running operating system:

    Dism /online /Get-Packages
    

The report generated includes the following information:

Field Description Example

Package Identity

The name of the package as it appears in the image.

Microsoft-Windows-NetFx3-OC-Package~31bf3856ad364e35~x86~en-US~6.1.6772.0

State

The current state of the package. Such as:

Installed. The package is installed.

Install Pending. The package is installed but requires a reboot to complete the pending online actions.

Staged. The package is staged for installation.

Installed

Release Type

The type of package that it is. Such as:

Feature Pack. A Windows operating system feature.

Language Pack. A Windows operating system Language pack or Language Interface Pack (LIP).

Foundation. Core operating system components including optional features.

Feature Pack

Install Time

The UTC date and time when the installation occurred. If the package is not installed yet, the Install Time field is left blank.

8/18/2008 7:58:00 PM

List information about a specific package

  1. Open Command prompt as administrator.

  2. Use DISM to list information about a specific package.

    In an offline Windows image:

    Dism /image:C:\test\offline /Get-PackageInfo /PackagePath:C:\packages\package.cab
    
    Dism /image:C:\test\offline /Get-PackageInfo /PackageName:Microsoft.Windows.Calc.Demo~6595b6144ccf1df~x86~en~1.0.0.0
    

    On a running operating system:

    Dism /online /Get-PackageInfo /PackagePath:C:\packages\package.cab
    
    Dism /online /Get-PackageInfo /PackageName:Microsoft.Windows.Calc.Demo~6595b6144ccf1df~x86~en~1.0.0.0
    

The report generated includes the following information:

Field Description Example

Package Identity

The name of the package as it appears in the image.

Microsoft-Windows-NetFx3-OC-Package~31bf3856ad364e35~x86~en-US~6.1.6772.0

Applicable

Indicates if the package applies to the image.

No

Copyright

Copyright information for the package.

Copyright© Microsoft Corporation. All Rights Reserved.

Company

The company that provided the package, if available.

Microsoft Corporation

Creation Time

The date and time the package was created, if available.

8/18/2008 7:58:00 PM

Description

A brief description of the package.

Fix for KB300106

Install Client

The client tool that installed the package.

DISM Package Manager Provider

Install Package Name

The installed package.mum file name.

Microsoft-Windows-NetFx3-OC-Package~31bf3856ad364e35~x86~en-US~6.1.6772.0.mum

Install Time

The date and time the package was installed. If the package is not installed yet, the Install Time field is left blank.

8/18/2008 7:58:00 PM

Last Update Time

The date the package was last updated, if available.

8/18/2008 7:58:00 PM

Name

The display name of the package, localized if available.

Generally, "default" will be displayed for all servicing packages.

ActiveX Installer Service

Product Name

The name of the product that the package belongs to, if available.

Microsoft-Windows-NetFx3-OC-Package

Product Version

The version of the product that the package belongs to, if available.

123.01.0000

Release Type

The type of package that it is. Such as:

Feature Pack. A Windows operating system feature.

Language Pack. A Windows operating system Language pack or Language Interface Pack (LIP).

Foundation. Core operating system components including optional features.

Feature Pack

Restart Required

Indicates if a reboot is required when you install or uninstall the package online.

Possible

Support Information

Where to find support information, if available.

https://support.microsoft.com/?kbid=300106

State

Indicates if the package is installed in the operating system. Possible values include the following:

Not Present. The package is not installed.

Installed. The package is installed.

Install Pending. The package will be installed but requires a reboot to complete pending online actions.

Staged. The package is staged for installation.

Installed

Completely offline capable

Yes. The package can be installed offline without booting the image.

No. You must boot into the image in order to complete installation of this package.

Undetermined. You may have to boot into the image in order to complete the installation of this package. Many packages can be installed offline entirely. If you attempt to install a package offline and a reboot is required, it will be reported in the log file. You can check the status of a package using the Get-PackageInfo command.

Custom Properties

A list of custom properties defined in the package manifest file. If there are no custom properties, (No custom properties found) will be displayed.

Dependency: Language Pack

Features listing for package

A list of the features found in the package.

If there is no feature in the package, the package identity will be displayed followed by (No features found for this package).

Microsoft-Windows-NetFx3-OC-Package~31bf3856ad364e35~x86~en-US~6.1.6772.0 (No features found for this package)

List all features in the image

  1. Open Command prompt as administrator.

  2. Use DISM to list information about the features in the image.

    In an offline Windows image:

    Dism /image:C:\test\offline /Get-Features
    
    Dism /image:C:\test\offline /Get-Features /PackageName:Microsoft.Windows.Calc.Demo~6595b6144ccf1df~x86~en~1.0.0.0
    
    Dism /image:C:\test\offline /Get-Features /PackagePath:C:\packages\package.cab
    

    On a running operating system:

    Dism /online /Get-Features
    
    Dism /online /Get-Features /PackageName:Microsoft.Windows.Calc.Demo~6595b6144ccf1df~x86~en~1.0.0.0
    
    Dism /online /Get-Features /PackagePath:C:\packages\package.cab
    

The report generated includes the following information:

Field Description Example

Feature Name

The name of the feature as it appears in the image.

InboxGames

State

The current state of the feature. Possible values include the following:

  • Enabled. The feature is enabled.

  • Disabled. The feature is disabled.

  • Enable Pending. The feature will be enabled but requires a reboot to complete pending online actions.

  • Disable Pending. The feature will be disabled but requires a reboot to complete pending online actions.

  • Disabled with Payload Removed. The feature is disabled and its payload has been removed. Only the package metadata is present in the image. The payload can be restored and the feature can be enabled on demand after the image is deployed. For more information about features on demand, see Configure a Windows Repair Source.

Disabled

List information about a specific feature

  1. Open a Command prompt as administrator.

  2. Use DISM to list information about a specific feature.

    In an offline Windows image:

    Dism /image:C:\test\offline /Get-FeatureInfo /FeatureName:Hearts
    
    Dism /image:C:\test\offline /Get-FeatureInfo /FeatureName:LocalPack-GB /PackageName:Microsoft-Windows-LocalPack-GB-Package~6595b6144ccf1df~x86~~1.0.0.0
    

    On a running operating system:

    Dism /online /Get-FeatureInfo /FeatureName:Hearts 
    

The report generated includes the following information:

Field Description Example

Feature Name

Name of the feature.

InboxGames

Display Name

The name of the feature as it appears in the user interface.

Games

Description

A brief description of the feature.

Standard inbox games.

Restart Required

Indicates if a restart is required when you enable or disable this feature.

Yes

State

The current state of the feature. Possible values include the following:

Enabled. The feature is enabled.

Disabled. The feature is disabled.

Enable Pending. The feature will be enabled but requires a reboot to complete pending online actions.

Disable Pending. The feature will be disabled but requires a reboot to complete pending online actions.

Disabled with Payload Removed. The feature is disabled and its payload has been removed. Only the package metadata is present in the image. The payload can be restored and the feature can be enabled on demand after the image is deployed. For more information about features on demand, see Configure a Windows Repair Source.

Disabled

Custom Properties

A list of custom properties defined in the package manifest file. If there are no custom properties, (No custom properties found) will be displayed.

Dependency: Language Pack

Get Feature on Demand information

You can use the capability servicing command-line options to get information about the Features on Demand in a Windows image. These commands can list the available and/or installed Features on Demand. See Features on Demand for more information.

List all Features on Demand in an image

  1. Open a Command prompt as administrator.

  2. Use DISM to list information about all of the Windows PE settings in the mounted Windows PE image:

    In a mounted image:

    DISM /image:C:\test\offline /Get-Capabilities
    

    On a running operating system:

    DISM /online /get-capabilities
    

The report generated includes the following information:

Field Description Example
Capability Identity The name of the Feature on Demand XPS.Viewer~~~~0.0.1.0
State Tells if the Feature on Demand is installed Installed

List information about a specific Feature on Demand

  1. Open a Command prompt as administrator.

  2. Use DISM to list information about all of the Windows PE settings in the mounted Windows PE image:

    In a mounted image:

    DISM /image:C:\test\offline /Get-CapabilityInfo /CapabilityName:XPS.Viewer~~~~0.0.1.0
    

    On a running operating system:

    DISM /online /Get-CapabilityInfo /CapabilityName:XPS.Viewer~~~~0.0.1.0
    

The report generated includes the following information:

Field Description Example
Capability Identity The name of the Feature on Demand XPS.Viewer~~~~0.0.1.0
Name The friendly name of the Feature on Demand XPS Viewer
State Tells if the Feature on Demand is installed Installed
Description Information about the capability. Allows you to read, copy, print, sign, and set permissions for XPS documents
Download size The size of the package before installation 3.43 MB
Install size The amount of disk the Feature on Demand will use after installation

Get App Package (.appx) Servicing Information

You can use the app package (.appx) servicing commands to list the provisioned apps in a Windows image. Provisioned apps will be registered for every user profile that is created for the Windows image.

For more information about app package servicing commands available in DISM, see DISM App Package (.appx or .appxbundle) Servicing Command-Line Options.

List provisioned apps in the Windows image

  1. Open Command prompt as administrator.

  2. Use DISM to list provisioned apps:

    In a mounted offline Windows image:

    Dism /image:c:\test\offline /Get-ProvisionedAppxPackages
    

    On a running operating system:

    Dism /online /Get-ProvisionedAppxPackages
    

The report generated includes the following information:

Field Description Example

DisplayName

The name of the app.

Fabrikam.Sample.CS

Version

The version number of the app package.

1.0.0.0

Architecture

The architecture of the app.

neutral

ResourceID

For more information, see App packaging glossary.

PackageName

The full name of the app package.

Fabrikam.Sample.CS_1.0.0.0_neutral_s9y1p3hwd5qda

Get International Settings and Languages

The international servicing commands can be used to query existing international settings in Windows and Windows PE images. For more information about operating system package-servicing commands available in DISM, see DISM Languages and International Servicing Command-Line Options.

Use the /online option to display information about international settings and languages in the running operating system. Use /image: <path_to_offline_image_directory> to display information about international settings and languages in the offline image. When used with the /image and /distribution options, information about international settings and languages in the distribution is displayed.

List all international settings and languages

  1. Open Command prompt as administrator.

  2. Use DISM to list information about all of the international settings in the image:

    In an offline Windows image:

    Dism /image:C:\test\offline /Get-Intl
    
    Dism /image:C:\test\offline /distribution:C:\windows_distribution\langpacks /Get-Intl
    

    On a running operating system:

    Dism /online /Get-Intl
    

The report generated includes the following information:

Field Description Example

Default system UI language

The language that is currently set as the default system UI language.

en-US

System locale

The language for non-Unicode programs (also referred to as system locale) and font settings.

en-US

Default timezone

The time zone that is currently set as the default.

Pacific Standard Time

User locale for default user

The "standards and formats" language (also referred to as user locale) that is set for the default user.

en-US

Location

The geographical location that is currently set for the operating system. For more information about geographical locations, see Table of Geographical Locations.

United States

Active keyboards

The value pair for the active keyboard. In the example provided, 0409 is the language identifier and 00000409 is the keyboard identifier.

0409:00000409

Default keyboards

The value pair for the default keyboard. In the example provided, 0409 is the language identifier and 00000409 is the keyboard identifier.

0409:00000409

Installed language(s)

A list of all installed language packs.

en-US

Type

The type of each installed language pack. For more information, see Add Language Packs to Windows.

en-US

Type: Fully localized language

ar-SA

Type: Partially localized language, MUI type

Fallback Languages en-US, fr-FR

Distribution languages

A list of the languages that are available in the distribution share.

Note

This list includes the name of the folder in the distribution share. The language of the actual LP.cab file in the folder is not validated. For example, if the path to the distribution is …\Langpacks\bg-BG\Lp.cab, the value of bg-BG will be reported as the language in the distribution share even if the LP.cab file is not the correct .cab file for bg-BG.

The default language in the distribution is: ja-JP

The other available languages in the distribution are: bg-BG, nl-NL

Keyboard layered driver

A list of the keyboard drivers for Japanese or Korean keyboards, if any are installed.

Japanese Keyboard (106/109 Key)

Get Windows Edition Information

You can use the edition-servicing commands to obtain information about which editions of Windows are available for upgrade.

Target editions are the editions of Windows that you can upgrade to. You can display information about the current edition or the target edition of an offline Windows image or a running operating system.

For more information about Windows edition servicing commands available in DISM, see DISM Windows Edition-Servicing Command-Line Options.

Get information about the current Windows editions

  1. Open Command prompt as administrator.

  2. Use DISM to list information about the current edition of the image:

    For an offline Windows image:

    Dism /image:C:\test\offline /Get-CurrentEdition
    

    For a running operating system:

    Dism /online /Get-CurrentEdition
    

Get information about target editions of Windows

  1. Open Command prompt as administrator.

  2. Use DISM to list information about the target edition of the image.

    On an offline Windows image:

    Dism /image:C:\test\offline /Get-TargetEditions
    

    On a running operating system:

    Dism /online /Get-TargetEditions
    

Get Application Patch Information

Application servicing command-line options can be used on a offline image to check the applicability of Microsoft Windows Installer application patches (.msp files) and to query your offline image for information about installed Windows Installer applications (.msi files) and application patches (.msp files).

You can display detailed information about installed MSP patches filtered by patch and application. If the /PatchCode option is specified, detailed information is displayed for all Windows Installer applications that the patch is applied to. If the /ProductCode option is specified, information about all MSP patches in the specified application is displayed.

If the /PatchCode and /ProductCode options are both specified, information is displayed only if that specific patch is applied to the specified Windows Installer application. If the /PatchCode and /ProductCode options are not specified, all installed Windows Installer packages and MSP patches are displayed.

For more information about application servicing commands available in DISM, see DISM Application Servicing Command-Line Options.

List information about installed MSP patches

  1. Open Command prompt as administrator.

  2. Use DISM to list information about the MSP patches.

    Dism /image:C:\test\offline /Get-AppPatchInfo
    
    Dism /image:C:\test\offline /Get-AppPatchInfo /PatchCode:{B0B9997C-GUID-GUID-GUID-74D866BBDFFF}
    
    Dism /image:C:\test\offline /Get-AppPatchInfo /ProductCode:{B0F9497C-GUID-GUID-GUID-74D866BBDF59}
    
    Dism /image:C:\test\offline /Get-AppPatchInfo /PatchCode:{B0B9997C-GUID-GUID-GUID-74D866BBDFFF} /ProductCode:{B0F9497C-GUID-GUID-GUID-74D866BBDF59}
    

The report generated includes the following information:

Field Description Example

Patch Code

A GUID identifying a specific Windows Installer package. The package code associates an .msi file together with an application or product and can also be used for the verification of sources.

{8ACD2816-595D-48AA-A43B-3523CAA4F692}

Product Code

A GUID that is the principal identification of an application or product.

{7764DEFC-C5D1-413C-8428-2AA903BF6DAA}

Patch Name

The registered display name for the patch. For patches that do not include the DisplayName property in the MsiPatchMetadata table, the returned display name is an empty string.

QFE9 - Non Removable

Patch State

1 if this patch is currently applied to the product.

2 if this patch has been superseded by another patch.

4 if this patch has been made obsolete by another patch.

1 (Applied)

Patch Uninstallable

1 if the patch is marked as possible to uninstall from the product. In this case, the installer can still block the uninstallation if this patch is required by another patch that cannot be uninstalled. Otherwise 0 is reported.

0

Help Link

Where to find support information, if available.

https://www.microsoft.com

Transforms

The set of patch transforms applied to the product by the last patch installation. This value may not be available for per-user unmanaged applications if the user is not logged on to the computer.

:App1RTMToApp1QFE9;:#App1RTMToApp1QFE9

Local Package

The location of the local cached patch file that is used by the product.

C:\Windows\Installer\132f5c.msp

Install Date

The date when the patch was applied to the product.

20080912

List information about MSP patches applied to an application

  1. Open Command prompt as administrator.

  2. Use DISM to list information about the MSP patches, type one of the following commands:

    Dism /image:C:\test\offline /Get-AppPatches
    
    Dism /image:C:\test\offline /Get-AppPatches /ProductCode:{B0F9497C-GUID-GUID-GUID-74D866BBDF59}
    

The report generated includes the following information:

Field Description Example

Patch Code

A GUID identifying a particular Windows Installer package. The package code associates an .msi file together with an application or product and can also be used for the verification of sources.

{8ACD2816-595D-48AA-A43B-3523CAA4F692}

Product Code

A GUID that is the principal identification of an application or product.

{7764DEFC-C5D1-413C-8428-2AA903BF6DAA}

Patch Name

The registered display name for the patch. For patches that do not include the DisplayName property in the MsiPatchMetadata table, the returned display name is an empty string.

QFE9 - Non Removable

List information about all Windows Installer applications

  1. Open Command prompt as administrator.

  2. Use DISM to list information about MSP patches:

    Dism /image:C:\test\offline /Get-Apps
    

The report generated lists the product code and product name for applications that are installed in the offline image. For example:

Product Code : {DB935363-5A68-47AF-A55A-CFC90F2E83BC}
Product Name : MsiTestApplication2

List information about a specific Windows Installer application

  1. Open Command prompt as administrator.

  2. Use DISM to list information about the patches:

    Dism /image:C:\test\offline /Get-AppInfo /ProductCode:{B0F9497C-GUID-GUID-GUID-74D866BBDF59}
    

The report generated includes the following information:

Field Description Example

Product Code

A GUID that is the principal identification of an application or product.

{DB935363-5A68-47AF-A55A-CFC90F2E83BC}

Product Name

The name of the application.

MsiTestApplication2

Product State

The installation state for the product at initialization.

-1 if the product is neither advertised nor installed.

1 if the product is advertised but not installed.

2 if the product is installed for a different user.

5 if the product is installed for the current user.

5 (Installed)

Package Code

A GUID identifying a particular Windows Installer package. The package code associates an .msi file together with an application or product and can also be used for the verification of sources.

{C67CA1AE-6074-4810-BD74-F6BBB609744A}

Product Version

The version of the product in string format.

1.0.0

Assignment Type

0 if the product is advertised or installed per-user.

1 if the product is advertised or installed per-computer for all users.

1 (Per-Machine)

Publisher

The name of the manufacturer for the product.

Microsoft MSI Test

Language

The decimal identifier for the product language.

1033

Install Source

The directory that contains the source .cab file or the source file tree of the installation package.

E:\Testpkg\App2_RTM</strong>

Package Name

The name of the original installation package.

MsiTestApplication2.msi

Help Link

Where to find support information, if available.

https://www.microsoft.com/management

Transforms

The set of patch transforms applied to the product by the last patch installation. This value may not be available for per-user unmanaged applications if the user is not logged on to the computer.

C:\Windows\Installer{BDB20E90-3ACD-450B-BBDE-61E39687C6B1}\ACBlueT02.mst

Local Package

The location of the local cached package.

C:\Windows\Installer\132f3b.msi

Install Date

The date the application was installed.

20080912

Service a Windows Image Using DISM

Deployment Image Servicing and Management (DISM) Best Practices