These versions are usually modified using virtualization tools (like ThinApp or Turbo) to run as a single executable file that doesn't leave traces on the host computer.
Stay portable, but stay safe.
End of support for Office 2016 and Office 2019 | Microsoft Support microsoft office 2019 portable top