Skip to content
⌘ NSIS Forum Archive

how to know the rights of the user ?

3 posts

superwan#

how to know the rights of the user ?

hello, I'd like to find in my .onInit if the user who launches my installer has enough rights to copy a file on the hard drive, and to write in the registry...





how can I do it ?
Comperio#
There's a UserInfo.DLL in the plugins directory. An example function can be found at http://nsis.sourceforge.net/archive/...php?pageid=275