/build/static/layout/Breadcrumb_cap_w.png

Blog Posts by SMal.tmcc

Ask a question

Installing Microsoft Office2019, Project 2019 or Visio 2019 via SDA or SMA

I used this as a guide to download and setup the install https://docs.microsoft.com/en-us/deployoffice/office2019/deploy

you can also find and use the OCT (Office Configuration Tool) from this page.


I will use c:\temp for my install setup, this is your choice.


Create your configuration.xml file for the Office product you want to install. 


Download the office setup.exe from your your MSVLSC or other sources.


Run the setup to download the files to package.

setup.exe /download configuration.xml

this will create a subdirectory "office" under c:\temp


modify the configuration.xml and remove the sourcepath from it

<Configuration ID="9c80d31f-60fd-4a03-9bae-8c9c33ea3339">
<Info Description="admin kms install" />
<Add OfficeClientEdition="64" Channel="PerpetualVL2019" SourcePath="c:\temp" AllowCdnFallback="TRUE" ForceUpgrade="TRUE">
<Product ID="ProPlus2019Volume">
<Language ID="en-us" />
<ExcludeApp ID="Groove" />
<ExcludeApp ID="Lync" />
<ExcludeApp ID="OneDrive" />
<ExcludeApp ID="OneNote" />
<ExcludeApp ID="Outlook" />
</Product>
</Add>
<Property Name="SharedComputerLicensing" Value="0" />
<Property Name="PinIconsToTaskbar" Value="TRUE" />
<Property Name="SCLCacheOverride" Value="0" />
<Updates Enabled="TRUE" />
<RemoveMSI All="TRUE" />
<AppSettings>
<Setup Name="Company" Value="your company" />
</AppSettings>
</Configuration>
<Configuration ID="9c80d31f-60fd-4a03-9bae-8c9c33ea3339">
<Info Description="admin kms install" />
<Add OfficeClientEdition="64" Channel="PerpetualVL2019" AllowCdnFallback="TRUE" ForceUpgrade="TRUE">
<Product ID="ProPlus2019Volume">
<Language ID="en-us" />
<ExcludeApp ID="Groove" />
<ExcludeApp ID="Lync" />
<ExcludeApp ID="OneDrive" />
<ExcludeApp ID="OneNote" />
<ExcludeApp ID="Outlook" />
</Product>
</Add>
<Property Name="SharedComputerLicensing" Value="0" />
<Property Name="PinIconsToTaskbar" Value="TRUE" />
<Property Name="SCLCacheOverride" Value="0" />
<Updates Enabled="TRUE" />
<RemoveMSI All="TRUE" />
<AppSettings>
<Setup Name="Company" Value="your company" />
</AppSettings>
</Configuration>

save the file and zip the setup, config file and all sub-directories to a zip file.

Upload the zip to the client drop on either the SDA or SMA

for the SDA create a post task and attach the file


For the SMA attach the file to the software inventory.

On the Full Command Line: you MUST use cmd /c to get it to work correctly

cmd /c setup /configure configuration.xml

Note: the SMA will delete the file from the client drop automatically after upload, You must manually delete it from the SDA client drop.


Project config.xml

<Configuration ID="7f3e0f21-1275-4656-a70a-612bea2a8073">
<Add OfficeClientEdition="64" Channel="PerpetualVL2019" AllowCdnFallback="TRUE" ForceUpgrade="TRUE">
<Product ID="ProjectPro2019Volume" PIDKEY="xxxxx-xxxxx-xxxxx-xxxxx">
<Language ID="en-us" />
<ExcludeApp ID="Groove" />
<ExcludeApp ID="OneDrive" />
</Product>
</Add>
<Property Name="SharedComputerLicensing" Value="0" />
<Property Name="PinIconsToTaskbar" Value="TRUE" />
<Property Name="SCLCacheOverride" Value="0" />
<Updates Enabled="TRUE" />
<AppSettings>
<Setup Name="Company" Value="your company" />
</AppSettings>
<Display Level="None" AcceptEULA="TRUE" />
<Logging Level="Off" />
</Configuration>

Visio config.xml

<Configuration ID="ce80945a-fbf3-45ca-a71c-a6d08a6bf849">
<Add OfficeClientEdition="64" Channel="PerpetualVL2019" AllowCdnFallback="TRUE" ForceUpgrade="TRUE">
<Product ID="VisioPro2019Volume" PIDKEY="
xxxxx-xxxxx-xxxxx-xxxxx">
<Language ID="en-us" />
<ExcludeApp ID="Groove" />
<ExcludeApp ID="OneDrive" />
</Product>
</Add>
<Property Name="SharedComputerLicensing" Value="0" />
<Property Name="PinIconsToTaskbar" Value="TRUE" />
<Property Name="SCLCacheOverride" Value="0" />
<Updates Enabled="TRUE" />
<RemoveMSI>
<IgnoreProduct ID="InfoPath" />
<IgnoreProduct ID="InfoPathR" />
<IgnoreProduct ID="PrjPro" />
<IgnoreProduct ID="PrjStd" />
<IgnoreProduct ID="SPD" />
</RemoveMSI>
<AppSettings>
<Setup Name="Company" Value="your company" />
</AppSettings>
<Display Level="None" AcceptEULA="TRUE" />
<Logging Level="Off" />
</Configuration>




View comments (5)

Get Microsoft Updates using powershell with SDA post commands

You can update scripted or deployments with Microsoft updates via a power shell module.

You can install this ahead in your golden image and just run the last 2 lines of the PS script

Go to https://gallery.technet.microsoft.com/scriptcenter/2d191bcd-3308-4edd-9de2-88dff796b0bc

download the Windows Update PowerShell Module

To install as post tasks:

Create an AutoIT script to xcopy the files to the PS modules directory:

RunWait(@ComSpec & " /c " & "xcopy.exe .\source\*.* C:\Windows\System32\WindowsPowerShell\v1.0\Modules /s /q /y","",@SW_MINIMIZE)


Zip that along with the files to install


I created a task group for the 2 items


First task copies the files


The second task installs and starts the windows updates. (check reboot required for this task)


The powershell script uppdate1.ps1: (line 1 installs; line2 adds Microsoft-updates as well; line 3 executes the job)

Import-Module PSWindowsUpdate
Add-WUServiceManager -ServiceID 7971f918-a847-4430-9279-4a52d1efe18d -Confirm:$false
Get-WUInstall -MicrosoftUpdate -IgnoreUserInput -AcceptAll -IgnoreReboot -Verbose

Here are the tasks within my custom deployment ( note I run the update after I install Office to get those updates also.)