Talk:Reading and Writing the Registry - NSIS makes it easy

From NSIS Wiki
Jump to navigationJump to search

Newbie question here (and I hope I am posting in the right "forum" given the page having been deleted 3 years ago due to SPAM!).

Is it possible / allowed to read from the HKLM hive when execution level is set to user? I am "trying" to write an installation script that checks for the .NET framework installed on the target computer. I am stuck on whether reading HKLM can be done by a user (as opposed to Admin) using the script.

Yes, you can read from HKLM as a normal user --Anders 03:14, 8 February 2011 (UTC)


Another newbie question: noticing the first line - looks like it is intended to provide a fallback in case user details are not provided in another way. What's the best way to provide UserDetails explicitly? Thanks.