CTX105646
XenApp
XenApp 6_5 for Windows Server 2008 R2,XenApp 6_0 for Windows Server 2008 R2,XenApp 5_0 for Windows Server 2008
Installation/Upgrade
2016-04-15
2015-01-23
This article has information on the Citrix patch handling utility - cpatch.exe.

Information

The Citrix patch handling utility (cpatch.exe) is useful for installation and removal of Citrix patches, such as service packs and hotfixes. The utility is also useful for obtaining information regarding installed patches. The Citrix patch handling utility is automatically installed by default during the XenApp installation.

Usage

To display the Citrix patch handling utility usage, open a command (cmd.exe) window and execute cpatch command with no command-line options:

 >cpatch Citrix Patch handling utility Options... /l [ProductCode] List the Citrix Patches installed for [ProductCode]. If no ProductCode is specified patches for all the Citrix products are enumerated. /u [PatchCode]/[PatchFile]/[HotfixName] Remove a Citrix patch from all the applicable products. /p [PatchPackage] Apply [PatchPackage] to all applicable products /a [PatchPackage] [ProductLocation] Apply [PatchPackage] to the administrative install for Product located at [ProductLocation]. /r Lists the Citrix products installed on this server. /i [PatchCode]/[PatchFile]/[HotfixName] Displays information about a Citrix patch. 

Information Regarding Installed Patches

In order to obtain information regarding the installed patches, refer to the following:

/r option

The??& /r option??& is used to list the Citrix products installed on the server:

 >cpatch /r ******************Product Information****************** ProductName = Citrix XenApp 6.5 ProductCode = {1471A89F-8CAB-4C46-89AB-942432D1DD3D} ProductLanguage = 1033 ProductVersion = 6.5.0.0

/l option

The??& /l option??& is used to list which Citrix patches are installed for specific products, as well as obtain information regarding the patch, such as the PatchName, PatchCode, InstalledBy, InstalledDate/Time, and specific file size or version of files updated with the patch.

  • To list all Citrix patches applied to all Citrix products, use /l without specifying a product code as follows:

     >cpatch /l
  • To list all Citrix patches applied to a specific product, specify the product code with the /l option. Following is a sample output for this option:

     >cpatch /l {1471A89F-8CAB-4C46-89AB-942432D1DD3D} ******************Hotfix Information****************** HotfixName = XA650W2K8R2X64R01 HotfixLocalPackage = C:\Windows\Installer\2598b760.msp PatchCode = {343BE097-0B21-F62C-9D0A-886C9D142DBF} ProductName = Citrix XenApp 6.5 ProductVersion= 6.5.0.0 ProductCode= {1471A89F-8CAB-4C46-89AB-942432D1DD3D} ProductLanguage= 1033 InstalledBy = CASOD\ctxadmin InstallDate = 20120712 InstalledOn = 1342105262Install Date = Jul 12, 2012 Install Time = 16:01:02 HotfixSequence = 6.5.6500.1 MoreInfoURL = http://support.ctx.org.cn/CTX132122.citrix CreationTimeUTC = 5/30/2012 5:08:30 PM Classification = HRP PatchState = 1 ReplacesCount = 31 Replaces[0] = XA650W2K8R2X64001 Replaces[1] = XA650W2K8R2X64002 Replaces[2] = XA650W2K8R2X64003Replaces[3] = XA650W2K8R2X64004 Replaces[4] = XA650W2K8R2X64005 …

    Because the output might be lengthy for large and/or numerous patches, piping the output into more??& command can be used to pause after one screen full of information is displayed:

     >cpatch /l | more 

    Or the output can be redirected to a text file:

     >cpatch /l > C:\cpatch.txt 

/i option

In certain instances, you might only desire to see information for one particular patch, rather than all patches, or all patches applied to a particular product. In this instance the??& /i??& switch is useful. The??& /i??& switch can be used with the patch file name, patch code, or patch name to display information about one patch only. Following is a sample output for this option:

 >cpatch /i {343BE097-0B21-F62C-9D0A-886C9D142DBF} >cpatch /i XA650W2K8R2X64R01 >cpatch /i C:\Windows\Installer\2598b760.msp [HotfixlocalPackage value]

Installing Patches

To install a patch, use the??& /p??& option and the patch is installed to the specific product.

 >cpatch /p XA650W2K8R2X64R01.msp 

Follow the patch installation wizard to complete the installation.

Removing Patches

To remove a patch, use the??& /u??& option and the patch is removed from the specific product. You can either specify the PatchCode or PatchName (from the cpatch /l output), or the patch file name.

 >cpatch /u {343BE097-0B21-F62C-9D0A-886C9D142DBF} >cpatch /u XA650W2K8R2X64R01 >cpatch /u C:\Windows\Installer\2598b760.msp [HotfixlocalPackage value] 

Follow the patch uninstallation wizard to complete the removal.


 

Join the conversation

Citrix Discussions

Open a case

Citrix Support

特别说明


本文来源为Citrix.com所有,翻译后版权归翻译者所有.如需转载请注明出处.

文档版本


.

广告招租


最新留言


.

广告招租


.