Export (0) Print
Expand All

Find Applicable Updates Using Package Scanner (Standard 7 SP1)

7/8/2014

Package Scanner is a tool that allows you to examine a running installation of Windows Embedded Standard 7, or an offline Standard 7 image, and compare that information with one or more downloaded updates to see which updates are applicable to the scanned image.

This functionality can be used for devices that do not have Internet connectivity and thus cannot run Windows Update. It is also useful for devices whose updates need to be carefully monitored or selected.

In addition to listing which updates are applicable, you can use Package Scanner to create a configuration set and answer file for those updates that can then be applied to the image by using Deployment Image Servicing and Management (DISM).

You can also use an exclusion file to exclude some update folders or files from the scan. For more information, see Package Scanner Technical Reference.

Ff794914.note(en-US,WinEmbedded.60).gifNote:
If you use DISM to apply the resulting updates to a running Standard 7 installation, you might be prompted to reboot your device to finish the installation.

  • You have access either to the device currently running Standard 7 or access to a Windows Imaging WIM file containing a Standard 7 image that you want to check updates for and have mounted that WIM file to access its contents.
  • You have access to one or more downloaded updates in either .CAB or .MSU formats.
  • You have installed Standard 7 Toolkit on a development computer.
Ff794914.note(en-US,WinEmbedded.60).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, type the following at a command prompt to scan the currently running operating system and then look for applicable updates in the indicated folder, replacing <update_directory> with the full path of the folder your updates are located in:

    pkgscn /Find-Updates /Package-Path: <update_directory>
    
Ff794914.note(en-US,WinEmbedded.60).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 want to use an exclusion file to limit which updates are scanned, type the following example at a command prompt to scan the currently running operating system and looks for applicable updates in the indicated folder which are not excluded by your exclusion file, replace <update_directory> with the full path of the folder your updates are located in and <exclusion_file> with the full path to your exclusion file:
    Pkgscn /Find-Updates /Package-Path: <update_directory> /ExclusionFile: <exclusion_file>
    
  • If you are running Package Scanner from another system on a mounted offline Standard 7 image, type the following at a command prompt to scan the mounted image, replacing <mount_directory> with the directory the image is mounted to and <update_directory> with the full path of the folder your updates are located in:
    pkgscn /Find-Updates /Image: <mount_directory> /Package-Path: <update_directory>
    

  • If you are running Package Scanner on the device you want to scan and want to scan the currently running operating system, look for applicable updates and then create a configuration set and answer file with those updates, type the following at a command prompt, replacing <update_directory> with the full path of the folder your updates are located in and <config_set_directory> with the full path of the directory you want to create the configuration set and answer file in>:

    pkgscn /Find-Updates /Package-Path: <update_directory> /ConfigSetDir: <config_set_directory>
    
  • If you want to use an exclusion file to limit which updates are scanned, type the following at a command prompt to scan the currently running operating system, look for applicable updates which are not excluded by your exclusion list, then creates a configuration set and answer file with those updates. Replace <update_directory> with the full path of the folder your updates are located in, <exclusion_file> with the full path to your exclusion file and <config_set_directory> with the full path of the directory you want to create the configuration set and answer file in:

    Pkgscn /Find-Updates /Package-Path: <update_directory> /ExclusionFile: <exclusion_file> /ConfigSetDir: <config_set_directory>
    
  • If you are running Package Scanner from another system on a mounted offline Standard 7 image, type the following at a command prompt to scan the mounted image, replacing <mount_directory> with the directory the image is mounted to, <update_directory> with the full path of the folder your updates are located in and <config_set_directory> with the full path you want to create the configuration set and answer file in:

    pkgscn /Find-Updates /Image: <mount_directory> /Package-Path: <update_directory> /ConfigSetDir: <config_set_directory>
    
    
Show:
© 2014 Microsoft