Deploy Office 2019 using SCCM [Using Office Deployment Tool]

In this post I will cover the steps to deploy Office 2019 using SCCM. Office 2019 is released along with new version of Office Deployment Tool. The Office 2019 is released for both Windows and Mac OS. Recently I published a post on Office 2019 overview and deployment info.

Please read that post before you plan to deploy Office 2019 using SCCM. Office 2019 uses only click-to-run installation technology. We know about this because Click-to-Run has been the installation technology for most Office products since the release of Office 2013.

The important question is should i deploy Office 2019 or go with Office 365. First of all if you have deployed Office 365 ProPlus to the users in your organization, you don’t need Office 2019. This is because most of the features introduced in Office 2019 are already covered in Office 365 plans.

My preference would be still Office 365 as you get updates frequently. Office 2019 is a software that is available as one time purchase. You can buy it from either online store or through volume license agreement. However you can expect only security updates for Office 2019 in future.

Since updates are cumulative and already included in the latest version of Office 2019 you don’t use Microsoft Updates or WSUS to update Office 2019. Instead you can use Microsoft Endpoint Configuration Manager to help you deploy and manage updates to Office 2019. Let’s proceed with deploying Office 2019 using Configuration Manager.

Step 1 – Install Office Deployment Tool

Download the office deployment tool from here. Right click the executable and run as administrator. You will now see Microsoft Office 2016 click-to-run administrator tool. Accept the license terms and click Continue.

Deploy Office 2019 using SCCM

Create a new folder such as Office 2019 within sources folder and select the folder. Click OK. The executable extracts setup and configuration files inside the selected folder.

Deploy Office 2019 using SCCM

There are three files present in the folder.

  • configuration-Office365-x64.xml
  • configuration-Office365-x86.xml
  • setup.exe

Deploy Office 2019 using SCCM

Step 2 – Create Configuration File

In the next step create a new text file and rename it as config.xml. Well, you can name it anything but ensure you specify .xml as extension. This file should be in the same folder where the setup and other config files are present.

Here is a sample configuration file that you can use it with office deployment tool. In my case I used the below configuration file. This configuration file downloads Office 2019 32-bit version. In addition the previous Windows Installer versions of Office are removed as part of the installation process.

The PIDKEY is the product key for MAK activation. You don’t need to use PIDKEY if you’re activating Office 2019 with Key Management Service (KMS).

<Configuration>
<Add SourcePath="\\corpsccm\Sources\Applications\Office 2019" OfficeClientEdition="32" Channel="PerpetualVL2019">
<Product ID="ProPlus2019Volume" PIDKEY=" " >
<Language ID="en-us" />
</Product>
<Product ID="ProofingTools">
<Language ID="en-us" />
</Product>
</Add>
<RemoveMSI All="True" />
<Display Level="None" AcceptEULA="TRUE" />
<Property Name="AUTOACTIVATE" Value="1" />
</Configuration>

 

Deploy Office 2019 using SCCM

Step 3 – Download the Office 2019 installation files

In this step we will download Office 2019 installation files. Run the command prompt as administrator. Change the path to Office 2019 folder. Type the command setup.exe /download config.xml and press enter.

The Office 2019 installation files are downloaded and placed inside Office folder. The approx size of this folder after download is around 2.12 GB.

Deploy Office 2019 using SCCM

Step 4 – Deploy Office 2019 using SCCM

We will now deploy Office 2019 using SCCM. Launch SCCM console and create a new Application. On the General page, select Manually specify the application information. Click Next.

Deploy Office 2019 using SCCM

Specify some information about Office 2019 application and click Next.

Deploy Office 2019 using SCCM

Add a new deployment type and on General page, select Manually specify the deployment type information. Click Next.

Deploy Office 2019 using SCCM

Specify the content location. This is the folder where Office 2019 setup files are present along with setup and config files. Next, specify the installation program as per below format.

"\\server\share\setup.exe" /configure config.xml

Note – I will update the uninstall command at later point of time.

Since I will be deploying Office 2019 to both 32-bit and 64-bit OS, I am going to check the box “Run installation and uninstall program as 32-bit process on 64-bit clients”.
Deploy Office 2019 using SCCM

Adding a detection method is really important here. Add the Office 2019 detection method with following settings.

  • Setting Type – Registry
  • Hive – HKEY_LOCAL_MACHINE
  • Key – SOFTWARE\Microsoft\Office\ClickToRun\Configuration
  • Value – VersionToReport
  • Enable “This registry key is associated with a 32-bit application on 64-bit systems”
  • Data Type – Version
  • Select “This registry setting must satisfy following rule to indicate the presence of this application”
  • Operator – Greater than or equal to
  • Value – 16.0.10336.20044

