Vista下.msu格式的Windows 补丁包安装卸载指南

Vista下.msu补丁安装卸载指南

[说明]

本文主要描述如何在Vista如何安装卸载.msu格式的补丁,以KB961371补丁为例。系统为Vista SP2 Ultimate。

[安装]
wusa d:\Windows6.0-KB961371-x86.msu /quiet /norestart

[卸载]
1.解压msu文件到一个目录:
Expand /f:* Windows6.0-KB961371-x86.msu c:\Patch
2.在解压后的目录中找到其中的xml文件,找到assemblyidentity节点,按下列顺序拼接节点属性的值。
name~publickeytoken~processArchitecture~~version

即在c:\patch中找到xml,拼接后的值为:

Package_for_KB961371~31bf3856ad364e35~x86~~6.0.1.4


3.卸载命令:

start /w pkgmgr /up:name~publickeytoken~processArchitecture~~version /quiet /norestart

在本例中为:

start /w pkgmgr /up:Package_for_KB961371~31bf3856ad364e35~x86~~6.0.1.4 /quiet /norestart

[参考文档]
Description of the Windows Update Stand-alone Installer (Wusa.exe) and of .msu files in Windows Vista and in Windows Server 2008
http://support.microsoft.com/kb/934307

Package Manager Command-Line Options
http://technet.microsoft.com/en-us/library/cc749465(WS.10).aspx

Hotfix uninstall on Server 2008 Core?
http://episteme.arstechnica.com/eve/forums/a/tpc/f/12009443/m/191007958931

你可能感兴趣的:(c,windows,xml,Microsoft,UP)