Hello Moises, hope this message finds you well.
This kind of problem occurs when there are some traces in the registry left. So, I recommend deleting the registry keys related to Cisco AnyConnect. To do it, follow the steps, please:
At first, please backup registry, follow the link to read this support article: How to back up the registry in Windows. https://support.microsoft.com/en-us/help/322756...
Then, do the following steps:
Click on Windows key + R to run dialog box
Input regedit, then click on Enter
Go to the following location: HKEY_CLASSES_ROOT\Installer\Products\
When you are in the Products folder, find and delete the registry key with the product information for Cisco AnyConnect Secure Mobility Client.
(Each registry key within Products is an alphanumeric string. Select the first key and look on the right side for ProductName REG_SZ Cisco AnyConnect Secure Mobility Client. Go through each key in the Products folder until you find the one for Cisco AnyConnect Secure Mobility Client.)
Close the registry editor.
When you are over, start the installation for Cisco AnyConnect.
____
Steve