-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shimgen not creating shims, with error 'Could not execute CVTRES.EXE.' #209
Comments
It looks like perhaps your .net framework install is corrupted somehow. One of the answers to a similar issue on stackoverflow hinted at a repair tool from Microsoft, or perhaps running |
I tried |
🤔 I'm not sure where else to look with this. I'm seeing no issues on Windows 10 21h2, 22h1, and 22h2 (10.0.19043-19045), nor in Windows 11.. This seems very unlikely, but perhaps it's something to do with 32 vs 64 bit... Could you try launching |
No dice :/
It's a work laptop with some restricted privileges, so I feel like it might be related to that, but I wish I could see even which CVTRES.EXE it was trying to execute, and with what parameters... |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? |
This is still ongoing. My workaround is to create symbolic links in git bash: cd /c/ProgramData/chocolatey/bin/
ln -s /c/ProgramData/chocolatey/lib/azcopy10/tools/azcopy/azcopy.exe These work for most scenarios but (as pointed out by the chocolatey documentation) are not as universally applicable as shimgen. |
What You Are Seeing?
I am seeing all packages (that otherwise install successfully) not have shims created for them.
What is Expected?
The packages get shims created in
C:\ProgramData\chocolatey\bin
so that they can be executed easily from anywhere.How Did You Get This To Happen? (Steps to Reproduce)
choco install make -dv
C:\ProgramData\chocolatey\lib\make\tools\install\bin\make.exe
and get correct output:make: *** No targets specified and no makefile found. Stop.
make.exe
ormake
from any location:make.exe: The term 'make.exe' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
System Details
[System.Environment]::OSVersion.version.tostring()
): 10.0.19045.0$PSVersionTable
): 7.2.6choco --version
): 1.1.0Output Log
See https://gist.github.com/Balfa/fc254362476f406b226162d791d23c21
┆Issue is synchronized with this Gitlab issue by Unito
┆Link To Issue: https://gitlab.com/chocolatey/collaborators/shimgen/-/issues/39
The text was updated successfully, but these errors were encountered: