ReadEnvStr doesn't work all the time
For some reason in my scripts, ReadEnvStr doesn't work when the variable changes over the course of testing many installations, i.e. I see it in the registry and via System->Advanced->Environment but in my script during run-time I get null back.
How does ReadEnvStr work exactly? Shouldn't it just read either out of HLCU Environment of HKLM CurrentSession...blah...blah...Environment and return?
Anybody see this before?