Added !getdllversion [Bug#2809308,RFE#1873767]

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6186 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2011-11-21 20:13:30 +00:00
parent 443e7f4dc2
commit 79dbea3321
5 changed files with 38 additions and 4 deletions

View file

@ -139,6 +139,15 @@ This command creates a temporary file. It puts its path into a define, named \e{
\c !undef FILE
\c !undef DATE
\S1{ppgetdllversion} !getdllversion
\c localfilename define_basename
This is similar to \R{getdllversionlocal}{GetDLLVersionLocal}, only it stores the version number in defines and can therefore be used anywhere, not just inside functions and sections.
\c !getdllversion "$%windir%\explorer.exe" expv_
\c !echo "Explorer.exe version is ${expv_1}.${expv_2}.${expv_3}.${expv_4}"
\S1{warning} !warning
\c [message]