Skip to content
⌘ NSIS Forum Archive

EnVar plug-in - Deleted Env variables

2 posts

romanBr#

EnVar plug-in - Deleted Env variables

We are adding PATH variables with EnVar plugin:

Section -Post

EnVar::SetHKCU
EnVar::AddValue "PATH" "$INSTDIR\Test"
EnVar::AddValue "PATH" "$INSTDIR\Test\SubFolder"

SectionEnd

On some computers this new variable is written, but all other variables in PATH are deleted, only some strange entry stays in ( "^W" or something like this ).

Any idea why this is happening?
Thanks.
JasonFriday13#
Ok, it's probably related to this https://sourceforge.net/p/nsis/bugs/1247/ and this https://sourceforge.net/p/nsis/bugs/1260/.

It might be a memory size issue, I haven't had time to look at it yet (aka busy life).