Click OK to close detection rule box. Click Next.

Deploy Office 2019 using SCCM

Specify the user experience settings for the application. Click Next.

Deploy Office 2019 using SCCM

Note that Office 2019 is compatible with Windows 10 OS only. Therefore you have to specify the OS requirements here. Click Next.

Deploy Office 2019 using SCCM

On the Completion page click Close. This will close create application wizard.

Deploy Office 2019 using SCCMYou have now packaged Office 2019 application. Finally deploy the Office 2019 to a device collection.

In my lab setup, i could install Office 2019 without any issues. Open the software center and select Office 2019 app and click Install. Monitor the installation progress by opening AppEnforce.log file.

Deploy Office 2019 using SCCM

Related Posts
guest
71 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
Steve West

We have our package set to the default log file setting, and we’re having problems. Where do the Office installation log files go when deployed during OSD? I can’t find them. From what I see online, I need to look in %temp%, but none of the user profiles have any log files related to the office installation at that path. I imagine they’re cleaned out at the end of OSD?
 

Last edited 29 days ago by Steve West
Max

I tried many tutorials including one on this website, but it never worked… on a client computer (in Software Centre) it just gets stuck saying “Waiting to Install” and never installs. I spent entire day trying various things – increasing cache in Configuration Manager, trying different Config files, manually editing it… Eventually, when I almost gave up, I went into Office 365 Deployment Wizard which is found inside my SCCM Current Branch, and even though the process looked suspiciously same, it did actually work.. Interestingly on a client PC I now have both Office 365 and Office 2019 VLK installed… Read more »

Roshanak

Dear Prajwal
thanks for your great posts.
I did exactly as you guided but unfortunately i faced this error in deployment monitoring :
“Failed to verify the executable file is valid or to construct the associated command line.” error code: 0X87D01106

it would be appreciated if you help.

Regards

Roshanak

thank you. I assume that it is related to Ms project installation . but the point is i didn’t ask for it in my config.xml

Roshanak

Hello again
1)my config file is :



2)My installation command is:
\\server\Sources\Application Package\Office 2019\setup.exe” /configure config.xml

3) Using sscmadmin account
4) AppEnforce log file :
<![LOG[ Prepared working directory: C:\WINDOWS\ccmcache\r]LOG]!
<![LOG[Invalid command line, quotes not properly closed in the command line]LOG]!
<![LOG[Invalid command line, quotes not properly closed in the command line]LOG]!
<![LOG[The network access account is not defined.]LOG]!
<![LOG[Invalid executable file \\server\Sources\Application]LOG]!

<![LOG[CommenceEnforcement failed with error 0x87d01106.]LOG]!

Roshanak

yes i noticed and checked my config file and other configuration. it would be really appreciated if you guide me which file or config i must change.

Best Regards

Alan Yousif

how can i re-pin start menu and taskbar items that got removed

Darren

I’m unable to download it. I’ve tried my own XML, the sample XML that comes with the tool, your XML, XML generated from the Office XML creation website. Each time it will download 1.83GB of source files then errors out with error code 0-1007 (0). It suggests checking my internet connection and hard drive capacity. Both are fine. I’ve tried on my work and home internet connection and on another separate computer at work and the same issue each time. Any ideas? Are you able to currently download it or is Microsoft having an issue? I’ve been banging my head… Read more »

Mark

I’m also having this same issue, have you resolved yours?

Joe

Hello Prajwal: I am attempting to deploy Visio and Project 2019 and am encountering some issues. I downloaded the 64 and 32 bit versions of the software without issue. I created install and uninstall xml files, tested them and they worked manually without issue. I began packaging in SCCM current branch and deployed it to a test machine. The software copied to the sccm cache and when the install began, I received the 0x800775E6(-2146994714) error. When checking the AppEnforce log, it shows that it prepared the command line->post install behavior is BasedOnExitCode->Waiting for process 1592 to finish. timeout=60 minutes->Process 1592… Read more »

john

Same issue here. Anyone with insight into this error condition?

RemRom

Same issue ! How did you guys sorted it out ? Thank you !

Guest
Shane

I don’t see how that link is related.

Rick

