Recently I was trying to install Sitecore 9.1.1 on my machine and started getting an weird issue i.e. “Cannot validate argument on parameter ‘Path'” during the xConnect installation piece.
I went and checked if all the prerequisites were installed correctly and also ran few msi files as suggested in this link: https://sitecore.stackexchange.com/questions/22639/sif-exception-cannot-validate-argument-on-parameter-path
But the solution in the above link didn’t help, then I started a communication with my colleagues and tried to understand if anyone had face something similar. To my surprise, one of my colleague to check the SIF version I am using, I was using the latest one which 2.3.0 where as for Sitecore 9.1.1, SIF 2.1.0 was compatible.
You can check the Sitecore and SIF compatibility here – Sitecore Installation Framework and Sitecore Versions Compatibility Table | KB (kezhan.info)
There are helpful commands in the above link to check, install or uninstall SIF on your machine.
I used below command to check the version installed on my machine:
Get-Module SitecoreInstallFramework –ListAvailable
Then uninstalled the SIF 2.3.0 using below command:
Uninstall-Module -Name SitecoreInstallFramework -RequiredVersion 2.3.0
And installed SIF 2.1.0 using below command:
Install-Module -Name SitecoreInstallFramework -RequiredVersion 2.1.0
Retried installing Sitecore 9.1.1 and it worked like a gem.
Hope it helps!
Thank you.. Keep Learning… Keep Sitecoring!!!