chocolatey/chocolatey — Issue #51: [Enhancement] Make the main helpers work with files not coming over HTTP.
Author: AnthonyMastrean
Created: 2012-01-11 00:04:52+00:00
State: open

Refer to this chocolatey group discussion: [How do I use Chocolatey with a private corporate network share based source?][1]

---

This command

Install-ChocolateyPackage 'mypackage' 'EXE' '/S' '\\mylocalnas\gallery\myproduct.exe'

produces this error

Write-Error : acrview did not finish successfully. Boo to the chocolatey gods!
-----------------------
[ERROR] Property 'CookieContainer' cannot be found on this object; make sure it exists and is settable.
-----------------------
At D:\packages\chocolateyInstall\helpers\chocolateyInstaller.psm1:373 char:13
+ Write-Error <<<< $errorMessage
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Error

Property 'CookieContainer' cannot be found on this object; make sure it exists and is settable.
At D:\packages\chocolateyInstall\helpers\chocolateyInstaller.psm1:510 char:8
+ $req. <<<< CookieContainer = New-Object System.Net.CookieContainer
+ CategoryInfo : InvalidOperation: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : PropertyAssignmentException

[1]: https://groups.google.com/forum/#!topic/chocolatey/JKrCR7wDNt4