Google Cloud SDK installer fails to complete component installation on Windows 7

Vladas K picture Vladas K · Mar 1, 2016 · Viewed 16.3k times · Source

During installation I get a message:

Unfortunately, the component installation did not complete successfully. Please check the detailed logs for the error message.

I tried installing to all users, single user, many destinations and names.

Details:

Output folder: C:\Program Files (x86)\Google\Cloud SDK Downloading Google Cloud SDK core. Extracting Google Cloud SDK core. Create Google Cloud SDK bat file: C:\Program Files (x86)\Google\Cloud SDK\cloud_env.bat Installing components. The filename, directory name, or volume label syntax is incorrect. Failed to install.

What to do?

Answer

user6352832 picture user6352832 · May 18, 2016

for some reason it seems it doesn't like the spaces in the path. Change to other path without spaces: like C:/some/folder/with/no/spaces/cloud-sdk