Bit late to the discussion but I encountered the same error as Joe. Couldn’t really find too many results online but managed to resolve in the end. Pretty much … deleted any existing Office 2019 deployment from the server, re-created a new Configuration.xml file (https://config.office.com/deploymentsettings), re-ran the office deployment tool (deep breath) … re-downloaded the Office package via an elevated command prompt then finally, re-created the deployment within SCCM. Worked fine afterwards

DrEnergy

Hi Prajwal, Just curious how are you installing Visio / Project after you initial installed Office. We are using SCCM we have a few scenario’s. Default during OSD the 32-bit office client will be installed. At a later time the user can request Visio and/or Project. So he/she will be added to the collection where he/she will get the installation of Project/visio. This application is created with the same version as the originial install. It can happen that the Office version is already updated and thus with installing Visio the result will be that the office version is “downgraded” a… Read more »

Tomas

Hi, and what about to update Office 2013, during the instalation proces? I mean offline instalation…. From where/how to download/import updates? This updates have to be .msp file or it can be a .cap file?

K.E.

Uninstall String: setup.exe /configure SilentUninstallConfig.xml

SilentUninstallConfig.xml:

Fred

We are deploying Office 2019 on SCCM clients that have Office 2010 installed.
The deployment starts, uninstalls Office 2010 but does not install Office 2019.
If we do it manually, it works perfectly.
Has anyone encountered this problem?
Thanks in advance

Dana Simison

Hi Prajwal; I can not reply to your comment to me, I keep getting a page can not be found message. So I am posting a new comment. I tested my deployment on 2 machines, on one machine the appenforce.log showed no warnings or errors. The second machine did show some errors about a network access account not being defined. However, yesterday morning I found your post on deploying Office 2019 with the Office 365 Client Manager. I followed that post and everything worked perfectly so I will make use of that. I did run into one snag so see… Read more »

Dana

hi there; Thanks for a great post. Unfortunately it’s not working for me. Following your instructions I downloaded the 64 bit version of Office with no problem. Then I created my config.xml file. At this I tested it manually by going to \\myserver\share\office2019\setup.exe /configure myconfiguration.xml. The manual install worked perfectly. Then I created the SCCM application and deployed it to a test computer. The software was copied to the sccm cache on the test computer but nothing happens after that. Nothing gets installed and then I get the message 0x87D00324(-2016410844). The programs was not detected following installation. What am I… Read more »

Thomas Ehler

Hi Prajwal

You never got back to the Uninstall?

Thomas Ehler

I’ll take the liberty to answer the question myself

setup.exe /configure UninstallProPlus2019Volume.xml

………. UninstallProPlus2019Volume.xml …………..

<!–

–>
<!–

–>

……….

“Remove All” – Use “FALSE” to only uninstall “product ID”‘s listed

……….

……….

“Remove All” – Use “TRUE” to wipe out all

Alex

Hi Thomas,
Please, would you publish your uninstall .xml again, perhaps as .txt, so that it could be shown here? Thanx a lot!

Dennis

Great guide – all of this works for me without issue. My only concern is future updates for Office 2019. I have read all the info MS posted about the clients connecting to their CDN for updates, but I was hoping to manage updates with WSUS. On my WSUS Server, I only see an an Office 365 Client in the “Products” list. Do you have any guidance on configuring updates?
Many thanks!

Josh

You may want to add the following line to the config.xml to force any apps that may be stopping the installation to halt and allow installation.

Erik

What line are you adding? I do not see it in your comment?

Nirmal

Hi Prajwal, as always a great guide for all SCCM admins here. It worked perfectly fine. Just a question about updates here. It looks like the Office updates option is enabled by default. How do we go about to disable that and let SCCM deploy updates in future. Your time is much appreciated as always. Thanks.

Nirmal

Can that GPO be pointing to my SCCM SUP and the updates be pushed via SCCM same as we did in older version of Office products? Any specific GPO that I should be looking for? Thanks again for your time.

Pat

How do you configure Office 2019 to get updates from a shared folder from internal network? Where do you download the 2019 Office Updates from and can you automate this?

Eric Miller

Prajwal, I’m actually using your setup.xl but I also have a KMS server which is ready for Office 2019. Do I just remove the PIDKEY= and leave the comment for KMS activation? Thank you!

Mike Dickson

Has anyone run into the 30088-1021 Error code? Attempting to deploy with SCCM1806.

Hjalmar

Use Notepad++ instead of Notepad to edit the XML file.
Notepad messes up the code.

Amit Prakash Rai

This comment is not related to this post. I am a big fan of your blog and read it from time to time.

I found below discrepancy in SCCM quiz questions part 1 and part 3:
Question 7 from part 1 and question 11 from part 3 are the same yet the answers for both the questions are different. Please do check it out if you get some time.
Below are the links for the part 1 and part 3 quiz questions.
https://prajwaldesai.com/sccm-configuration-manager-quiz-questions-part-1/
https://prajwaldesai.com/sccm-configuration-manager-quiz-questions-part-3/

kheenan halvorson

I am running into an issue, it is definitely downloading without issue but it says

invalid executable file “\shareOffice2019setup.exe”
enforce app failed (0x87d01106)
failed to invoke enforceapp on application handler (0x87d01106)
failed to enforce app, error 0x87d01106

we are running office 2016 pro plus now. So my question i guess is the registry stuff you included in your example not going to make this work.

Pascal

So if I use my installation package with the flag to remove all previous installed software like follows it works:

If I tell the setup to leave previously installed Visio or Project versions like follows it fails:

Any idea what might be wrong? The installation log is really one of the worst ever … no clear failure message (at least for me). Thanks.

kheenan halvorson

I still havent gotten this to work. It fails when trying to run the executable. here is what the appenforcer log says, ive been stumbling on this for about a week now. Any direction would be greatly appreciated ++++++ App enforcement completed (8 seconds) for App DT “Office Professional Plus 2019 Test I Drive” [ScopeId_53BF64D9-F1F5-4EAD-9EDC-A7A04A2B3A22/DeploymentType_d0b1e7fc-d117-493b-b25f-35666f1725f9], Revision: 2, User SID: ] ++++++ AppEnforce 10/8/2018 1:39:51 PM 5236 (0x1474) +++ Starting Install enforcement for App DT “Office Pro Plus 2019 Test SCCM test only” ApplicationDeliveryType – ScopeId_53BF64D9-F1F5-4EAD-9EDC-A7A04A2B3A22/DeploymentType_d5246753-be0e-4ea0-b20b-a5ac6e7684ac, Revision – 3, ContentPath – C:WINDOWSccmcachem, Execution Context – System AppEnforce 10/8/2018 2:12:46 PM 32… Read more »

