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:
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:
• 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:
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.)