Skip to content
This repository was archived by the owner on Feb 8, 2020. It is now read-only.

Latest commit

 

History

History
17 lines (10 loc) · 871 Bytes

File metadata and controls

17 lines (10 loc) · 871 Bytes

Office2016-RelativePath

I was trying to use Office Deployment Tool (ODT) using relative path for our Office 2016 ProPlus deployment (On USB Key & Hard Drive).

As USB Key are mounted each time with different letters depending on how many devices already mounted. I was stuck cause ODT XML Configuration file does not support relative path.

You can see this limitation on this page : here

To run this script on client computers, i'm using this simple launch cmd.

powershell.exe -ExecutionPolicy bypass -File .\path\install.ps1

The idea was to read and replace the line with SourcePath="Path" with the current dir. Quick and Dirty.

That's All Folks! Hope this help.