Skip to content
⌘ NSIS Forum Archive

SetShellVarContext 'all' not working under Win9x

2 posts

tam_ck#

SetShellVarContext 'all' not working under Win9x

I used 'SetShellVarContext all' and it seems to work
on Win 2K / XP, but not Win 9x / Me. 🙁

Under Win 9x, if I use 'SetShellVarContext current' it is OK.
Once I set it to 'all' it returns 'c:\windows\temp' for
the variable $SMPROGRAMS.

Did I miss out anything?

Any help is appreciated.
Best regards.
-Tam

Sample script:
Section "Programs (required)"

SetShellVarContext all
....
tam_ck#
Sorry guys, found a relevant thread under the subject
"SetShellVarContext bug" further down.

So problem solved! 🙂

Thank you!