Use of depreciated chocolatey shim in application manager

Support forums for the Habitat Automate plugin
Post Reply
sashdown
Posts: 6
Joined: Fri Aug 25, 2023 2:21 pm

Use of depreciated chocolatey shim in application manager

Post by sashdown »

Hi there,

Is there a concern around the use of cinst as set as a variable on line 11 and line 347 which is depreciated as a shim in chocolatey 2.0.0 and higher ?

This is seemingly the cause of a few errors I am getting back when running update on the agents

Code: Select all

Scanning software installs with [ Google Chrome ]
Matching softwareID found [ 112933105 ] for [ googlechrome ]
Checking Repo cache for  [ googlechrome ]
Install of googlechrome returned -> ['C:\ProgramData\chocolatey\bin\cinst.exe' is not recognized as an internal or external command,
operable program or batch file.]
It appears this and be worked around with the use of chocolatey package choco-shim-redirects which recreates these as symlinks/aliases however i can see this causing slight issues regarding how other commands are parsed from script variables to chocolatey in other steps?

User avatar
Cubert
Posts: 2457
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

Re: Use of depreciated chocolatey shim in application manager

Post by Cubert »

Oh, yes that's not to be there any more. I'll get that fixed ASAP. May explain a few other issues being reported..


Thanks.


I'll have a fix out later today.


Post Reply

Return to “Habitat”