通过组策略卸载Office 2007后部署Office 2010

我正试图自动卸载/安装Office。 删除2007年,安装2010年。我已经下载了OCT,并根据需要进行了更改。 在那里,我可以select“删除以下Microsoft Office程序的早期版本”:您可以select要删除的内容(默认全部删除),也可以select“默认安装”行为;删除早期版本的安装程序。 “

最初我尝试了默认选项,但它给了我下面的错误。 然后我尝试手动select第二个选项,但留下他们全部为“删除”。 相同的结果。

我试图通过组策略来完成这项工作,并且已经下载并安装了ADM模板,为此OU创build一个GPO以供testing等。使用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 

任何关于这个问题的想法将不胜感激,谢谢!

看起来您正尝试安装Office 2010的64位版本。如果您尝试卸载32位版本的Office 2007,则无法正常工作。原因是,64位版本的32位应用程序位操作系统运行在Windows上的Windows(WoW),这是在本机操作系统之上提供的兼容层,以便32位应用程序可以正常运行。 应用程序通常不能在两个层之间进行交互,这就是为什么你得到这个错误。

无论如何,我build议您不要安装64位版本的Office。 根据Microsoft的指导,对于64位版本来说,唯一的好处是如果您的用户具有非常大的数据集,需要利用64位应用程序提供的附加地址空间。 由于您目前使用的是Office的32位版本,因此我认为这不会对您造成任何问题。 修复安装包以替代部署32位版本。

正如你可能怀疑的,答案是错误的。 您不能使用OCT将32位版本的Office升级到64位版本。 就那么简单。

这应该对你有所帮助 2007年将需要与2010年安装分开卸载。