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
This commit is contained in:
parent
06ff36863e
commit
26a50e9995
1 changed files with 2 additions and 2 deletions
|
@ -1366,7 +1366,7 @@ RefreshShellIcons
|
||||||
Function ${_FILEFUNC_UN}GetExeName
|
Function ${_FILEFUNC_UN}GetExeName
|
||||||
Push $0
|
Push $0
|
||||||
System::Call 'kernel32::GetModuleFileNameA(i 0, t .r0, i 1024)'
|
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
|
Exch $0
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
||||||
|
@ -1385,7 +1385,7 @@ RefreshShellIcons
|
||||||
Function ${_FILEFUNC_UN}GetExePath
|
Function ${_FILEFUNC_UN}GetExePath
|
||||||
Push $0
|
Push $0
|
||||||
StrCpy $0 $EXEDIR
|
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
|
Exch $0
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue