Solved

Restart switch for Office 2013 install?

Posted on 2014-09-19
5
264 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

911 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now