"Unable to find Company of Heroes directory"This problem usually happens because of two things:
1) The main registry for CoH is lost, if you are a Steam user, you need to run CoH at least once from Steam's library in order to create them.
2) Your path on the launcher settings is wrong.
Remember always to double check the path saved on the CoH Directory option on the launcher settings, specially if you use any other path than the default from retail version.
As the option number two is the easier one, we will try that first.
Open the launcher and go to Settings menu, then look at CoH Directory option's value. Fix it if it points to a different location.
Here is a small clip depicting the operation mentioned above(courtesy of
BogdanSG1):
If your problem still persists or your path was already correct(remember the path where you installed EF should end with "Company of Heroes"), probably means your registry keys for Company of Heroes are missing and in order to fix that we should do what the step two says, so you can follow this small guide to restore them:
Open a regedit instance(windows key + R or start menu->run and type regedit then execute) and look for "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Company of Heroes" key's String value, "InstallLocation", and should have your current CoH directory.
If not, change it to the correct value; if not exists, create "Company of Heroes" key then create a String value "InstallLocation" and fill it with the correct path. If you are using x64 OS, try checking on "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node".
If you feel that this is too complicated, you can copy this:
For Steam users(x86):Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Company of Heroes]
"InstallLocation"="C:\\Program Files\\Steam\\SteamApps\\common\\company of heroes"
[HKEY_LOCAL_MACHINE\SOFTWARE\THQ\Company of Heroes]
"InstallLocation"="C:\\Program Files\\Steam\\SteamApps\\common\\company of heroes"
For Steam users(x64):Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Company of Heroes]
"InstallLocation"="C:\\Program Files (x86)\\Steam\\SteamApps\\common\\company of heroes"
[HKEY_LOCAL_MACHINE\SOFTWARE\THQ\Company of Heroes]
"InstallLocation"="C:\\Program Files (x86)\\Steam\\SteamApps\\common\\company of heroes"
For Retail users(x86):Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Company of Heroes]
"InstallLocation"="C:\\Program Files\\THQ\\Company of Heroes"
[HKEY_LOCAL_MACHINE\SOFTWARE\THQ\Company of Heroes]
"InstallLocation"="C:\\Program Files\\THQ\\Company of Heroes"
For Retail users(x64):Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Company of Heroes]
"InstallLocation"="C:\\Program Files (x86)\\THQ\\Company of Heroes"
[HKEY_LOCAL_MACHINE\SOFTWARE\THQ\Company of Heroes]
"InstallLocation"="C:\\Program Files (x86)\\THQ\\Company of Heroes"
and paste it on a text editor(like notepad) and save it as reg file: i.e.
filename.reg, where
filename is whatever name you like and then double click it in order to add the registry. You can use the script whenever you want, just that everytime you use it you overwrite the old registry so, be sure about what you add there.
These are the default paths so, if you have a different one, you will need to change it. Just remember to replace the single backslash("\") for the double one("\\") in the InstallLocation value.
Alternatively, you can:
- Reinstall Company of Heroes if you don't like to do all the steps above.
- Create a shorcut
- Create a shorcut using Steam library's additional parameters feature for Company of Heroes.