I tried “try to install the AddIn by double clicking the VSTO file at the following location:”
This error is occured.
Error message means :
System.Deployment.Application.InvalidDeploymentException: File, NLog.dll, has a different computed hash than specified in manifest.
at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.DownloadAddIn(TimeSpan timeout)
at Microsoft.VisualStudio.Tools.Applications.DeploymeClickOnceAddInDeploymentManager.InstallAddIn()
[2020/07/01 16:48:04] ---------------start---------------
[2020/07/01 16:48:04] Running script at 07/01/2020 16:48:04 on AIGOSS004
[2020/07/01 16:48:04] Trying to install the UiPath ExcelAddIn
[2020/07/01 16:48:04] Studio base path is C:\Users\aigoss_admin\AppData\Local\UiPath\app-20.6.0-beta0093
[2020/07/01 16:48:04] RepairOnly mode is True
[2020/07/01 16:48:04] Found VSTO registry key HKLM:\SOFTWARE\Microsoft\VSTO Runtime Setup\v4R
[2020/07/01 16:48:04] VSTO runtime version is 10.0.60828
[2020/07/01 16:48:04] Repair mode - Excel Addin not instaled - nothing to do
[2020/07/01 16:48:04] ImportSigningCertificate dllPath is C:\Users\aigoss_admin\AppData\Local\UiPath\app-20.6.0-beta0093\UiPath.Integration.ExcelAddIn.dll
[2020/07/01 16:48:05] ImportSigningCertificate Importing SignerCertificate into the CurrentUser TrustedPublisher store
[2020/07/01 16:48:05] ImportSigningCertificate - SignerCertificate imported successfully
[2020/07/01 16:48:05] Finished ExcelAddIn installation at 07/01/2020 16:48:05
[2020/07/01 16:49:32] ---------------start---------------
[2020/07/01 16:49:32] Running script at 07/01/2020 16:49:32 on AIGOSS004
[2020/07/01 16:49:32] Trying to install the UiPath ExcelAddIn
[2020/07/01 16:49:32] Studio base path is C:\Users\aigoss_admin\AppData\Local\UiPath\app-20.6.0-beta0093
[2020/07/01 16:49:32] RepairOnly mode is False
[2020/07/01 16:49:32] Found VSTO registry key HKLM:\SOFTWARE\Microsoft\VSTO Runtime Setup\v4R
[2020/07/01 16:49:32] VSTO runtime version is 10.0.60828
[2020/07/01 16:49:32] Creating registry key HKCU:\Software\Microsoft\Office\Excel\AddIns\UiPath.Integration.ExcelAddIn
[2020/07/01 16:49:32] Check registry value exists HKCU:\Software\Microsoft\Office\Excel\AddIns\UiPath.Integration.ExcelAddIn FriendlyName
[2020/07/01 16:49:32] System.Management.Automation.PSArgumentException: There is no Property FriendlyName in HKEY_CURRENT_USER\Software\Microsoft\Office\Excel\AddIns\UiPath.Integration.ExcelAddIn
[2020/07/01 16:49:32] Add registry value HKCU:\Software\Microsoft\Office\Excel\AddIns\UiPath.Integration.ExcelAddIn FriendlyName with value UiPath.Integration.ExcelAddIn
[2020/07/01 16:49:32] Check registry value exists HKCU:\Software\Microsoft\Office\Excel\AddIns\UiPath.Integration.ExcelAddIn Description
[2020/07/01 16:49:33] System.Management.Automation.PSArgumentException: There is no Property Description in HKEY_CURRENT_USER\Software\Microsoft\Office\Excel\AddIns\UiPath.Integration.ExcelAddIn
[2020/07/01 16:49:33] Add registry value HKCU:\Software\Microsoft\Office\Excel\AddIns\UiPath.Integration.ExcelAddIn Description with value UiPath.Integration.ExcelAddIn
[2020/07/01 16:49:33] UiPath ExcelAddIn path is C:\Users\aigoss_admin\AppData\Local\UiPath\app-20.6.0-beta0093\UiPath.Integration.ExcelAddIn.vsto
[2020/07/01 16:49:33] Check registry value exists HKCU:\Software\Microsoft\Office\Excel\AddIns\UiPath.Integration.ExcelAddIn Manifest
[2020/07/01 16:49:33] System.Management.Automation.PSArgumentException: There is no Property Manifest in HKEY_CURRENT_USER\Software\Microsoft\Office\Excel\AddIns\UiPath.Integration.ExcelAddIn
[2020/07/01 16:49:33] Add registry value HKCU:\Software\Microsoft\Office\Excel\AddIns\UiPath.Integration.ExcelAddIn Manifest with value file:///C:\Users\aigoss_admin\AppData\Local\UiPath\app-20.6.0-beta0093\UiPath.Integration.ExcelAddIn.vsto|vstolocal
[2020/07/01 16:49:33] Check registry value exists HKCU:\Software\Microsoft\Office\Excel\AddIns\UiPath.Integration.ExcelAddIn LoadBehavior
[2020/07/01 16:49:33] System.Management.Automation.PSArgumentException: There is no Property LoadBehavior in HKEY_CURRENT_USER\Software\Microsoft\Office\Excel\AddIns\UiPath.Integration.ExcelAddIn
[2020/07/01 16:49:33] Add registry value HKCU:\Software\Microsoft\Office\Excel\AddIns\UiPath.Integration.ExcelAddIn LoadBehavior with value 3
[2020/07/01 16:49:33] Adding the add-in to the VSTO security inclusion list
[2020/07/01 16:49:33] RSAKeyValue is 1r263ztFjvj/kzQSeLrWvPZnqsvm69NZrK3cppxf7NGtOWcUst43dR39ll6YsoXP4/rI24XMt0RDD/l5SqoVZ4ujnR3KCFscdsMLrpfyIEcnwKiXvyEdzWGYOOVCeMygg+LKtwWyRfVETzq4rc+1k71CcUpWTep69RUlbDLyN4+vBytnUvT9dwX6CyDLzvkC0073t47wV+/9JrpOXq4kwiUFl0017+SEikJ4Wni/wYsM+z60BPN95XJkf2NgI8kzKs7kXnofm2NEWPYRumanshZ/Ifb4E605L4pFd76SLUDSlT4nRofKw7CA0LJNnLJkDsS2MHPCO3LxhUhrEGlutQ==AQAB
[2020/07/01 16:49:33] Check registry value exists HKCU:\Software\Microsoft\VSTO\Security\Inclusion\ff460638-5a63-4b46-8c05-bdf1d04d5c3c PublicKey
[2020/07/01 16:49:33] System.Management.Automation.PSArgumentException:There is no Property PublicKey in HKEY_CURRENT_USER\Software\Microsoft\VSTO\Security\Inclusion\ff460638-5a63-4b46-8c05-bdf1d04d5c3c
[2020/07/01 16:49:33] Add registry value HKCU:\Software\Microsoft\VSTO\Security\Inclusion\ff460638-5a63-4b46-8c05-bdf1d04d5c3c PublicKey with value 1r263ztFjvj/kzQSeLrWvPZnqsvm69NZrK3cppxf7NGtOWcUst43dR39ll6YsoXP4/rI24XMt0RDD/l5SqoVZ4ujnR3KCFscdsMLrpfyIEcnwKiXvyEdzWGYOOVCeMygg+LKtwWyRfVETzq4rc+1k71CcUpWTep69RUlbDLyN4+vBytnUvT9dwX6CyDLzvkC0073t47wV+/9JrpOXq4kwiUFl0017+SEikJ4Wni/wYsM+z60BPN95XJkf2NgI8kzKs7kXnofm2NEWPYRumanshZ/Ifb4E605L4pFd76SLUDSlT4nRofKw7CA0LJNnLJkDsS2MHPCO3LxhUhrEGlutQ==AQAB
[2020/07/01 16:49:33] Check registry value exists HKCU:\Software\Microsoft\VSTO\Security\Inclusion\ff460638-5a63-4b46-8c05-bdf1d04d5c3c Url
[2020/07/01 16:49:33] System.Management.Automation.PSArgumentException: There is no Property Url in HKEY_CURRENT_USER\Software\Microsoft\VSTO\Security\Inclusion\ff460638-5a63-4b46-8c05-bdf1d04d5c3c
[2020/07/01 16:49:33] Add registry value HKCU:\Software\Microsoft\VSTO\Security\Inclusion\ff460638-5a63-4b46-8c05-bdf1d04d5c3c Url with value file:///C:\Users\aigoss_admin\AppData\Local\UiPath\app-20.6.0-beta0093\UiPath.Integration.ExcelAddIn.vsto
[2020/07/01 16:49:33] ImportSigningCertificate dllPath is C:\Users\aigoss_admin\AppData\Local\UiPath\app-20.6.0-beta0093\UiPath.Integration.ExcelAddIn.dll
[2020/07/01 16:49:35] ImportSigningCertificate Importing SignerCertificate into the CurrentUser TrustedPublisher store
[2020/07/01 16:49:35] ImportSigningCertificate - SignerCertificate imported successfully
[2020/07/01 16:49:38] StartExcelAndCheckAddInConnection - COMAddIns.Count: 1
[2020/07/01 16:49:38] StartExcelAndCheckAddInConnection - ComAddIn detected: Microsoft Power Map for Excel
[2020/07/01 16:49:38] StartExcelAndCheckAddInConnection - UiPath ComAddIn not valid
[2020/07/01 16:49:39] OfficeAddInSetup Error:
[2020/07/01 16:49:40] Finished ExcelAddIn installation at 07/01/2020 16:49:40
I translated log file(Japanese) into English, so log file is not exatly the same to English log file.
in your excel version picture, if you look close you will see under the About Excel “…Microsoft Store”.
We learned that some versions of office installed as windows apps thru store do not support com addins. This might be the cause in your case as well.
Only solution is to install it as Click to Run as we don’t support versions installed via store.
If you will search a little the web you will see that lots of 3rd parties have problems with office installed via store, as the COM is not working as expected or is limited.