Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

Windows Server 2003 安裝 Windows Media Player 11 完整修改版步驟 (手動解壓、INF 修改、登錄匯入)

編輯:Windows 2003 教學

Windows Media Player 11 (WMP 11) 官方安裝程式檢查作業系統版本,拒絕在 Windows Server 2003 (NT 5.2 Build 3790) 安裝。本文提供完整繞過版本檢查的手動安裝流程:解壓安裝包、修改 update.inf 版本判斷邏輯、競態條件覆蓋還原 INF、安裝 WMF Dist 11、匯入登錄補丁、重開機驗證。

下載來源: WMP 11 完整安裝包 (wmp11.exe) 與 WMF Dist 11 (wmfdist11.exe) 需自行從 Microsoft 下載中心或可信鏡像站取得。

詳細步驟

  1. 解壓主安裝包:
    wmp11.exe /C /T:C:\WMP11_Temp (或用 WinRAR/7-Zip 直接解壓至 C:\WMP11_Temp)。
  2. 解壓子套件:
    將 wmp11.exe 與 wmfdist11.exe 分別解壓至 C:\WMP11_Temp\wmp11 與 C:\WMP11_Temp\wmfdist11。
  3. 修改 wmp11\update\update.inf 版本判斷區塊:
    找到 [Version] 區段,修改/新增以下鍵值:
MaxNtMinorVersionToUpdate=3
MaxNtMajorVersionToUpdate=5
NtBuildToUpdate=2600
NtMinorVersionToUpdate=1
NtMajorVersionToUpdate=5
MaxNtBuildToUpdate=9999
MinNtServicePackVersion=0
MaxNtServicePackVersion=512
  1. 執行 wmp11\update\update.exe 並搶在 1-2 秒內覆蓋回原版 INF:
    雙擊 update.exe 啟動安裝精靈,約 1-2 秒後 將備份的原版 update.inf 複蓋回 wmp11\update\ (安裝程式啟動後會鎖定 INF,必須在鎖定前完成覆蓋)。
  2. 繼續安裝精靈:按「下一步」完成 WMP 11 核心元件安裝。
  3. 匯入附帶登錄檔:雙擊解壓目錄中的 wmp11.reg (或同目錄 .reg 檔) 匯入登錄。
  4. 處理 WMF Dist 11 (wmfdist11\update\update.inf):
    同樣修改版本判斷區塊:
MaxNtMinorVersionToUpdate=2
MaxNtMajorVersionToUpdate=5
NtBuildToUpdate=3790
NtMinorVersionToUpdate=1
NtMajorVersionToUpdate=5
MaxNtBuildToUpdate=3790
MinNtServicePackVersion=2
MaxNtServicePackVersion=512
  1. 執行 wmfdist11\update\update.exe,同樣搶在鎖定前覆蓋 INF,完成安裝。
  2. 重新開機,即可在 Windows Server 2003 使用 WMP 11。

關鍵技術細節解析

檔案/步驟作用關鍵點
update.inf 版本判斷安裝程式依此決定是否允許在當前 OS 版本安裝將 Server 2003 (Build 3790) 納入允許範圍
競態條件覆蓋 INF安裝精靈啟動後會鎖定 INF,若不覆蓋回原版會導致版本檢查失敗需在 1-2 秒內完成,建議寫批次檔自動化
WMF Dist 11Windows Media Format 11 執行階段元件,WMP 11 核心依賴版本判斷需精確匹配 Build 3790
登錄補丁註冊 COM 元件、檔案關聯、DRM 憑證存放區等不可省略,否則 WMP 11 功能不全

自動化批次檔範例 (參考)

@echo off
set WORKDIR=C:\WMP11_Temp
cd /d %WORKDIR%\wmp11\update
copy update.inf update.inf.bak
:: 這裡需先用 sed/工具修改 update.inf,略
start /wait update.exe
timeout /t 2
copy /y update.inf.bak update.inf
:: 繼續安裝...
風險提醒:此為非官方支援安裝方式,可能導致:
  • Windows Update 重複推送 WMP 11/更新失敗。
  • DRM/受保護內容播放異常。
  • 系統穩定性未經驗證,生產環境請謹慎評估。
建議:若非必要,優先使用 WMP 9/10 (原生支援) 或改用 VLC/MPC-HC 等第三方播放器。

掌握 INF 版本判斷修改與競態覆蓋技巧,不僅能在 Server 2003 安裝 WMP 11,同樣原理可應用於其他受版本檢查限制的 Microsoft 元件安裝 (如 IE 7/8、.NET Framework 特定版本等),是系統整合與精簡封裝的核心技能。

Copyright © Windows教程網 All Rights Reserved