Costi Ivan
Costi Ivan

Reputation: 251

NSIS - Could not write updated PATH to HKLM

Good evening, I have a problem when I try to modify the environment variable's path. I'm using the EnvVarUpdate nsi tand for some reason when I run the the installer I get this warning. enter image description here

Any suggestions are highly appreciated !

Upvotes: 1

Views: 1345

Answers (1)

knipp
knipp

Reputation: 226

I would think it has to do with permissions in your case, as HKLM is not writable for regular users. Are you setting

RequestExecutionLevel admin

in your script? It causes the installer to pop up the UAC prompt and ask for admin privileges before executing.

Stefan

Upvotes: 1

Related Questions