Solved

Restart switch for Office 2013 install?

Posted on 2014-09-19
5
269 Views
Last Modified: 2014-09-22
I am working on integrating Sp1 and a whole lot of other updates e.t.c. into an automated Office 2013 install roll-out.

This is working fine, however, I know that the Office 2013 install will require a restart after installing certain KBs.  In my testing, the install is not restarting the test machine I'm on.  

I also have configured the MSP automated file to auto activate Office 2013 after the install with the 'AUTO_ACTIVATE =1' Property value.

My questions are below:

1) What is the setup.exe switch argument to Restart after the install?  -Restart?
2) Applying this Restart switch for the automated install - will the Office 2013 install auto activate (from above) first and then restart the machine?  I need to ensure Office 2013 activates before restarting.


Thanks.
0
Comment
Question by:sparky321
  • 3
  • 2
5 Comments
 
LVL 1

Expert Comment

by:jscott337
ID: 40332953
Something like this in a batch file should work

setup.exe /passive
%Windir%\system32\cscript.exe "%ProgramFiles%\Microsoft Office\Office15\ospp.vbs" /act
shutdown -t 1 -r

If you did that it would install, then activate, then restart. At least this works for me with Office 2010
0
 

Author Comment

by:sparky321
ID: 40332967
What is  the '\ospp.vbs" /act ' part of your script above?  Is that a built in command in office 2013 to activate or something custom?
0
 

Author Comment

by:sparky321
ID: 40332974
Also, I wonder if I could add the Shutdown command as an additional command in my MSP setup file to run at the end of install instead of a batch script?
0
 
LVL 1

Accepted Solution

by:
jscott337 earned 500 total points
ID: 40333068
the ospp.vbs /act is an activation script from Microsoft. The link below describes it's functionality.
http://technet.microsoft.com/en-us/library/ee624350(v=office.15).aspx

After further looking into, you can just add the following to lines to your configuration file:

<Setting Id="AUTO_ACTIVATE" Value="1" />
<Setting Id="SETUP_REBOOT" Value="AutoAlways" />


Reference for the config is: http://technet.microsoft.com/en-us/library/cc179195(v=office.15).aspx

Let me know if this works out for you.
0
 

Author Closing Comment

by:sparky321
ID: 40337645
This works great. Thanks
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is an explanation of a simple data model to help parse a JSON feed
Today companies are subjected to more-and-more data, and it won't stop any time soon.  But there are obvious opportunities for reducing data, particularly data duplicated among companies.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question