Reference/!getdllversion: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
(Created page with "=!getdllversion= localfilename define_basename This is similar to [http://nsis.sourceforge.net/Reference/GetDLLVersionLocal GetDLLVersionLocal], only it stores the version ...") |
m (→!getdllversion: proper wiki link) |
||
Line 3: | Line 3: | ||
localfilename define_basename | localfilename define_basename | ||
This is similar to [ | This is similar to [[Reference/GetDLLVersionLocal|GetDLLVersionLocal]], only it stores the version number in defines and can therefore be used anywhere, not just inside functions and sections. | ||
<highlight-nsis>!getdllversion "$%windir%\explorer.exe" expv_ | <highlight-nsis>!getdllversion "$%windir%\explorer.exe" expv_ |
Latest revision as of 16:01, 6 August 2019
!getdllversion
localfilename define_basename
This is similar to GetDLLVersionLocal, only it stores the version number in defines and can therefore be used anywhere, not just inside functions and sections.
!getdllversion "$%windir%\explorer.exe" expv_ !echo "Explorer.exe version is ${expv_1}.${expv_2}.${expv_3}.${expv_4}"
Command introduced with NSIS v3.0a0