Archive: How to set EnvVar PATH


How to set EnvVar PATH
Could anyone help me out in appending and removing the value in the PATH variable.

I tried to use http://nsis.sourceforge.net/Environm...tries#Examples but it doesn't compile at all.

I get the following error

Error: Function named "StrRep" already exists.
Error in macro STRFUNC_FUNC on macroline 14
Error in macro FUNCTION_STRING_StrRep on macroline 1
Error in macro _IncludeStrFunction on macroline 2
!include: error in script: "EnvVarUpdate.nsh" on line 51

I include EnvVarUpdate after I included StrFunc.nsh, but still I get this issue.

-Shiva S


Remove the copy of StrRep from EnvVarUpdate.nsh.

Stu