Just another WebvIsion weblog

Microsoft Office

Script: install Office

if exist “C:\Program Files\Microsoft Office\Office16” goto :eof ELSE
\\Smbfolder\\setup.exe /adminfile \\Smb-Folder\Office.MSP


to create the MSP file Please run cmd

go to office install folder and run

setup.exe /admin

then you will see options for the MSP file

Provide the data that you wish to enter as KEY and more

and then save the file in the SMB folder

for more info

Automate the Install of Microsoft Office 2016 with an MSP File