tag:help.appveyor.com,2012-11-13:/discussions/questions/754-updating-path-to-find-program-installed-with-cinstAppVeyor: Discussion 2018-10-19T08:16:53Ztag:help.appveyor.com,2012-11-13:Comment/354281902014-12-01T23:23:07Z2014-12-01T23:23:07ZUpdating path to find program installed with cinst<div><p>Just update <code>PATH</code> explicitly in your build script
using</p>
<pre>
<code>SET PATH=c:\some_new_path;%PATH%</code>
</pre></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/354281902014-12-02T07:14:40Z2014-12-02T07:14:40ZUpdating path to find program installed with cinst<div><p>Out of the box, Chocolatey doesn't do any work to reload the
PATH variable into the current session. As a result, when you are
running Chocolatey in a non-CI environment, the workaround is to
close the current window, open it again, and all will be well.</p>
<p>In a CI environment, that doesn't really fly.</p>
<p>There is a helper filein Chocolatey, I seem to remember it being
called RefreshEnv.bat, that you could look at using, to see if that
would help, or, as Feodor has pointed out, manually update the
variable.</p>
<p>Gary</p></div>gep13