Welcome to FreeSoftwareServers Confluence Wiki

I haven't tested using the CustomizeRibbon Feature inside a template vs the "OfficeUI" approach, but here are my notes.

@echo off
pushd %~dp0
cls
::FreeSoftwareServers.com

set WORDSTARTUP=%AppData%\Microsoft\Word\STARTUP
set OFFICEUI=%userprofile%\AppData\Local\Microsoft\Office
set USERDIR=%USERPROFILE:C:\Users\=%
set TEMP=%TEMP%

IF EXIST "%WORDSTARTUP%" GOTO FOUNDWORDSTARTUP
md "%WORDSTARTUP%"
:FOUNDWORDSTARTUP

IF EXIST "%OFFICEUI%" GOTO FOUNDUI
md "%OFFICEUI%"
:FOUNDUI

::Word
copy "%~dp0\Word\*.do*" "%WORDSTARTUP%"
copy "%~dp0\Word\*.ttf" "%WORDSTARTUP%"
copy "%~dp0\Word\*.OfficeUI" "%OFFICEUI%"
  • No labels