I would avoid LMI rescue. It does some crazy things like copy the executable in to the tmp folder. That gets shutdown by apple’s Privacy controls pretty easily. It tries to leave no foot print behind but it really acts suspiciously so the macOS Privacy controls don’t work well.
Since you are pushing out with JAMF, you our pre-Instal the Teamviewer QS properly and maintain it via JAMF.