To run a MSI installer in silent mode, use the command line option /quiet or /qn, i.e.
msiexec c:\path\to\installer.msi /quiet /qn
Reference
https://msdn.microsoft.com/en-us/library/windows/desktop/aa367988(v=vs.85).aspx
http://www.advancedinstaller.com/user-guide/msiexec.html
To run a EXE installer in silent mode, use the command line option /S, i.e.
installer.exe /S /mode=all
installer.exe /S /mode=current
/mode=current: install for current user only
/mode=all: install for all users
Reference