Talk:Check if the current user is an Administrator

From NSIS Wiki

Macro 2 crashed.

Since some users still use NT4, I tried the second version first. When testing as an administrator, it worked. When testing as plain user, the installer crashed on a WinXPSP2-system.

Solution: Macro 1 works, so I use that one instead, and assume that all NT4-users are administrators.

How about Vista? Does it work in Vista? We need to specify this.

Personal tools
donate
ads