Group-Policy

通過組策略解除安裝 Office 2007 後部署 Office 2010

  • April 16, 2012

我正在嘗試自動解除安裝/安裝 Office。刪除 2007,安裝 2010。我已經下載了 OCT 並根據需要進行了更改。在那裡我可以選擇“刪除以下早期版本的 Microsoft Office 程序:”並且您可以選擇要刪除的內容(預設刪除全部),或者您可以選擇選項“預設安裝行為;已安裝程序的早期版本被刪除。 "

最初我嘗試了預設選項,但它給了我以下錯誤。然後我嘗試手動選擇第二個選項,但將它們全部保留為“刪除”。結果相同。

我正在嘗試通過組策略完成此操作,並且還下載並安裝了 ADM 模板,為此 OU 創建一個 GPO 以進行測試,等等。使用 2008 Server。

我在網上看到其他人出現同樣的錯誤,說明通常是“先刪除舊版本”或使用我過去成功使用過的第三方工具(Revo),但在單獨解除安裝/安裝的基礎上,而不是通過 GPO。我的最終結果是筆記型電腦在給定的一天啟動,引用 GPO,如果它有 2007,它會解除安裝 2007 並安裝 2010。

這是我遇到的錯誤,我敢肯定這不是什麼新鮮事,因為它在網上相當流行。

You cannot install the 64-bit version of Office 2010 because you have 32-bit Office products installed. These 32-bit products are not supported with 64-bit installations:

       Microsoft Office Professional Plus 2007

If you want to install 64-bit Office 2010, you must uninstall all 32-bit Office products first, and then run setup.exe in the x64 folder. If you want to install 32-bit Office 2010, close this Setup program, and then either go to the x86 folder at the root of your CD or DVD and run setup.exe, or get the 32-bit Office 2010 from the same place you purchased 64-bit Office 2010.

這是我在 ProPlus.WW 下的 config.xml 文件中的內容:

REM Get ProductName from the Office product's core Setup.xml file, and then add "office14." as a prefix. 
set ProductName=Office14.PROPLUS

REM Set DeployServer to a network-accessible location containing the Office source files.
set DeployServer=\\filesvr\shared\Office2010

REM Set ConfigFile to the configuration file to be used for deployment (required)
set ConfigFile=\\filesvr\shared\Office2010\ProPlus.WW\config.xml

REM Set LogLocation to a central directory to collect log files.
set LogLocation=\\filesvr\shared\Office2010\LogFiles

任何關於該主題的想法將不勝感激,謝謝!

看起來您正在嘗試安裝 64 位版本的 Office 2010。如果您嘗試解除安裝 32 位版本的 Office 2007,這將不起作用。原因是 64 位系統上的 32 位應用程序-bit OS 在 Windows on Windows (WoW) 下執行,這是在 native-OS 之上提供的兼容層,以便 32 位應用程序可以正常執行。應用程序通常無法在兩個層之間進行互動,這就是您收到此錯誤的原因。

無論如何,我建議您不要安裝 64 位版本的 Office。根據Microsoft的指導,64 位版本的唯一優勢是,如果您的使用者擁有非常大的數據集,需要利用 64 位應用程序提供的額外地址空間。由於您目前使用的是 32 位版本的 Office,我認為這對您來說不是問題。修復您的安裝包以部署 32 位版本。

引用自:https://serverfault.com/questions/380023