Смысл таков, что указанный скрипт компилируется с помощью AutoIt (
ветка по AutoIt) в exe-файл и этот exe'шник кладется рядом с вашим mst файлом. А установка Office вызывается через скомпилированный exe. Там где выделено жирным, надо вписать название своего mst.
Код:

; ----> The Office and reboot.js file error definitive fix!
AutoItSetOption("TrayIconHide", 1)
AutoItSetOption("WinTitleMatchMode", 4)
BlockInput(0)
; ----> Add the name of your .msp file here. (I have mine in the same directory as the setup.exe file)
RunWait( @ScriptDir & "\setup.exe /adminfile Office.msp", "", @SW_HIDE)
; ----> If you have a SLOW pc and are still getting the error make this number higher (I suggest by 5000 increments)
Sleep(10000)
Exit