Hi,
I’m trying to set windows os environment variable as:
(* in the before_install part>>)
- powershell “Env:path += ;C:\Users\travis\build\AviramNahon\oxygen-ide\WiX.Toolset.3.9.1208.0\tools\wix”
it doesn’t seem to work, I get “The term ‘Env:path’ is not recognized”
can you please advise me how to do it? guess I miss something here.
this the link to the build: https://travis-ci.com/AviramNahon/oxygen-ide/jobs/163867060
this is the response:
$ powershell “Env:path += ;C:\Users\travis\build\AviramNahon\oxygen-ide\WiX.Toolset.3.9.1208.0\tools\wix”
The command “powershell “Env:path += ;C:\Usersraviuild\AviramNahon\oxygen-ide\WiX.Toolset.3.9.1208.0ools\wix”” failed and exited with 1 during .
Your build has been stopped.
Env:path : The term ‘Env:path’ 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.
At line:1 char:1
- Env:path += ;C:\Users\travis\build\AviramNahon\oxygen-ide\WiX.Toolset …
-
- CategoryInfo : ObjectNotFound: (Env:path:String) , CommandNotFoundException
- FullyQualifiedErrorId : CommandNotFoundException
C:\Users\travis\build\AviramNahon\oxygen-ide\WiX.Toolset.3.9.1208.0\tools\wix : The term
‘C:\Users\travis\build\AviramNahon\oxygen-ide\WiX.Toolset.3.9.1208.0\tools\wix’ 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.
At line:1 char:14
- … nv:path += ;C:\Users\travis\build\AviramNahon\oxygen-ide\WiX.Toolset. …
-
- CategoryInfo : ObjectNotFound: (C:\Users\travis…208.0\tools\wix:String) , CommandNotFoundException
- FullyQualifiedErrorId : CommandNotFoundException