NSIS - Could not write updated PATH to HKLM

℡╲_俬逩灬. 提交于 2019-12-11 04:45:19

问题


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.

Any suggestions are highly appreciated !


回答1:


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



来源:https://stackoverflow.com/questions/38335162/nsis-could-not-write-updated-path-to-hklm

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!