Solved

Restart switch for Office 2013 install?

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Need to make a quick brochure in the next one hour 3 86
wordlen challenge 3 49
What is Python programming? 3 68
Not needed 13 58
Companies keep a much closer eye on costs today, so changing to new Technology – Microsoft Office 365 is the smartest move to take.
This article will shed light on the latest trends when it comes to your resume building needs. For far too long, the traditional CV format has monopolized the recruitment market.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

747 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

12 Experts available now in Live!

Get 1:1 Help Now