Closed stefan-muc closed 2 months ago
Looking at the log file and the install script, this is down to globbing coming back to bite us again.
It looks like you have two setup files in the package directory (one from the previous version, and one from the version attempted to be installed).
Since this comes invalid, it throws this error. As a temporary workaround, you can go into the $env:ChocolateyInstall\lib\winscp.install\tools
directory and delete the setup file called WinSCP-6.1.2-Setup.exe
. This should allow you to install/upgrade the package before we get the package updated with a fix.
Indeed, this helped me to upgrade. Thanks for the workaround!
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue will be closed in 14 days if it continues to be inactive.
Please do not add a comment to circumvent automatic closure unless you plan to help move it forward. Doing this may lead to the issue being closed immediately instead.
Chocolatey Version
2.2.2
Chocolatey License
None
Package Version
Upgrade from 6.1.2 to 6.3.0
Current Behaviour
Upgrading on a Windows 11 machine yields a
ERROR: Cannot process argument transformation on parameter 'file64'. Cannot convert value to type System.String.
Upgrading some Windows 10 instances worked properly.
Expected Behaviour
No response
Steps To Reproduce
run a
choco upgrade winscp
For the log below I ran achoco upgrade winscp.install
as upgrade of the winscp metapackage succeded despite winscp.install wasn't upgraded.Environment
Chocolatey Log
Anything else?
No response