Conflict of CPack in PATH #649
Labels
Area: Image administration
awaiting-deployment
Code complete; awaiting deployment and/or deployment in progress
bug
Something isn't working
OS: Windows
Describe the bug
There are two
cpack.exe
in PATHchoco pack
for ChocolateyThe first one (placed in
%ChocolateyInstall%\bin\
) is in front of the second one (placed in CMake installtion dir), so when usecpack
in cmd, it will call the first one.But actually, the first one is just an alias, while the second one is an important program, and the second one is more important the the first one.
Area for Triage:
Packages
Question, Bug, or Feature?:
Bug
Virtual environments affected
Expected behavior
The cpack in CMake suite is in front of the alias in PATH, and
cpack
command will call the second one above.Actual behavior
The
cpack
command call the aliasSolution
There are two ways to solve this problem
del /F /Q %ChocolateyInstall%\bin\cpack.exe
)The text was updated successfully, but these errors were encountered: