Are you running the installer as an Administrator or with an account with the needed permissions to install software?
Does the machine meet the minimum ArcGIS Desktop 10.6 system requirements—System Requirements | ArcGIS Desktop ?
Is it possible that your anti-virus is interacting with the installation?
Yes my account is an administrator account.
Yes it far exceeds the minimum system requirements.
The computer came with only windows defender antivirus. I tried turning that off and it still did the same thing.
Attached is a screen shot of the message.
Cancel out of the setup dialog.
Follow these instructions to enable MSI logging. https://support.microsoft.com/en-us/help/223300/how-to-enable-windows-installer-logging
Start ArcMap again.
there will be a randomly named MSI log in your %temp% folder. Send me (or post) that log file, this will help us identify which resource the setup is trying to install or repair.
Thanks. The log shows that this setup/product is attempting to repair itself.
MSI (s) (90:40) [15:59:05:696]: Product: TerraGo Publisher for ArcGIS -- Configuration failed.
MSI (s) (90:40) [15:59:05:696]: Windows Installer reconfigured the product. Product Name: TerraGo Publisher for ArcGIS. Product Version: 6.0.03092. Product Language: 1033. Manufacturer: TerraGo Technologies. Reconfiguration success or error status: 1602.