Script that works wonderfully to activate Office 2010 Pro MAK as a post image task (x86 Office exclusively, FYI; x64 Windows exclusively):

******************************************************************************

@echo off
if exist "C:\Program Files\Microsoft Office\Office14\ospp.vbs" goto 32
if exist "C:\Program Files (x86)\Microsoft Office\Office14\ospp.vbs" goto 64
goto NotInstalled

:32
cscript.exe "C:\Program Files\Microsoft Office\Office14\ospp.vbs" /act
exit

*************************************************************************

I Modified script to reflect path changes (\Office15) and the script is now not working with a general failure message.

A solution would be worth millions of dollars to me :)

Jeff
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

0
You need the inpkey:




Answered 10/01/2014 by: SMal.tmcc
Red Belt

  • Forgot to followup: this worked. Thanks Man!
Please log in to comment
Answer this question or Comment on this question for clarity