Link to home
Start Free TrialLog in
Avatar of sparky321
sparky321

asked on

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.
Avatar of Joshua Scott
Joshua Scott

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
Avatar of sparky321

ASKER

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?
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?
ASKER CERTIFIED SOLUTION
Avatar of Joshua Scott
Joshua Scott

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This works great. Thanks