Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 302
  • Last Modified:

Restart switch for Office 2013 install?

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
sparky321
Asked:
sparky321
  • 3
  • 2
1 Solution
 
jscott337Commented:
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
 
sparky321Author Commented:
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
 
sparky321Author Commented:
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
 
jscott337Commented:
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
 
sparky321Author Commented:
This works great. Thanks
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now