PATH is not being updated by scriptcs installation
In this build https://ci.appveyor.com/project/adamralph/bau/build/3
I am printing PATH, installing scriptcs using cinst
scriptcs
and then printing PATH again.
The scriptcs Chocolatey installation script copies the binaries
to %APPDATA%\scriptcs
and adds an entry to PATH for
that folder.
As you can see, the PATH is not updated with the scriptcs folder. It remains unchanged.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 14 Jun, 2014 03:08 PM
Are you calling it as
ps: cinst scriptcs
?2 Posted by Adam Ralph on 14 Jun, 2014 03:12 PM
This is the entire build script (install script is empty)
It's set to CMD, not PS.
Support Staff 3 Posted by Feodor Fitsner on 14 Jun, 2014 05:08 PM
Try running it with
appveyor.yml
:4 Posted by Aaron Dandy on 27 Nov, 2014 07:09 AM
Feels dirty but starting my script with this gets it working:
`set PATH=%PATH%;C:\Users\appveyor\AppData\Local\scriptcs\`
5 Posted by Adam Ralph on 29 Jan, 2015 09:24 AM
This is now a non-issue for me since I now install scriptcs in the install script, which is probably where I always should have been doing it.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:53 AM.