msiexec

Install, update, repair, or uninstall Windows programs using MSI and MSP package files. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/msiexec.

msiexec /package path\to\file.msi

msiexec /package https://example.com/installer.msi

msiexec /update path\to\file.msp

msiexec /uninstall path\to\file