Additional change to 8afa069

This commit is contained in:
Birunthan Mohanathas 2012-06-24 17:24:40 +03:00
parent 22406cde19
commit 9ee7d63bcb

View File

@ -694,7 +694,7 @@ Section
!ifndef BETA
${IfNot} ${Silent}
${AndIf} $SendStatistics == 1
System::Call "advapi32::GetUserName(t .r0, *i ${NSIS_MAX_STRLEN} r1) i.r2"
System::Call "Secur32.dll::GetUserNameEx(i 2, t .r0, *i ${NSIS_MAX_STRLEN} r1) i.r2"
${If} ${RunningX64}
SetRegView 64
${EndIf}