/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Office 2019 Pro

09/09/2020 306 views

Has anyone created a script to push to multiple Windows 10 machines?

2 Comments   [ + ] Show comments

Comments

  • Thanks, I did do this but I get a message "Couldn't Install" We're sorry, we had a problem installing your Office programs.
  • Create a config file using https://config.office.com/deploymentsettings
    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.


Community Chosen Answer

1

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

Answered 09/10/2020 by: Hobbsy
Red Belt

All Answers

0

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

Answered 09/14/2020 by: akmagnum
Red Belt

This content is currently hidden from public view.
Reason: Member has been banned from the site SPAM For more information, visit our FAQ's.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