支援的 Service Pack 2 為 Windows Vista 及 Windows Server 2008 也不會包含在 Microsoft 部署工具組 2008年更新 1

重要:本文是以 Microsoft 機器翻譯軟體翻譯而成,而非使用人工翻譯而成。Microsoft 同時提供使用者人工翻譯及機器翻譯兩個版本的文章,讓使用者可以依其使用語言使用知識庫中的所有文章。但是,機器翻譯的文章可能不盡完美。這些文章中也可能出現拼字、語意或文法上的錯誤,就像外國人在使用本國語言時可能發生的錯誤。Microsoft 不為內容的翻譯錯誤或客戶對該內容的使用所產生的任何錯誤或損害負責。Microsoft也同時將不斷地就機器翻譯軟體進行更新。

按一下這裡查看此文章的英文版本:971943
本文已封存。本文係以「現狀」提供且不會再更新。
徵狀
您 Windows Vista Service Pack 2 (SP2) 或 Windows Server 2008 Service Pack 2 將匯入 Microsoft 部署工具組 2008年更新 1 後您會發現不支援在 Microsoft 部署工具組中的 Service Pack 2。在精簡式部署期間在 支援的平台 清單和語言套件缺乏包括缺乏 Service Pack 2 的支援。
發生的原因
釋放 Microsoft 部署工具組 2008年更新 1 Service Pack 2 發行之前。因此,部署工具組 2008年更新 1 不包含支援 Windows Vista SP2,以及 Windows Server 2008 SP2。
其他可行方案
如果要解決這個問題,管理員可以手動新增 Service Pack 2 支援 Microsoft 部署工具組來更新 ZTISupportedPlatforms.xml 和 DeployWiz_Initialization.vbs 檔案。

支援的平台修正

To add support for Windows Vista SP2 and for Windows Server 2008 SP2 in the Supported Platforms list, add the following entries to the ZTISupportedPlatforms.xml file:
<SupportedPlatform name="x86 Windows Vista Service Pack 2">       <Expression><![CDATA[SELECT * FROM Win32_OperatingSystem WHERE Version like '6.0%' AND OSType=18 AND ServicePackMajorVersion = 2 AND ProductType=1]]></Expression>       <Expression><![CDATA[SELECT * FROM Win32_OperatingSystem WHERE OSArchitecture like '32%']]></Expression></SupportedPlatform><SupportedPlatform name="x64 Windows Vista Service Pack 2">       <Expression><![CDATA[SELECT * FROM Win32_OperatingSystem WHERE Version like '6.0%' AND OSType=18 AND ServicePackMajorVersion = 2 AND ProductType=1]]></Expression>       <Expression><![CDATA[SELECT * FROM Win32_OperatingSystem WHERE OSArchitecture like '64%']]></Expression>	</SupportedPlatform><SupportedPlatform name="x86 Windows Server 2008 Service Pack 2">       <Expression><![CDATA[SELECT * FROM Win32_OperatingSystem WHERE Version like '6.0%' AND OSType=18 AND ServicePackMajorVersion = 2 AND ProductType>1]]></Expression>       <Expression><![CDATA[SELECT * FROM Win32_OperatingSystem WHERE OSArchitecture like '32%']]></Expression></SupportedPlatform><SupportedPlatform name="x64 Windows Server 2008 Service Pack 2">       <Expression><![CDATA[SELECT * FROM Win32_OperatingSystem WHERE Version like '6.0%' AND OSType=18 AND ServicePackMajorVersion = 2 AND ProductType>1]]></Expression>       <Expression><![CDATA[SELECT * FROM Win32_OperatingSystem WHERE OSArchitecture like '64%']]></Expression></SupportedPlatform>
ZTISupportedPlatforms.xml 檔案可能存在於多個位置的注意事項。比方說如果您安裝 Microsoft 部署工具組 2008年更新 1 C:\program Files\Microsoft 部署工具組] 目錄中,並在 C:\distribution 目錄中建立實驗室部署共用,就會發現檔案也位於下列目錄:
C:\Distribution\Scripts\ZTISupportedPlatforms.xml
C:\Program Files\Microsoft 部署 Toolkit\Scripts\ZTISupportedPlatforms.xml
C:\Program Files\Microsoft 部署 Toolkit\Templates\Distribution\Scripts\ZTISupportedPlatforms.xml

語言封裝處理

