-
Notifications
You must be signed in to change notification settings - Fork 903
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
Uninstall-ChocolateyZipPackage is unable to find zip contents file #1415
Comments
Looks like a bug. |
- Check for the existence of the Install.txt file - If that doesn't exist, fall back to the old filename - Delete all files in content file as before
(GH-1415) Correct issue with remove zip file contents
Merged into stable and will be released in 0.10.9. |
I am not sure if the issue we are seeing is same, but we seems to be similar issue and we cannot upgrade to this version (0.10.9) as we don't have the password for proget website we have installed as the guy who did this left. Is there any possibility we can add this as a patch? |
@pradeeps it seems you have bigger issues. I'd suggest maybe setting up a new proget site or contacting Inedo for support on how you can get into a site when you run into issues like this - I am sure they will have something for you, even if it is just set up another ProGet repo. HTH |
What You Are Seeing?
In Install-ChocolateyZipPackage line 202 the zip file is renamed from $packageName to ($packageName)Install.zip
$downloadFilePath=Join-Path$tempDir"$($packageName)Install.$fileType"
Get-ChocolateyUnzip adds a new textfile with this ($packageName)Install.zip filename in line 121
$zipExtractLogFullPath= Join-Path $packagelibPath $zipFilename
.txt`If you now want to uninstall the zip paket, the Uninstall-ChocolateyZipPackage function is only looking for $packageName.txt (line 67) to remove all installed files.
$zipContentFile=(join-path $packagelibPath $zipFileName) + ".txt"
That doesn't work, because there is no Textfile with this name
The text was updated successfully, but these errors were encountered: