tag:help.appveyor.com,2012-11-13:/discussions/problems/5616-not-able-to-build-due-to-problem-in-chocolateyinstallps1AppVeyor: Discussion 2018-08-25T02:14:57Ztag:help.appveyor.com,2012-11-13:Comment/413327282016-11-29T17:37:26Z2016-11-29T17:37:26ZNot able to build due to problem in ChocolateyInstall.ps1<div><p>Update for community: previous version of php package helped,
e.g. <code>cinst php --version 7.0.9</code> instead of <code>-
cinst php</code>.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/413327282016-12-01T20:07:47Z2016-12-01T20:07:47ZNot able to build due to problem in ChocolateyInstall.ps1<div><p>I've seen this occasionally in Chocolatey/Boxstarter if the
Windows Update Service is disabled. The first KB that was in the
dependencies (kb2919442) tried to install but failed probably due
to the wusa.exe (Windows Update) service not running. Does the
older version require the same update?</p></div>dragon788tag:help.appveyor.com,2012-11-13:Comment/413327282016-12-20T11:35:20Z2016-12-20T11:35:20ZNot able to build due to problem in ChocolateyInstall.ps1<div><p>Better still <code>cinst -y php -i</code> which ignores the
dependencies and allows you to download the latest version.</p></div>John Stevensontag:help.appveyor.com,2012-11-13:Comment/413327282017-02-14T01:35:41Z2017-02-14T01:35:41ZNot able to build due to problem in ChocolateyInstall.ps1<div><p>This is getting annoying..<br>
Although ignore dependencies works in some versions of the php
package, it brings another issue for the latest one (<a href="https://chocolatey.org/packages/php/7.1.1.20170212">7.1.1.20170212</a>),
which added another dependency - chocolatey-core.extension. If we
install with <code>-i</code>, we will be missing
chocolatey-core.extension, so the installation will fail
with<br></p>
<pre>
<code>ERROR: The term 'Get-PackageParameters' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.</code>
</pre></div>andytag:help.appveyor.com,2012-11-13:Comment/413327282017-02-14T01:46:14Z2017-02-14T01:46:14ZNot able to build due to problem in ChocolateyInstall.ps1<div><p>OK, we've found what was causing php package installation to
fail - disabled Windows update service.</p>
<p>Working way to install <code>php</code> Chocolatey package with
dependencies:</p>
<pre>
<code>install:
- ps: Set-Service wuauserv -StartupType Manual
- cinst -y php</code>
</pre></div>Feodor Fitsner