Download here: http://gg.gg/v8shq
In this article, I will show you how to setup a script to deploy Office 2016 Pro Plus w/Visio, from a network drive. This will save you time and effort.
OffScrubc2r.vbs, OffScrubO15msi.vbs, and OffScrubO16msi.vbs in O15CTRRemove.diagcab are for Office 365 (a.k.a. Click-to-run or C2R), Office 2013, and Office 2016, respectively. The Offscrub extraction script above moves these to separate folders after extraction is complete for consistency with the other scripts, so that each ConfigMgr.
Office 2016 will not install if you have fragments of older Office programs on the machine.
*I have just discovered that we will need to install Office 2016 Pro Plus (subscription) to PC’s throughout our domain (200+ PC’s)and am looking at ways to do so in the most efficient manner. Ideally we would like to deploy via GPO, controlling by a PC security group and after uninstalling an earlier version.
*Deployed Office 2016 for the entire organization using automation script I wrote. The office deployment tool is kind of useless, nothing seems to work the way you want it (much like everything in IT). Like my colleague says ’EXPECT FOR THE WORST’. You can access the Office customization tool by typing the path of the Office product.
*I uninstalled office 365 (30 days ) demo and routinely went ahead installing Office standard 2016 (genuine license - Volume License) I activated the Office 2016 standard and everything looked fine and then suddenly I find ’ Please activate your product’. I did the activation and then this process looped again.
Please see the previous article : Script to Remove ALL Office Programs prior to deploying Office 2016 from a network location! This is a scripted way to speed up the uninstall process and reboot the users machine, prior to running this script.
There are two scripts that will be covered in two separate articles, you will find they work great together. First you UNINSTALL Office, then Second you INSTALL.
I’ve tested this process on a live domain, and have significantly reduced the time it takes to Remove previous Office versions and Deploy Office 2016 Pro Plus w/Visio.Step 1 – Download Office 2016 Deployment Tool from Microsoft
This tool can be found here: Office 2016 Deployment Tool.
Filename: officedeploymenttool_7614-3602.exeStep 2 – Run the executable
You will see the following:
Check the Terms box and hit continue.
Select the location for the extracted files. I chose DeploymentTool on the C: drive of my laptop.
After selecting the location, you will see:
You will see two files in the location: Setup.exe and configuration.xml.
NOTE: This file has to be run under an Elevated Command Prompt, not just by clicking on exe file! Clicking on setup.exe does nothing.
Note: By default, Office 2016 Pro Plus installs Visio Pro, if you do not want Visio Pro, you can remove it from the Configuration.xml file.
Remove this from the Configuration.xml file, if you do not wish to install Visio Pro.
Special Note: When I setup this process, I downloaded the deployment tool to my laptop, so that I could run the deployment tool. Then (once all Office 2016 Pro files were downloaded), I copied the files to the Network Share labeled Office2016. Step 3 – Run Setup.exe under an Elevated Command Prompt
Open an Elevated Command Prompt on your system by right clicking Command Prompt and “Run as Administrator”. (or whatever way you open CMD)
Navigate to deployment tool folder holding the setup.exe and configuration.xml files.
You can type setup.exe to display the list of commands:
Run the following command from an Elevated Command Prompt, in the file location where you extracted the tool.
The Program will create an “Office” folder and download the necessary files into the folder, where you ran this tool.
You can see the “Office” folder has been created, with several folders and files inside of it.
It will take several minutes for these files to be downloaded. This will depend on your network speed.Step 4 – Copy these folders and files to a Network Share
Copy these folders and files to a network location on the server of your choice. This folder on your network needs to be shared to everyone, so that users or your help desk staff can run the scripts from a user’s pc. I named my Network Share “OFFICE2016”, as I use this location for BOTH the UNINSTALL script and the INSTALL Office 2016 script.
An example of all the files in the network share are shown here:Step 5 – Modify the Office 2016 INSTALL Script to work in your environment
I placed this file in a share named “OFFICE2016” along with the files from this article.
@echo off
setlocal
::Store working directory to return after finished
set WORKDIR=%CD%
::Map and switch to a network drive and give it unmapped drive letter
pushd YOURSERVER_FQDN_or_IPOFFICE2016
Max payne 2 walkthrough pc. ::Store the name of the network drive so it can be unmapped when finished
Set NETDRIVE=%CD%
set NETDRIVE=%NETDRIVE:=%
::Change back to the original directory
cd /d %WORKDIR%
::Run commands with the network drive mapped
%NETDRIVE%setup.exe /configure
::Uncomment this to catch errors from the executable
::if %errorlevel% GTR o exit %errorlevel%
Aid file recovery registration code. ::Unmap the network drive
net use %NETDRIVE% /delete /y
endlocal
Save the script as a BAT file, I named mine “NETWORK-INSTALL-OFFICE-2016.BAT”
The process of this script:
When you run this script, it will create a temporary network share on the user’s computer, install Office 2016 Pro Plus, then remove the temporary network share.Step 6 – Run the script on a user’s PC!
Navigate to your OFFICE2016 network share and run the “Network-INSTALL-OFFICE-2016.bat“, as an administrator. And watch the magic
In this article, I will show you how to setup a script to deploy Office 2016 Pro Plus w/Visio, from a network drive. This will save you time and effort.
OffScrubc2r.vbs, OffScrubO15msi.vbs, and OffScrubO16msi.vbs in O15CTRRemove.diagcab are for Office 365 (a.k.a. Click-to-run or C2R), Office 2013, and Office 2016, respectively. The Offscrub extraction script above moves these to separate folders after extraction is complete for consistency with the other scripts, so that each ConfigMgr.
Office 2016 will not install if you have fragments of older Office programs on the machine.
*I have just discovered that we will need to install Office 2016 Pro Plus (subscription) to PC’s throughout our domain (200+ PC’s)and am looking at ways to do so in the most efficient manner. Ideally we would like to deploy via GPO, controlling by a PC security group and after uninstalling an earlier version.
*Deployed Office 2016 for the entire organization using automation script I wrote. The office deployment tool is kind of useless, nothing seems to work the way you want it (much like everything in IT). Like my colleague says ’EXPECT FOR THE WORST’. You can access the Office customization tool by typing the path of the Office product.
*I uninstalled office 365 (30 days ) demo and routinely went ahead installing Office standard 2016 (genuine license - Volume License) I activated the Office 2016 standard and everything looked fine and then suddenly I find ’ Please activate your product’. I did the activation and then this process looped again.
Please see the previous article : Script to Remove ALL Office Programs prior to deploying Office 2016 from a network location! This is a scripted way to speed up the uninstall process and reboot the users machine, prior to running this script.
There are two scripts that will be covered in two separate articles, you will find they work great together. First you UNINSTALL Office, then Second you INSTALL.
I’ve tested this process on a live domain, and have significantly reduced the time it takes to Remove previous Office versions and Deploy Office 2016 Pro Plus w/Visio.Step 1 – Download Office 2016 Deployment Tool from Microsoft
This tool can be found here: Office 2016 Deployment Tool.
Filename: officedeploymenttool_7614-3602.exeStep 2 – Run the executable
You will see the following:
Check the Terms box and hit continue.
Select the location for the extracted files. I chose DeploymentTool on the C: drive of my laptop.
After selecting the location, you will see:
You will see two files in the location: Setup.exe and configuration.xml.
NOTE: This file has to be run under an Elevated Command Prompt, not just by clicking on exe file! Clicking on setup.exe does nothing.
Note: By default, Office 2016 Pro Plus installs Visio Pro, if you do not want Visio Pro, you can remove it from the Configuration.xml file.
Remove this from the Configuration.xml file, if you do not wish to install Visio Pro.
Special Note: When I setup this process, I downloaded the deployment tool to my laptop, so that I could run the deployment tool. Then (once all Office 2016 Pro files were downloaded), I copied the files to the Network Share labeled Office2016. Step 3 – Run Setup.exe under an Elevated Command Prompt
Open an Elevated Command Prompt on your system by right clicking Command Prompt and “Run as Administrator”. (or whatever way you open CMD)
Navigate to deployment tool folder holding the setup.exe and configuration.xml files.
You can type setup.exe to display the list of commands:
Run the following command from an Elevated Command Prompt, in the file location where you extracted the tool.
The Program will create an “Office” folder and download the necessary files into the folder, where you ran this tool.
You can see the “Office” folder has been created, with several folders and files inside of it.
It will take several minutes for these files to be downloaded. This will depend on your network speed.Step 4 – Copy these folders and files to a Network Share
Copy these folders and files to a network location on the server of your choice. This folder on your network needs to be shared to everyone, so that users or your help desk staff can run the scripts from a user’s pc. I named my Network Share “OFFICE2016”, as I use this location for BOTH the UNINSTALL script and the INSTALL Office 2016 script.
An example of all the files in the network share are shown here:Step 5 – Modify the Office 2016 INSTALL Script to work in your environment
I placed this file in a share named “OFFICE2016” along with the files from this article.
@echo off
setlocal
::Store working directory to return after finished
set WORKDIR=%CD%
::Map and switch to a network drive and give it unmapped drive letter
pushd YOURSERVER_FQDN_or_IPOFFICE2016
Max payne 2 walkthrough pc. ::Store the name of the network drive so it can be unmapped when finished
Set NETDRIVE=%CD%
set NETDRIVE=%NETDRIVE:=%
::Change back to the original directory
cd /d %WORKDIR%
::Run commands with the network drive mapped
%NETDRIVE%setup.exe /configure
::Uncomment this to catch errors from the executable
::if %errorlevel% GTR o exit %errorlevel%
Aid file recovery registration code. ::Unmap the network drive
net use %NETDRIVE% /delete /y
endlocal
Save the script as a BAT file, I named mine “NETWORK-INSTALL-OFFICE-2016.BAT”
The process of this script:
When you run this script, it will create a temporary network share on the user’s computer, install Office 2016 Pro Plus, then remove the temporary network share.Step 6 – Run the script on a user’s PC!
Navigate to your OFFICE2016 network share and run the “Network-INSTALL-OFFICE-2016.bat“, as an administrator. And watch the magic
コメント