如何讓域用戶一登錄就運行腳本去卸載已安裝的OFFICE 2003軟件???我想用組策略推送OFFICE2007但推了進去OUTLOOK不能用了,我已知道是OUTLOOK 2003和2007不能共存才導致的,所以現在想先登錄就用腳本去卸在原來的OFFICE2003 之後在推送OFFICE 2007。請問這腳本如何編寫?
回答:根據您的描述,我理解爲您想知道如何編寫域用戶一登陸就卸載Office 2003的腳本。一臺機器上是僅允許一個Outlook版本運行。如果您是想在原來Office 2003的機器上使用Office 2007, 您有沒有試過使用直接升級到Office 2007呢?
下面相關的文章供您參考:
Use Group Policy Software Installation to deploy the 2007 Office system
http://technet.microsoft.com/en-us/library/cc179214(office.12).aspx
經過進一步的研究,下面的信息供您參考:
如果您想直接升級到Office 2007並且要刪除以前的Office 2003的話,您可以使用OCT和Office 2007 system Administrative Template files 來進行。
2007 Office system Administrative Template files (ADM, ADMX, ADML) and Office Customization Tool version 2.0
http://www.microsoft.com/downloads/en/details.aspx?familyid=92d8519a-e143-4aee-8f7a-e4bbaeba13e7&displaylang=en
您在應用了Template之後,在OCT中應該有一個選項是選擇是不是需要刪除以前的版本。
這裏是一篇關於Office 2010的文章(Office 2007也是類似的)或許會有所幫助,“Customize your setup”部分講到了“Remove previous installations”選項:
How to deploy office 2010 using GPO and OCT
http://community.spiceworks.com/how_to/show/1503
供您參考,您也可以通過domain logon script來升級軟件,對於具體的腳本如何編寫,這個可能還得需要開發工程師幫忙,下面的文章供您參考:
1. Creating logon scripts
http://technet.microsoft.com/en-us/library/cc758918(WS.10).aspx
2. Use Group Policy to assign computer startup scripts for 2007 Office deployment
http://technet.microsoft.com/en-us/library/cc179134(office.12).aspx
3. Deploy Office 2010 by using Group Policy computer startup scripts
http://technet.microsoft.com/en-us/library/ff602181.aspx
4. How to Run a Domain Logon Script in the Foreground with the Start.exe Command-Line Tool
http://support.microsoft.com/kb/265016#appliesto
5. How to Hide the Logon Script Dialog Box on a Windows Client
http://support.microsoft.com/kb/176197
Sophie 微軟全球技術支持中心
組策略卸載Office的相關文章請參考