Jim

I have error -2147418113 and it turned out Skype for Business was running in the system tray, exited out of that and re-ran the SCCM installer and it worked.

Daniel Dodds

What would be the detection method for Project and Visio 2019?

Pascal

Hi, I use the following so far:
Project – 32-Bit: %programfiles(x86)%Microsoft OfficerootOffice16WINPROJ.EXE
Project – 64-Bit: %ProgramFiles%Microsoft OfficerootOffice16WINPROJ.EXE

Project – 32-Bit: %programfiles(x86)%Microsoft OfficerootOffice16VISIO.EXE
Project – 64-Bit: %ProgramFiles%Microsoft OfficerootOffice16VISIO.EXE

Sandy Wood

Wondering what the effect of installing Office 2019 on an existing Office 365 installation. I’m guessing the Detection Logic will allow the installation based on Version but will Office 2019 uninstall Office 365 to you knowledge?

Pascal

Hi. Great guide. Was able to set up Office 2019 in my lab. Just wondering how to deploy the updates to this. We clearly will not want Internet Updates but rather update via SCCM if that’s offered. Having some slight issues with adding all languages

Pascal

At the moment with application languages where it remains en-US only despite having added French and German too. For the proofing tool it works … but still experimenting 🙂 I’m sure might just be a space too much somewhere.

Pascal

Redid a brandnew package and now all languages are properly available … now having issue to activate despite having added the KMS key to our KMS host 🙁 (always something).

Pascal

Another day another issue 🙂 … Installation works fine now … all languages added as main application language and also proof reading. But how the hell do you remove this product? 🙂 I tried an uninstall command which uninstalled one of the three languages only … checked the full MS deployment doc and could not really find much about it …

Nico

Have you installed the Microsoft Office 2019 Volume License Pack on your KMS Host?
https://www.microsoft.com/en-us/download/details.aspx?id=57342

Shane Curtis
CypherBit

Thank you for your article, but how exactly can we install security updates for Office 2019 using SCCM? There are quite a few guides on getting it installed, but nothing about keeping it up to date.

Gregg Cooper

According to Microsoft, The Office 365 Management section should allow you to deploy and manage Office 2019. But it does not appear to be updated with this capability yet. Will you cover this method when it is updated? This seems the most logical way to deploy it from what I can see? All my customers are VL, so no Office 365. Therefore never used the 365 management interface.

Gregg Cooper

Thanks for the reply. I hope they get it updated soon. They seem to be dragging their heels on this one. Still waiting for some of my OVS customers to get Office 2019 keys assigned!

Viraj P

This will surely help lot of SCCM admins. Amazing work and keep it up.

rajesh

Amazing guide. I am going to try this in my lab setup.

mike

Great guide as always Prajwal, Everything installed correctly for me except i am using a MAK Key, but word, excel all show activation required.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More