Return to site

Cannot unzip file

broken image
broken image

$Invocation = (Get-Variable MyInvocation -Scope 1).Value ::ExtractToDirectory($zipFile, $destination) New-Item -ItemType directory -Force -Path $destination Write-Host “Path Does Not Exist… $destination” Write-Host 'Path Exists… Deleting $destination' But theres nothing in the output that would indicate that is happening. its almost like its unzipping the twice, simultaneously. So this error is kind of ridiculous because prior to extracting it creates the folder (so there are NO existing files), it then unzips the archive and gets this crazy error message about a process already using a file it has just extracted. Error 11:32:15Ĭannot access the file 'D:\Octopus Tentacle\Applications\UAT\Playup.Api\0.0.161 My predeploy unpacks the ccpkg then tries ot unpack each role but that isn’t working anymore… apparently because there are msi’s in the archive. This requires 2 msi’s and a cmd file be added to the role. This process is working for the most part except now I want to add NewRelic to my worker/website. I am unpacking and repacking my ccpkg file so I can do substitutions on the config files.

broken image