This script installs updates (language packs, security updates, and so on) that are listed in the Packages.xml file. The script self-terminates if the deployment is not in one of the following states:

·     Phase equals PREINSTALL

·     DeploymentMethod equals SCCM

The script starts Pkgmgr if DeploymentMethod equals SCCM.

 

Value

Description

Input

Environment variables. Contains the property values, custom property values, database connections, deployment rules, and other information that the scripts require to complete the deployment process

Output

·     ZTIPatches.log. Log file that contains events that this script generates

·     BDD.log. Log file that contains events that all MDT scripts generate

References

·     Expand.exe. Expands compressed files

·     Pkgmgr.exe. Installs or updates Windows Vista offline

·     ZTIConfigFile.vbs. Includes routines for processing XML files

·     ZTIUtility.vbs. Includes support functions and subroutines that the script uses

Location

distribution\Scripts

Use

cscript ZTIPatches.wsf </debug:value>

 

Arguments

Value

Description

/debug:value

Outputs the event messages to the console and to the .log files. If the value specified in value is:

·     TRUE, event messages are sent to the console and the .log files

·     FALSE, event messages are sent only to the .log files (This is the behavior when the argument is not provided.)

 

Properties

Name

Read

Write

Architecture

˜

 

CustomPackageSelectionProfile

˜

 

DeployRoot

˜

 

DeploymentMethod

˜

 

DeploymentType

˜

 

DestinationLogicalDrive

˜

 

LanguagePacks

˜

 

OSDAnswerFilePath

˜

 

OSDPlatformArch

˜

 

PackageSelectionProfile

˜

 

Phase

˜

 

ResourceRoot

˜

 

 

Related Topics

Scripts