I have this same issue on Windows 7. It is actually the same error I get when trying to launch Slack as well. The Slack people told me it may be related to my User Profile being on a drive that uses lowercase lettering. I haven’t tested their offered solution as I’m not able to modify the registry on my work machine.
The response from Slack:
To provide more context, the install error you are receiving is related to some registry keys or environment variables set with paths that aren’t case sensitive. This may mean that a variable such as %USERPROFILE% expands to d:\users instead of D:\Users. In the error you sent, there appears to be mixed cases referring to your D:\ and d:\ drives in some of the paths that are logged.
You may be able to overcome this by investigating and editing your registry. Although, unless you’re familiar with using the registry, I wouldn’t personally recommend editing it. This method is not also guaranteed to work, but it has seen some success with users.
In the chance that you are technically savvy and have edited your user registry before, instances of drive letter cases that are causing this issue have been found in this location of the registry prior: HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList. However, every system is different so this may not be exactly right, but may give you somewhere to start.