我知道
> chocolatey.bat install -force PowerTab
Chocolatey (v0.9.8.23) is installing 'PowerTab' and dependencies. By installing you accept the license for 'PowerTab' an
d each dependency you are installing.
______ powertab v0.99.6 ______
Downloading powertab 64 bit (http://powertab.codeplex.com/downloads/get/159925) to C:\Users\phelan\AppData\Local\Temp\ch
ocolatey\powertab\powertabInstall.zip
Extracting C:\Users\phelan\AppData\Local\Temp\chocolatey\powertab\powertabInstall.zip to C:\Windows\SysWOW64\WindowsPowe
rShell\v1.0\Modules...
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\Modules
powertab has finished successfully! The chocolatey gods have answered your request!
Finished installing 'PowerTab' and dependencies - if errors not shown in console, none detected. Check log for errors if
unsure.
Reading environment variables from registry. Please wait... Done.
C:\Users\phelan\workspace\weincad.net [master]
>它试图将东西放入的目录是
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\Modules这不可能是正确的,因为它既不在$env:PSModule路径上,我也没有写那里的权限。我在巧克力里找不到任何关于它应该在哪里安装模块的信息。
发布于 2014-05-12 20:31:21
可以使用查看“内部”的每一个巧克力包,以查看“正在发生什么”。如果您对PowerTab包执行此操作,您将看到以下内容:
$name = 'powertab'
$url = 'http://powertab.codeplex.com/downloads/get/159925'
$target = Join-Path $PSHOME 'Modules'
Install-ChocolateyZipPackage $name $url $target正如你所看到的,这个包的作者特别选择将这个包解压缩到您提到的位置,这不是巧克力正在做的事情。
由于每个包都是由社区提供的,因此最好的建议是在此页面上使用“联系人维护人员”链接:
基于PowerTab的Chocolatey.org软件包
直接询问包的创建者。
希望这能帮上忙!
加里
https://stackoverflow.com/questions/23614165
复制相似问题