Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

List Installed Packages Using Package Scanner

3/21/2011

Package Scanner is a tool that allows you to list all installed packages on a running installation of Windows Embedded Standard 7 or an offline Standard 7 image. This includes packages originally configured in Image Configuration Editor or Image Builder Wizard, as well as packages added later with Deployment Image Servicing and Management (DISM) and any updates that have been applied.

This list can also be saved as an answer file to serve as a record of the image contents or can be opened in Image Configuration Editor to build more images with the same packages and updates as the scanned image.

Ff793958.note(en-US,WinEmbedded.1001).gifNote:
Any settings that were configured in the original answer file, as well as any third-party files you added, will not be included in the list of installed packages or the answer file generated by Package Scanner.
  • You have access either to the device currently running Standard 7 that you want to scan, or to a Windows Imaging WIM file containing a Standard 7 image you want to scan and have mounted that WIM file to access its contents.
  • You have installed Standard 7 Toolkit on a development computer.
Ff793958.note(en-US,WinEmbedded.1001).gifNote:
If you need to access Package Scanner on a network share or on a device without network capability, the correct files and directory structure are required for Package Scanner to function. For more information, see CopyPkgScn Command-Line Options.
  • If you are running Package Scanner on the device you want to scan, the following example will scan the currently running operating system:

    pkgscn /Get-Packages
    
Ff793958.note(en-US,WinEmbedded.1001).gifNote:
When running Package Scanner, it is assumed that your Windows root directory is \Windows, but this can be overridden by using the /image parameter. For more information, see Package Scanner Technical Reference.
  • If you are running Package Scanner from another system on an offline Standard 7 image mounted as d:\mount, the following example will scan the mounted image:
    pkgscn /Get-Packages /Image:d:\mount
    
  • If you are running Package Scanner on the device you want to scan, the following example will scan the currently running operating system and create an answer file based on the installed packages called AutoUnattend.xml in the directory c:\answerfile:

    pkgscn /Get-Packages /ConfigSetDir:c:\answerfile
    
  • If you are running Package Scanner from another system on an offline Standard 7 image mounted as d:\mount, the following example will scan the image and create an answer file based on the installed packages called AutoUnattend.xml in the directory c:\answerfile:

    pkgscn /Get-Packages /Image:d:\mount /ConfigSetDir:c:\answerfile
    
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.