Share via


Upgrading Office 2010 to Office 2013 with SCCM 2012R2

How to upgrade Office 2010 to Office 2013 VIA SCCM

A big question that has been popping up over the past few months, is “How I can upgrade my existing clients with Office 2010 to Office 2013”.   There are a large number of ways that his can be performed, but in my opinion the easiest and most successful way is with AppDeploymenttoolkit.

For those who have never used or heard of AppDeployment toolkit.

http://psappdeploytoolkit.codeplex.com/

The PowerShell App Deployment Toolkit provides a set of functions to perform common application deployment tasks and to interact with the user during a deployment. It simplifies the complex scripting challenges of deploying applications in the enterprise, provides a consistent deployment experience and improves installation success rates.  

To get started first download and extract AppDeployment toolkit to a local drive on your workstation
  1. There is a folder called ‘ Examples’  Go into that folder and then click once more to get into the folder labeled ‘ Office 2013’
  2. Copy the folder labeled Office2013 to your Server or location where you will store your Application
  3. This particular script is written very well and not much work will be needed to customize it.
  4. Browse to the folder ‘ Files’ inside of  Office2013
  5. Upload all of your Office2013 Installation files to this location
  6. Once Complete go up one level to the ‘Office2013’ Folder

Once you are in that Folder Edit Edit the file ‘ Deploy-Application.ps1

 

 **Now Edit the Script.  The main change that must be done to assure success will be to assure the file path is correct on Line number 178, 184, 190, 196, 202.   You must set the path correct to where setup.exe and your .MSP file will be located. **

            "   Execute-Process -FilePath "$dirFiles\Office\Setup.exe" -Arguments "/adminfile `"$dirFiles\Config\Office2013ProPlus.MSP`" /config `"$dirFiles\ProPlus.WW\Config.xml`"" -WindowStyle Hidden -IgnoreExitCodes "3010"

       }  "

 

Setting the file locations is vital to assure success of this installation.   You can then go through and customize the rest of this script for your liking.  All commands that start with ‘Show-InstallationProgress ‘   Can be edited and replaced with your own custom message.

 

  • Now it Is time to test,  Go back to the root of where you extracted the AppDeployment toolkit Files.

Copy the folders AppDeployToolKit and Deploy-Application.exe to the same location where you copied your Office2013 Installers

So that it will look like this

 

 

Once completed, test out your package.  ‘Right Click Deploy-application.exe and Run as Administrator to test.

 

If all goes well you will see office 2010 uninstall and be replaced with office 2013.

 

  • Once you confirmed that all works well it is time to add to SCCM.
  • Create an Application in SCCM like you normally would,  Detection method,  requirements, ETC.
  • If you are going to deploy this application and set it as Available and would like your customer to see the progress,

 the install like would only need to be  ‘Deploy-Application.exe’ and that is it.  The PS1 file will automatically be called

  • If you are going for a silent install use this line

     Deploy-application.exe -DeploymentMode "NonInteractive"

For Any Failure check out your log files at C:\windows\system32\logs to drill down on the issue.

 

ApplicationDeploymentToolkit is a very powerful tool and can be heavily customized to do just about anything!.   The Manual is installed in the package,  so readup!  And make your life easier!

** **

 

** **