Forums

I can't install Cobra [gacutil error]

General discussion about Cobra. Releases and general news will also be posted here.
Feel free to ask questions or just say "Hello".

I can't install Cobra [gacutil error]

Postby Vhoks » Sat Apr 07, 2018 2:12 pm

When I install Cobra (Install From Workspace.exe) I get an error telling me that it does not find gacutil while it is on my computer, i also have opened cmd with administrator (see screen)
Attachments
rror.png
rror.png (755.72 KiB) Viewed 63433 times
Vhoks
 
Posts: 1

Re: I can't install Cobra [gacutil error]

Postby Charles » Tue Apr 10, 2018 3:09 pm

In the source code for the installer, we have:
# The .NET team cannot decide on a location for gacutil.exe
dirs = [
# VS 2017
r'\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.2 Tools\x64',
r'\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.2 Tools',
r'\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64',
r'\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools',

# Windows 8.1 SDK
r'\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\x64',
r'\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools',

r'Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools', # VS 2012
r'\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools', # VS2012
r'Microsoft SDKs\Windows\v7.1\Bin', # VS 2010
r'Microsoft SDKs\Windows\v7.1\Bin\NETFX 4.0 Tools\x64', # VS2010
r'Microsoft SDKs\Windows\v7.1\Bin\NETFX 4.0 Tools', # VS2010
r'Microsoft SDKs\Windows\v6.0A\bin', # VS 2008
r'Microsoft.NET\SDK\v2.0\bin', # VS 2005 / SDK .NET 2.0
r'Microsoft Visual Studio 8\SDK\v2.0\Bin',
]

Given that 7.1 was for Visual Studio 2010 and 6.0A was for VS 2008, I'm not sure where 7.0A lies, but it seems rather old.

Would you be opposed to install Visual Studio 2017 Community Edition and then trying again?

Alternatively, you could tweak the source code of the installer to include your path.
Charles
 
Posts: 2515
Location: Los Angeles, CA


Return to Discussion

Who is online

Users browsing this forum: No registered users and 48 guests