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:
parent
443e7f4dc2
commit
79dbea3321
5 changed files with 38 additions and 4 deletions
|
@ -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]
|
||||
|
|
|
@ -66,7 +66,7 @@ Gets the version information from the DLL (or any other executable containing ve
|
|||
|
||||
\c localfilename user_var(high dword output) user_var(low dword output)
|
||||
|
||||
This is similar to \R{getdllversion}{GetDLLVersion}, only it acts on the system building the installer (it actually compiles into two \R{StrCpy}{StrCpy} commands). Sets the two output variables with the DLL version information of the DLL on the build system.
|
||||
This is similar to \R{getdllversion}{GetDLLVersion}, only it acts on the system building the installer (it actually compiles into two \R{StrCpy}{StrCpy} commands). Sets the two output variables with the DLL version information of the DLL on the build system. Use \R{ppgetdllversion}{!getdllversion} if you need to use the values with \R{viproductversion}{VIProductVersion}.
|
||||
|
||||
\S2{getfiletime} GetFileTime
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue