The Microsoft Windows installer service uninstall is called on the MSI file used during installation to uninstall the package using the following command:
msiexec /qn /x file path
After msiexec finishes, the MSI file is removed.