About
Careers
Support
Partners
Community
Contact
Product
Overview
IT Discovery
IT Inventory
IT Analytics
Features
Integrations
Use Cases
IT Asset Management
Cybersecurity
Active Directory Audit
Installing Software & Patches
Automated IT Inventory
Pricing
Resources
Support Knowledge Base
Videos
Testimonials
Vulnerability Updates
Patch Tuesday
Blog
Free Download
Lansweeper
»
Installers
»
Office 365 ProPlus Installer
Active Topics
Search
Join Now
Login
Notification
Error
OK
Office 365 ProPlus Installer -
Details on how to setup and deploy Office 365 ProPlus 2013 and 2016 using click-to-run technologies
Posted:
Thursday, December 22, 2016 11:14:25 PM(UTC)
keys_it
Member
Original Poster
Posts: 31
3
Like
Hello,
In order to deploy Office 365 ProPlus 2013 and 2016 there are few requirements to download and setup. For our environment we have a dedicated deployment share for all sites for these instructions I will use the
\\networkpath\Office 365
for this guide but you will need to replace this with your own network paths.
For our environment, we created the following subfolders:
2013
2016
For each of those folders we created another subfolder:
OfficeProPlus
Download C2R setup files:
You need to download the Office Deployment tool for Click to Run for the version you want to deploy and run the setup to extract the files. Copy only the
Setup.exe
file into the
version\OfficeProPlus
folder that you are deploying.
2013 file -
https://www.microsoft.co...ad/details.aspx?id=36778
2016 file -
https://www.microsoft.co...ad/details.aspx?id=49117
Configuration XML Files
Download the attached
Office365ProPlusInstall - Silent.xml
configuration files that I have already setup and copy them to
version\OfficeProPlus
folder.
Edit both the XML files with your favorite notepad program to adjust the paths to your environment.
Download source files
Now you will need to create a batch script that will download the source files for your for your office version.
I created a Update_Package - Office365ProPlus.bat script in each
version\OfficeProPlus
folder with the following commands:
2013 batch -
"\\networkpath\Office 365\2013\OfficeProPlus\setup.exe" /download "\\networkpath\Office 365\2013\OfficeProPlus\Office365ProPlusInstall - Silent.xml"
2016 batch -
"\\networkpath\Office 365\2016\OfficeProPlus\setup.exe" /download "\\networkpath\Office 365\2016\OfficeProPlus\Office365ProPlusInstall - Silent.xml"
After the download finishes, you will be ready to import the Lansweeper Deployment package and deploy Office 365 ProPlus 2013 or 2016.
You can also use this method to deploy other Office software provided in your Office 365 subscription such as VisioPro or ProjectPro.
*** I have updated this deployment package to include the OffScrub.vbs scripts and a method to uninstall all previous versions as indicated by several comments.
Edit Line #4 in Pre-OfficeUninstall.ps1 script to the network path that you will store the linked Remove-PreviousOfficeInstalls.ps1 files here
https://1drv.ms/u/s!AubfyF65XTIkg7MWSArLt6IztbnPtg
Handles attachments
2013.zip
(1kb) downloaded
211
time(s).
2016.zip
(1kb) downloaded
890
time(s).
Deploy Office 365 ProPlus 2016 x32
Download Package
Description
Deploy office 2016 x32
Final Action
Nothing
Max. Duration
0 min(s), 2 hour(s)
Rescan
Yes
Steps
1. Prep Uninstall
Type
Command
Return Codes
0,1641,3010
Success
Go To Step 2
Failure
Stop (Failure)
Command
powershell.exe -ExecutionPolicy ByPass -File "\\networkpath\Remove-PreviousOfficeInstalls\Prep-OfficeUninstall.ps1"
2. Check for Mimecast x64
Type
Condition
Success
Go To Step 3
Failure
Go To Step 4
Conditions
File
C:\Program Files\Mimecast\Mimecast Outlook Add-In
musepkg64.exe
Exists
3. Remove Mimecast x64
Type
MSI Uninstaller
Return Codes
0,1641,3010
Success
Go To Step 4
Failure
Stop (Failure)
Software Name
Mimecast for Outlook 64-bit
Software Version
7.0.1762.17740
4. Run Uninstall Scripts
Type
Command
Return Codes
0,1641,3010
Success
Go To Step 5
Failure
Stop (Failure)
Command
powershell.exe -ExecutionPolicy ByPass -File "C:\~O365Temp\Remove-PreviousOfficeInstalls\Remove-PreviousOfficeInstalls.ps1"
5. Install Office 365 Business
Type
Command
Return Codes
0,1641,3010
Success
Go To Step 6
Failure
Stop (Failure)
Command
"\\networkpath\Office ProPlus\setup.exe" /Configure "\\networkpath\Office ProPlus\2016\configuration.xml"
6. Remove Temp Folders
Type
Command
Return Codes
0,1641,3010
Success
Stop (Success)
Failure
Stop (Failure)
Command
rmdir C:\~O365Temp /S /Q
#1
wxfisch
Member
Posts: 11
posted:
1/30/2018 7:09:27 PM(UTC)
This is good, and I have a deployment setup similar to this, however we need to uninstall Office 2013 and 2010 from client PCs prior to installing Office 365. Currently I am checking a registry key (word.application CurVer) to determine which version of office is installed, and then trying to use the Setup.exe /uninstall command to to uninstall office silently (using a configuration.xml file to tell it to run silently). I have two problems though:
First, is that the uninstaller does not seem to run at all. I have tried various batch scripts and command line deployment options, it always throws an error that /uninstall is not a valid switch (which it clearly is, it works when I run it manually)
Second is that the deployment commands do not wait for the installer (and I am guessing the uninstaller) to finish before moving to the next step, which for the installer is success. I need to know that the installation actually was successful, not that it was started successfully, as well as ensure that the uninstall of the old versions finished before moving onto installing the new versions.
User Profile
View All Posts by User
View helpful posts
#2
joshmaline
Member
Posts: 9
posted:
2/15/2018 11:50:28 PM(UTC)
Our MS velocity team pointed us to the Offscrub utility (.vbs script), There is a different scrubber for each version of office you run and you can switch on/off what products you wish to uninstall or just use the /ALL switch to wipe it clean. I found the scripts out there on github, but this is the article they pointed me to on how to use them for 07, you can search github for 10, and 13.
Offscrub article
User Profile
View All Posts by User
View helpful posts
#3
keys_it
Member
Original Poster
Posts: 31
posted:
6/12/2018 7:29:54 PM(UTC)
I have updated the package with additional scripts to meet those needs. We had to tackle this issue for a new environment sometime last year but I never thought about updating the package on here.
User Profile
View All Posts by User
View helpful posts
#4
maltenburger
Member
Posts: 1
posted:
8/9/2018 3:20:24 PM(UTC)
Thanks so much for taking the time to post this. This is very helpful.
User Profile
View All Posts by User
View helpful posts
#5
Lewis_Spokane
Member
Posts: 14
posted:
5/10/2019 4:30:45 PM(UTC)
Question: Step 5 command, do you need the quotes around the network path?
User Profile
View All Posts by User
View helpful posts
#6
Lewis_Spokane
Member
Posts: 14
posted:
5/10/2019 8:14:09 PM(UTC)
How to verify that it worked?
My update path is the CDN and not a network share. Will it not check the CDN until the regularly scheduled time?
I changed the channel on my own machine to "targeted" which should put me at version 1902 but I'm still sitting on 1808 after deploying the package and restarting my machine.
edit: Since deploying the package I'm getting a lot of errors in Event Viewer that say Windows Update Failure 3
User Profile
View All Posts by User
View helpful posts
#7
CyberCitizen
Member
Posts: 400
posted:
5/13/2019 2:41:54 AM(UTC)
Originally Posted by: Lewis_Spokane
Question: Step 5 command, do you need the quotes around the network path?
Yes because if there is any spaces in your network path, dos won't get there unless you have wrapped the path in quotes.
I am deploying office like below.
"{PackageShare}\Office 365\2016\OfficeProPlus\setup.exe" /configure "{PackageShare}\Office 365\2016\OfficeProPlus\Office365ProPlusInstall - Silent.xml"
User Profile
View All Posts by User
View helpful posts
Active Discussions
Software report, return one result from a group
by
RC62N
Last post:
Yesterday
at 6:53:06 PM(UTC)
How to Edit Assets pulled by a Report?
by
Monspeed
Last post:
Yesterday
at 6:46:46 PM(UTC)
Display Microsoft Edge versions
by
RC62N
Last post:
Yesterday
at 6:37:37 PM(UTC)
Reporting video cards (model, memory)
by
Sjors
Last post:
1/26/2021 10:28:23 AM(UTC)
Need list of computers where Adobe Reader or Acrobat is the default PDF program
by
Andy.S
Last post:
1/25/2021 9:40:43 AM(UTC)
Report service custon windows
by
Brandon
Last post:
1/20/2021 4:09:57 PM(UTC)
LanSweeper Reports - merge
by
NDR88
Last post:
1/14/2021 7:41:25 PM(UTC)
Duplicate computers in Webcam query
by
RC62N
Last post:
1/14/2021 4:36:50 PM(UTC)