I am having an issue with installing Elasticsearch (6.6.2 and 7.0.0 MSIs have same issue). The install fails and the error listed is:
Calling custom action Elastic.Installer.Msi!Elastic.Installer.Msi.Elasticsearch.CustomActions.Immediate.ElasticsearchExistingDirectoriesAction.ElasticsearchExistingDirectories
System.Exception: Can not execute Elastic.InstallerHosts.Elasticsearch.Tasks.Install.ExistingDirectoriesTask the model that it was passed has the following errors
• CONFIGDIRECTORYISSPECIFIEDANDSUBPATHOFESHOME: The previous ES_PATH_CONF or ES_CONFIG appears to be a subfolder
of ES_HOME please move these before starting the installation.
at Elastic.InstallerHosts.SessionExtensions.Handle(Session session, Func`1 action)
CustomAction ElasticsearchExistingDirectoriesAction returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
This doesn't make sense to me as the directory structure I am using is