Added GetDllVersion /ProductVersion switch

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7310 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2021-08-30 00:06:25 +00:00
parent 52d6782447
commit 3a3d2202a7
10 changed files with 36 additions and 30 deletions

View file

@ -987,8 +987,8 @@ static int NSISCALL ExecuteEntry(entry *entry_)
if ( ((BOOL(WINAPI*)(LPCTSTR,DWORD,DWORD,LPVOID))gfvi)(buf1,0,s1,b1)
&& ((BOOL(WINAPI*)(LPCVOID,LPCTSTR,LPVOID*,UINT*))vqv)(b1,_T("\\"),(void*)&pvsf1,&uLen) )
{
myitoa(highout,pvsf1->dwFileVersionMS);
myitoa(lowout,pvsf1->dwFileVersionLS);
myitoa(highout,(&pvsf1->dwFileVersionMS)[parm3]);
myitoa(lowout,(&pvsf1->dwFileVersionLS)[parm3]);
exec_error--;
}

View file

@ -130,7 +130,7 @@ enum
#endif
#ifdef NSIS_SUPPORT_GETDLLVERSION
EW_GETDLLVERSION, // GetDLLVersion: 3 [file highout lowout]
EW_GETDLLVERSION, // GetDLLVersion: 4 [file highout lowout fixedoffset]
#endif
#ifdef NSIS_SUPPORT_ACTIVEXREG