You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uninstall using Uninstall-ChocolateyZipPackage fails with "ERROR: Cannot bind argument to parameter 'Path' because it is an empty string."
I've found that I can make the uninstall script work properly if I edit the manifest file created by the Install-ChocolateyZipPackage process. The manifest file is C:\ProgramData\chocolatey\lib\ivy\apache-ivy-2.4.0.zip.txt (see this gist for example) and contains two blank lines at the end of the file (as shown in the example). If I edit the file and remove the blank lines, the uninstall will work.
The command is being called from a very simple uninstall script from the ivy package (which I maintain), and is included in this gist
What is Expected?
Either the install zip function call needs to not create the blank lines shown in the manifest, or the uninstall needs to ignore them (or both).
How Did You Get This To Happen? (Steps to Reproduce)
What You Are Seeing?
Uninstall using Uninstall-ChocolateyZipPackage fails with "ERROR: Cannot bind argument to parameter 'Path' because it is an empty string."
I've found that I can make the uninstall script work properly if I edit the manifest file created by the Install-ChocolateyZipPackage process. The manifest file is C:\ProgramData\chocolatey\lib\ivy\apache-ivy-2.4.0.zip.txt (see this gist for example) and contains two blank lines at the end of the file (as shown in the example). If I edit the file and remove the blank lines, the uninstall will work.
The command is being called from a very simple uninstall script from the ivy package (which I maintain), and is included in this gist
What is Expected?
Either the install zip function call needs to not create the blank lines shown in the manifest, or the uninstall needs to ignore them (or both).
How Did You Get This To Happen? (Steps to Reproduce)
choco install ivy
choco uninstall ivy
Output Log
Log can be viewed in this gist file
The text was updated successfully, but these errors were encountered: