Problem
When running the installer you encounter the following error:
“Failed to install Management Packs: Exception setting “Path”: “Cannot find path <path to management core dll> because it does not exist”
Solution
If this happens, take a look at the installer log and see if it looks similar or the same to the screenshot below:
If it does, check further up the log for ‘Deploying website starting’, this is the process that takes place to deploy the website, and this is what is failing to run as you can see from the log file below. It starts and finishes straight away, there should be a lot of files copied and log file entries written in between these lines.
The component that is deploying the website is the CiresonPortal.deploy.cmd file in the Website folder of the installer files. We need to check if this is failing.
Note: You can find out where and how this is run in the InstallPortal.ps1 script if you do a search for it
If you run this deployment file manually using cmd and adding the /Y switch, you will get the below error:
The reason this is failing to run is because the installer path which the deployment file is running from contains brackets (), and for some reason it does not like this and fails to run.
Removing those brackets from the folder name and reinstalling the portal results in a successful install.