From 26a50e9995221bcc8d53be3c2a8845f24af29531 Mon Sep 17 00:00:00 2001 From: kichik Date: Sat, 23 Jul 2005 12:33:40 +0000 Subject: [PATCH] GetLongPathName is not available on Windows 95 git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4190 212acab6-be3b-0410-9dea-997c60f758d6 --- Include/FileFunc.nsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Include/FileFunc.nsh b/Include/FileFunc.nsh index b4537295..da8a92f3 100644 --- a/Include/FileFunc.nsh +++ b/Include/FileFunc.nsh @@ -1366,7 +1366,7 @@ RefreshShellIcons Function ${_FILEFUNC_UN}GetExeName Push $0 System::Call 'kernel32::GetModuleFileNameA(i 0, t .r0, i 1024)' - System::Call 'kernel32::GetLongPathNameA(t r0, t .r0, i 1024)' + #System::Call 'kernel32::GetLongPathNameA(t r0, t .r0, i 1024)' Exch $0 FunctionEnd @@ -1385,7 +1385,7 @@ RefreshShellIcons Function ${_FILEFUNC_UN}GetExePath Push $0 StrCpy $0 $EXEDIR - System::Call 'kernel32::GetLongPathNameA(t r0, t .r0, i 1024)' + #System::Call 'kernel32::GetLongPathNameA(t r0, t .r0, i 1024)' Exch $0 FunctionEnd