"Unable to find Company of Heroes directory"This problem usually happens because 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. In either case, you can follow this small guide to restore it: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".Remember always to double check the path saved on the CoH Directory option on the launcher settings. Fix it if it points to a different location; this can be done whether you apply the registry fix or not, however, if you don't apply the registry fix, in some cases CoH Directory's setting is reseted everytime you open the launcher.If you feel that this is too complicated, you can copy this:For Steam users(x86):Code: [Select]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"For Steam users(x64):Code: [Select]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"For Retail users(x86):Code: [Select]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"For Retail users(x64):Code: [Select]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"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 shorcutCreate a shorcut using Steam library's additional parameters feature for Company of Heroes.[...]
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"
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"
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"
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"