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.
Supporto Citrix
Traduzione automatica
Questo articolo ??& ¨ stato tradotto da un sistema di traduzione automatica e non ??& ¨ stata valutata da persone. Citrix fornisce traduzione automatica per aumentare l'accesso per supportare contenuti; tuttavia, articoli automaticamente tradotte possono possono contenere degli errori. Citrix non ??& ¨ responsabile di incongruenze, errori o danni derivanti dell'uso di articoli automaticamente tradotte.
Citrix技術支持
自動翻譯
這篇文章被翻譯由一個自動翻譯系統,並沒有受到人們的審查。 Citrix提供自動翻譯,增加獲得支持的內容;但是,自動翻譯的文章可能可以包含錯誤。思傑不負責不一致,錯誤或損壞因使用自動翻譯的文章的結果。
Поддержка Citrix
Tradução automática
Эта статья была переведена автоматической системой перевода и не был рассмотрен людьми. Citrix обеспечивает автоматический перевод с целью расширения доступа для поддержки контента; Однако, автоматически переведенные статьи могут может содержать ошибки. Citrix не несет ответственности за несоответствия, ошибки, или повреждения, возникшие в результате использования автоматически переведенных статей.
시트릭스 지원
자동 번역
이 문서 자동 번역 시스템에 의해 번역 된 사람들에 의해 검토되지 않았다. 시트릭스는 컨텐츠를 지원하기 위해 접근을 높이기 위해 자동 번역을 제공합니다; 그러나, 자동으로 번역 기사 오류를 포함 할 수있다. 시트릭스는 자동으로 번역 된 기사의 사용의 결과로 발생하는 불일치, 오류 또는 손해에 대해 책임을지지 않습니다.