NSIS/Contrib/UserInfo/UserInfo.nsi

10 lines
164 B
NSIS
Raw Normal View History

Name "UserInfo.dll test"
OutFile UserInfo.exe
Section
UserInfo::GetName
Pop $0
UserInfo::GetGroup
Pop $1
MessageBox MB_OK 'User "$0" in group "$1"'
SectionEnd