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:
parent
52d6782447
commit
3a3d2202a7
10 changed files with 36 additions and 30 deletions
|
@ -61,7 +61,7 @@ Gets the Windows version as reported by GetVersionEx. WinVer.nsh is the preferre
|
|||
|
||||
\S2{getdllversion} GetDLLVersion
|
||||
|
||||
\c filename user_var(high dword output) user_var(low dword output)
|
||||
\c [/ProductVersion] filename user_var(high dword output) user_var(low dword output)
|
||||
|
||||
Gets the version information from the DLL (or any other executable containing version information) in "filename". Sets the user output variables with the high and low dwords of version information on success; on failure the outputs are empty and the error flag is set. The following example reads the DLL version and copies a human readable version of it into $0:
|
||||
|
||||
|
@ -74,7 +74,7 @@ Gets the version information from the DLL (or any other executable containing ve
|
|||
|
||||
\S2{getdllversionlocal} GetDLLVersionLocal
|
||||
|
||||
\c localfilename user_var(high dword output) user_var(low dword output)
|
||||
\c [/ProductVersion] 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. Use \R{ppgetdllversion}{!getdllversion} if you need to use the values with \R{viproductversion}{VIProductVersion}.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue