Dear @DiegoAlvarez26,
This issue you described could be caused by corrupted registry keys left behind by a faulty installation, or a Windows update.
Please try the following:
-Remove any versions of TeamViewer via the add/remove programs option from Control Panel.
-Go to Regedit: remove the full TeamViewer folders located in[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\][HKEY_CURRENT_USER\SOFTWARE\]
and if there the folder "TVInstallTemp" (also located in [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\] )
-Also, please delete the entire TeamViewer folder located in %temp%
-Restart the machine.
-Download a fresh copy of Teamviewer from our website (https://www.teamviewer.com/en/download/windows/) and copy the installation directly under C: then disable temporarly your Antivirus and right-click on the installation and select "Run as Admin".
I hope this solves the issue.
Giovanni