Office 2019 Pro
Has anyone created a script to push to multiple Windows 10 machines?
2 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
Hobbsy
4 years ago
Google any installation for Office to get the basics, but in a nutshell, configure your installation using the tool to create your admin file.
Create a zip file with all your office setup files and include your admin file at the same level as Setup.exe
Create a managed installation with the command line to include your adminfile
Posted by:
akmagnum
4 years ago
Have a look at this youtube video.
https://www.youtube.com/watch?v=H4J42gIUw4s
it's the same concept and works for all versions
of MS Office
You can name the config file anything you want, as long as the file extension remains XML. As Hobbsy stated, place that config file in the same directory as setup.exe for the Office setup files, and then zip it all together.
My script looks like this, and is for an x64 environment. It activates Office, as the product key was specified in the config file.
Task 1
On Success
Unzip “$(KACE_DEPENDENCY_DIR)\Microsoft Office Pro Plus 2019.zip” to “$(KACE_DEPENDENCY_DIR)”.
Launch “$(KACE_DEPENDENCY_DIR)\setup.exe” with params “ /configure $(KACE_DEPENDENCY_DIR)\Config_1.0.xml”.
Task 2
Verify
Verify that the file “C:\Program Files\Microsoft Office\root\Office16\WINWORD.EXE” exists.
On Success
Launch “SYS\cmd.exe” with params “cscript ”C:\Program Files\Microsoft Office\Office16\ospp.vbs“ /act”.
Log “Office 2019 Successfully installed and activated” to “status”.
Remediation
Log “Installation FAILED” to “status”.
Always Fail. - mmorris6 4 years ago