[x]

Site Alert(s):

  • Server maintenance Saturday Nov 22, 2008, 12:00 PM - 3:00 PM. The Knowledge Center will be unavailable during this time.
Rate this Article:
You must be signed in to rate again
Article Feedback Print View
Alternate Languages:

How to Silently Install and Uninstall Multiple Presentation Server (.MSP) Hotfixes

Document ID: CTX110104   /   Created On: Jun 5, 2006   /   Updated On: Oct 17, 2007
Average Rating: 2

Summary

This document describes how to silently install and uninstall multiple hotfixes.

Procedure

To install multiple hotfixes:

1. Place all of the hotfixes into one location (for example, C:\hotfix).

2. Create a batch file with the following text:

    Start /wait Msiexec /p C:\hotfix\PSE400R01W2K3009.msp /qn /norestart
    /wait - waits for msiexec to complete and exit before moving on
    /p - package
    /qn - no user interaction
    /norestart - prevents the server from rebooting between hotfixes
    PSE400R01W2K3009.msp = your hotfix number

3. Place one line for each hotfix you wish to install.

4. Run the batch file.

5. Restart the server. (You may be able to incorporate a SHUTDOWN command at the end of the batch file.)

To uninstall multiple hotfixes:

• Silently uninstalling a hotfix or using Msiexec.exe to uninstall requires the PatchCode and ProductCode from the hotfix. To determine the PatchCode and ProductCode, run the following command from the command line:

    Cpatch /l

• The following appears on the screen for all the hotfixes:

    ******************Hotfix Information******************
    HotfixName = PSE400W2K3003
    HotfixLocalPackage = C:\WINNT\Installer\ce46d.msp
    PatchCode = {36450415-13C8-4539-8BB6-00EFAF445281}

    ProductName = Citrix MetaFrame Presentation Server for Windows
    ProductVersion= 4.0.1
    ProductCode= {876580E3-2E52-4F48-A7B8-298B9D795970}

    ProductLanguage= 1033
    InstalledBy = NW\SVCRBWinBld
    InstallDate = 20060130
    InstalledOn = 1138666478
    Install Date = Jan 30, 2006
    Install Time = 16:14:38
    HotfixSequence = 4.0.2198.3
    MoreInfoURL = http://support.citrix.com/article/CTX106774
    CreationTimeUTC = 06-17-2005 19:32
    Classification = Hotfix
    PatchState = 1
    ReplacesCount = 0
    Valid = 0
    FileCount = 2
    FileName = CPatch.exe FileVersion = 4.0.2198.1
    FileName = cpsvc.exe FileVersion = 4.0.2199.1

Note: The ProductCode is the same for all hotfixes and the PatchCode is unique to each hotfix.

• To remove a hotfix from the server using Msiexec.exe, use the following command:

    Msiexec /uninstall <PatchCode> /package <ProductCode>
    The command looks like this when filled in with the PatchCode and ProductCode from the Cpatch /l output, along with switches to suppress user interaction and reboot:
    Msiexec /uninstall {36450415-13C8-4539-8BB6-00EFAF445281} /package {876580E3-2E52-4F48-A7B8-298B9D795970} /qn REBOOT="ReallySuppress"

The multiple uninstall commands can be placed in a batch file (see above) and executed to remove the hotfixes. Restart the server when the batch file is completed. (You may be able to incorporate a SHUTDOWN command at the end of the batch file.)


Search
Knowledge Center
XenApp
XenApp Plugins (Clients)
XenServer
XenDesktop
NetScaler Application Delivery
Access Gateway
EdgeSight
Provisioning Server
WANScaler
Password Manager
Does it work with Citrix? Verify it - introducing the new Citrix Ready Community Verified