Tuesday, February 21, 2012

Could not get Chrome DLL version RelaunchChromeBrowserWithNewCommandLineIfNeeded

This error can occur in many circumstances. In my case I was running chrome.exe from command line to pack Chrome extension. But searching internet shows that this error occurs in many different environments and circumstances. What worked for me:

  1. Go to the Chrome installation directory C:\Users\yourusername\AppData\Local\Google\Chrome\Application
  2. It has the following directory inside: "17.0.963.56" - the name of directory on your computer can be different
  3. Simply add the full path to the chrome home directory and this build directory to your "PATH" environment variable.

1 comment:

Mikhail Gavryuchkov said...

After a couple of week since writing this post I found that Chrome got updated itself and the directory name that was "17.0.963.56" is no longer the same. The directory name changed and the fix described in this post no longer works.

At the time of this comment (June 14th, 2012) this problem hasn't been solved and people keep complaining about it here http://code.google.com/p/chromium/issues/detail?id=47211