Office pro has an admin config file that can be loaded.
setup.exe /admin
I get rid of the EULA, supress modal, reboot and also the items that run on first load
Sophos is a little different.
\\SERVER\SophosUpdate\CIDs\S000\SAVSCFXP\setup.exe -ouser "abc123" -opwd "def456" -mng yes -s -updp "\\SERVER\SophosUpdate\CIDs\S000\SAVSCFXP" -crt D -patch http://SERVER-FQDN:80
The username and password is obfuscated, you need to use the tool provided by sophos. Information in the following KBs
https://community.sophos.com/kb/en-us/12570
https://community.sophos.com/kb/en-us/13094