How to deploy Office 365 ProPlus from an on-premises web portal

Learn how to use the Office Deployment Tool and a self-extracting .exe file to enable users to install Office 365 ProPlus from an internal company portal.

 (Today's post is courtesy of Curtis Sawin, Microsoft consultant focused on Office client deployments.)

One of the ways to deploy Office 365 ProPlus is to have your users sign in to the Office 365 portal, go to the software page, and then select Install.  This self-service method is designed to provide flexibility, unlock consumerization of IT scenarios (such as installing Office 365 ProPlus at home), and is a key enabler of the ability to install Office 365 ProPlus on up to 5 devices. However, keep in mind that users must be local admins on their computers to install Office.

Some organizations have technical or business constraints that prohibit their users from signing in to the Office 365 portal from outside of their corporate network.  A question we often receive is “Can I have users install Office 365 ProPlus from my own portal, rather than from the Office 365 portal?”

This scenario is certainly possible using the Office Deployment Tool.  There are just a few easy steps you’ll need to take to reproduce the experience of installing Office 365 ProPlus from the Office 365 portal:

  1. Download the Office Deployment Tool
  2. Create an XML file with instructions on how to install Office 365 ProPlus
  3. Create a self-extracting executable (.exe) file that runs the Office Deployment Tool along with the xml file

After you create and test your self-extracting .exe file, publish it to your company portal.

Here are some more details for those steps.

Step 1: Download the Office Deployment Tool

Download the Office Deployment Tool from the Microsoft Download Center. Then, double-click officedeployment.exe to get the two files you need -- setup.exe (this is the Office Deployment Tool) and configuration.xml.

Step 2: Create an XML file with the instructions to install Office 365 ProPlus. 

The Office Deployment Tool comes with a sample configuration.xml fie. You use the xml file to tell the Office Deployment Tool how to install Office 365 ProPlus. 

The below XML file will perform the following:

  • Install the 32-bit, English version of Office 365 ProPlus
  • Enable automatic updates directly from Office 365
  • Show all user interface screens during the installation (for example, progress screens and error messages)
  • Creates a log file in the %temp% folder

   <Add OfficeClientEdition="32">  
        <Product ID="O365ProPlusRetail">    
            <Language ID="en-us" />  
   <Updates Enabled="TRUE" />
   <Display Level="Full" AcceptEULA="TRUE" />
   <Logging Name="OfficeSetup.txt" Path="%temp%" />


Check out Reference for Click-to-Run configuration.xml file for all the options you can configure in the xml file.

Note that there is no SourcePath attribute in the xml file.  This means that the Office Deployment Tool will first look in the current folder to find the Office 365 ProPlus source files.  Since the source files aren't there, then the Office Deployment Tool will get the files directly from Office 365 across the Internet. The advantage of that is users don't have to be on the local network to get to the source files.  They just need to be connected to the Internet.

You can name the xml file anything you want. For example, InstallFromCloud.xml.

Step 3: Create a self-extracting executable (.exe) file

There are several tools and methods that can be used to do this.  For instance, iexpress.exe is included with Windows operating systems and can build self-extracting .exe files.  Attached at the bottom of this blog post is a 2 minute video that demonstrates how to do this using WinRAR.

Include the following files in your self-extracting .exe file:

  • Setup.exe
  • Your xml file (for example, InstallFromCloud.xml)

The command to run when the files are done extracting is setup.exe /configure InstallFromCloud.xml

When completed, you have a very small file (about 500kb) that will start an installation of Office 365 ProPlus.  With the small file size, this provides a very portable means to start a cloud-based install of Office 365 ProPlus from anywhere.

Lastly, note that if you have implemented any client access policies to limit access to Office 365 services outside of the corporate network, access to use Office 365 ProPlus will be blocked as well.

Create a Self Extracting EXE for Office 365 ProPlus.wmv

Comments (11)
  1. Anonymous says:

    Thanks for the feedback!  The SourcePath attribute is optional, and this is documented at…/jj219426(v=office.15)
    .  However, I do see that the article does not mention that if you omit the SourcePath element when executing "setup.exe /configure" that setup.exe will look in the current directory first, and if the source
    files are not found locally, the cloud is used as the source.  This was demonstrated in the video above.

    I’m not sure I understand the comments about a 32-bit installer and a 64-bit installer.  Can you elaborate?  The Office deployment Tool (setup.exe) runs as a 32-bit process and can install either 32-bit Office 365 ProPlus or 64-bit Office 365 ProPlus.

    Curtis Sawin (MSFT)

  2. Ed says:

    Using Win 7 Enterprise. No iepress.exe in the path.

  3. Me says:

    Well, it would be nice if the 32 bit installer wasn't broken and if your xml file actually had the 365 install source as required. That would probably work. However, the only way the 32 bit installer for Office 365 works is if you copy all of the source files to the local C drive and then start the install from the C drive. (source=c:office365 for instance) The documentation doesn't say that however and the 64 bit installer does not appear to have this lame issue. I don't think anyone at Microsoft has ever actually tried to install Office 365. They just pump out bad documentation it seems.

  4. David Gargan says:

    Hi, I'd like to say thank you for your help with this. If only I'd found your post 3 weeks earlier, I would have wasted less time. I've attached the Archive to MDT Applications and its deploying no problem now. All the best David

  5. Anonymous says:

    (この記事は 2013 年 8 月 8 日に Office IT Pro Blog に投稿された記事 How to deploy Office 365 ProPlus from an on-premises

  6. David Gargan says:

    Hi, My deployment no longer works with error: Couldn't stream office
    Sorry, We can't find a required file. Please check that the installation source is reachable, then try again. Error code:404-4. Nothing has changed from my perspective the machine has internet access. Any help would be greatly appreciated.

  7. Ryan Chau says:

    @David Gargan
    The best deployment for Office 365 is have the stream files share on your files Server @ the site you want to deploy and modify xml file accordingly. Where the line – -This is where you put your Office source and i used 64 bits version.

    Happy Deployment!

  8. TML says:

    I am not a techhead at all and am having trouble following this… But I feel that this may be what is going to fix my problems.. any help?

  9. Matt says:

    Best solution you could have given us was the ability to install Office and then just have a login come up for the end user so that it can be registered to their account. So much easier. Love to hate Office 365!

  10. JulioV says:

    Do you have instructions to publish Office 365 ProPlus and use SourcePath with http://internalApps/Office/ ?

Comments are closed.

Skip to main content