I need to append an env variable in Path along with a semi-colon. currently, I use
${EnvVarUpdate} $0 "PATH" "A" "HKLM" '$2'. $2 has path value. it works. however, I need to add; after path value. when I do this, it keeps adding every time when running the installer. I need to add it only if it is not present. there is no overwrite option in the EnvVarUpdate library. other than using conditions, is there any methd.
${EnvVarUpdate} $0 "PATH" "A" "HKLM" '$2'. $2 has path value. it works. however, I need to add; after path value. when I do this, it keeps adding every time when running the installer. I need to add it only if it is not present. there is no overwrite option in the EnvVarUpdate library. other than using conditions, is there any methd.
Comment