Sunday, 20 November 2016

Manually Deploy Microsoft Office 365 Offline

Now everyone know's that Microsoft is slowly moving their software in to the cloud as SaaS (Software-as-a-Service) and sometime for us Microsoft engineer is making us a little harder on jobs.

In fact in this project I have been working on, we have few numbers of computers need Office 365 Business Premium to deployed, with the slow broadband connection (I mean it is really slow...) it will take sometime to download/install Office 365 individually to the PCs.

After searching on the internet, I have managed to find some references and info of how to get a copy of Office 365 for offline installation using "Office 2016 Deployment Tool".

Let's start!

1. Create a folder called Office 365 in the C:\ drive

2. Go to Office 2016 Deployment Tool download page and download the file, run it, choose the C:\Office 365 to extract.

3. Edit the configuration.xml file in Notepad

4. Remove the top info as we do not need it for the preparation and deployment work, let's look at the default scripts below of we have got now and what we are looking to change... see text in bold

  <Add OfficeClientEdition="32" Channel="Current">
    <Product ID="O365ProPlusRetail">
      <Language ID="en-us" />
    <Product ID="VisioProRetail">
      <Language ID="en-us" />

  <!--  <Updates Enabled="TRUE" Channel="Current" /> -->
  <!--  <Display Level="None" AcceptEULA="TRUE" />  -->
  <!--  <Property Name="AUTOACTIVATE" Value="1" />  -->


The script is self explanatory and in my project I need to deployment:

  • 32 bit software architecture
  • Office 365 Business Premium (Check Microsoft Reference)
  • English language
  • No other product
  • Sign in with Office 365 licensed account
  • Save installation files to C:\Office 365 folder

My new configuration.xml file:

  <Add OfficeClientEdition="32" SourcePath="C:\Office 365">
    <Product ID="O365BusinessRetail">
      <Language ID="en-us" />

5. Run the setup.exe tool in C:\Office 365 to start download the installation files with COMMAND LINE, so navigate command line directory to C:\Office 365 and type this syntax in:

setup.exe /download configuration.xml

Once you have hit the enter button the download has started, a folder called Office will appeared in the directory, later on the folder should come to 1.64 GB in size once the download has finished, you should be able to view the sub-folders and more important we are interested in the digits on one of the folder shown below:

We need to take a note of that folder "16.0.7466.2038" for installation script.

6. Now to use the files for installation we need to create a .xml file called install.xml in C:\Office 365 with following script:

  <Add SourcePath="C:\Office 365" Version="16.0.7466.2038" OfficeClientEdition="32">
    <Product ID="O365BusinessRetail" >
      <Language ID="en-us" />      
  <Display Level="None" AcceptEULA="TRUE" />

7. Run command line again with this syntax

setup.exe /configure installconfig.xml

8. The command will start the installation of office 365!

9. You can move the C:\Office 365 folder to a network shared drive, create a batch file for command line installation and run it from several PCs on the network!

No comments:

Ads Inside Post