/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


How would you modify this script that works fine to activate MAK Office 2010 to work for 2013?

10/01/2014 2418 views
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


All Answers

0
You need the inpkey:




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

  • Forgot to followup: this worked. Thanks Man!
 
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