Le 12.12.2011 14:29, Madhurranjan Mohaan a écrit :
Apologies : the following works :
msiexec /qb /i chef-client-0.10.4-6.msiProblem though is that there is an issue with the Path environment variable. The environment variable "PATH" is appended with the c:\opscode\bin and c:\opscode\embedded\bin but for it to reflect on a new command prompt, I have to go to My computer, -> Environment variables -> open the path Variable -> click OK and then close which is weird and then running "knife" just works fine. WIthout doing that , it doesn't seem to work .thanksRanjan
Indeed, env vars are loaded at logon... so after an install you have to tell the system to reload your env variables.
Same as in unix when editing your .profile, untill you reload it you won't have access to new values.
Archive powered by MHonArc 2.6.16.