From 9ee7d63bcb033f3ddbc4ce5cf9a15aaa2b5fe433 Mon Sep 17 00:00:00 2001 From: Birunthan Mohanathas Date: Sun, 24 Jun 2012 17:24:40 +0300 Subject: [PATCH] Additional change to 8afa069 --- Build/Installer/Installer.nsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build/Installer/Installer.nsi b/Build/Installer/Installer.nsi index 814d824d..0b3d4615 100644 --- a/Build/Installer/Installer.nsi +++ b/Build/Installer/Installer.nsi @@ -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}