/build/static/layout/Breadcrumb_cap_w.png

Activating Office 2003 OEM during Postinstall

I'm sure that most out there aren't running OEM (or Office 2003), but for anyone who might be in the same boat, here's how to reset/remove the EULA and activation (for testing) and an AutoIT script for agreeing to the EULA, activating Office 2003 and disabling Customer Feedback. I had to dig for a while to find the reset stuff, so hopefully will save someone else some time.

John
__________________________________________

Reset Office 2003 EULA & Activation
__________________________________________

Used for testing Office 2003 activation script without having to redo entire scripted install.
_______________________

Remove Office 2003 Activation
_______________________

Remove/delete files from here:

C:\Documents and Settings\All Users\Application Data\Microsoft\OFFICE\DATA

OPA11.BAK
opa11.dat
_______________________

Remove EULA Acceptance
_______________________

Delete long ###### folder under here

HKLM\SOFTWARE\Microsoft\Office\11.0\Registration\
_______________________

Open MS Office app (i.e. Excel), re-enter product key, then decline EULA to close.

Run activateo2k3.exe AutoIT script and tweak as needed.
__________________________________________

Code for AutoIT script (compiled to activateo2k3.exe and run as a postinstall task during scripted install)
__________________________________________

; open Excel
Run("C:\Program Files\Microsoft Office\OFFICE11\excel.exe")
; activate Office 2003 via Internet
WinWaitActive("Microsoft Office End-User License Agreement")
Send("!a")
WinWaitActive("Microsoft Office 2003 Activation Wizard")
Send("!n")
$Count = 0
While $Count < 100
$Count += 1
Sleep(100)
WEnd
Send("!c")
WinWaitActive("Microsoft Excel - Book1")
Send("!h")
Send("{DOWN 4}")
Send("{ENTER}")
; disable Customer Feedback
WinWaitActive("Service Options")
Send("!n")
Send("{ENTER}")
;close Excel
WinWaitActive("Microsoft Excel - Book1")
WinClose("Microsoft Excel - Book1")

0 Comments   [ + ] Show comments

Answers (0)

Be the first to answer this question

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