若要加入 Windows Vista SP2 和 Windows Server 2008 SP2 語言套件的支援,以手動方式編輯 DeployWiz_Initialization.vbs] 檔案,並取代現有的 ConstructLPQuery() 函式,以下列文字:
Function ConstructLPQuery ( isLangPack )       Dim Keyword       Dim isServer       Dim ImgBuild       Dim SPVersion       Dim LPQuery       Dim LPVersion       Dim i       isServer  = inStr(1,oEnvironment.Item("ImageFlags"),"SERVER",vbTextCompare) <> 0       ImgBuild  = oEnvironment.Item("ImageBuild")       If not isLangPack then              LPQuery = "Type != 'LanguagePack' and (ProductVersion = '" & ImgBuild & "' or ProductVersion = '') "       ElseIf isServer and left(ImgBuild,4) = "6.0." then              ' All Windows Vista Language Packs use Product Version 6.0.6001.18000.              LPQuery = "Type = 'LanguagePack' and Name = 'Microsoft-Windows-Server-LanguagePack-Package' and  ProductVersion = '6.0.6001.18000' "       ElseIf left(ImgBuild,4) = "6.0." then              ' All Windows Server 2008 Language Packs use Product Version 6.0.6000.16386.              LPQuery = "Type = 'LanguagePack' and Name = 'Microsoft-Windows-Client-LanguagePack-Package' and  ProductVersion = '6.0.6000.16386' "       ElseIf isServer then              LPQuery = "Type = 'LanguagePack' and Name = 'Microsoft-Windows-Server-LanguagePack-Package' and  ProductVersion = '" & ImgBuild & "' "       Else              LPQuery = "Type = 'LanguagePack' and Name = 'Microsoft-Windows-Client-LanguagePack-Package' and  ProductVersion = '" & ImgBuild & "' "       End if       If left(ImgBuild,4) = "6.0." then              LPVersion = Mid(ImgBuild,8,1)              If IsNumeric(LPVersion) and LPVersion > 0 then                     ' Exclude all Language Packs that are less than the Current OS.                     LPQuery = LPQuery & " and Keyword != 'Language Pack'"                     For i = 2 to LPVersion                           LPQuery = LPQuery & " and Keyword != 'SP" & (LPVersion - 1) & " Language Pack'"                     Next              End if       ElseIf IsServer then              ' Windows Server 2008 R2 Beta 1 uses SP1.              LPQuery = LPQuery & " and (Keyword = 'Language Pack' or Keyword = 'SP1 Language Pack' )"       Else              ' Windows 7 defined as RTM.              LPQuery = LPQuery & " and (Keyword = 'Language Pack')"       End if       If UCase(oEnvironment.Item("ImageProcessor")) = "X64" then              LPQuery = "//packages/package[ProcessorArchitecture = 'amd64' and " & LPQuery & "]"       Else              LPQuery = "//packages/package[ProcessorArchitecture = 'x86' and " & LPQuery & "]"       End if       oLogging.CreateEntry vbTab & "QUERY: " & LPQuery, LogTypeInfo       ConstructLPQuery = LPQueryEnd function 
DeployWiz_Initialization.vbs 檔案可能存在於多個位置的注意事項。比方說如果您安裝 Microsoft 部署工具組 2008年更新 1 C:\program Files\Microsoft 部署工具組] 目錄中,並在 C:\distribution 目錄中建立實驗室部署共用,就會發現檔案也位於下列目錄:
C:\Distribution\Scripts\DeployWiz_Initialization.vbs
C:\Program Files\Microsoft 部署 Toolkit\Templates\Distribution\Scripts\DeployWiz_Initialization.vbs
狀況說明
Microsoft 已確認 Microsoft 部署工具組 2008年更新 1 並不提供支援 Windows Vista SP2,以及 Windows Server 2008 SP2。< 其他可行方案 > 一節中所述的方法將支援 Windows Vista SP2,以及 Windows Server 2008 SP2 新增到 Microsoft 部署工具組 2008年更新 1。
mdt 2008 lti

警告:本文為自動翻譯

內容

文章識別碼:971943 - 最後檢閱時間:01/16/2015 18:16:58 - 修訂: 1.0

Windows Vista Service Pack 2, Windows Server 2008 Service Pack 2

  • kbnosurvey kbarchive kbmt kbexpertiseinter kbtshoot kbsurveynew kbprb KB971943 KbMtzh
意見反應