View Single Post
Old 9th March 2020, 01:38   #7
Anders's Avatar
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,333
Yes. The important parts are the init functions, the uninstaller "tag" and using ShCtx.

The github code you linked to clearly reads and writes to HKCU.

The version check tries the enforce admin rights on 2000 and XP but it is flawed because:
A) It forgot about NT4 and 2003
B) UAC can be turned off on Vista+
C) Users can bypass UAC and run it as non-admin

Version check should ideally use AtMost/AtLeast but that script should not check the version at all, treat all versions the same.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote