View Single Post
Old 9th April 2015, 10:43   #4
stass
Senior Member
 
Join Date: Nov 2012
Posts: 146
Why MoreInfo plugin gives false information in the file vcredist_x86.exe (MicrosoftVisual C ++ 2012 Redistributable) ?
https://www.microsoft.com/ru-ru/down....aspx?id=30679

PHP Code:
!addplugindir .
OutFile 'MoreInfo-test.exe'
var a
var b
Section
strcpy 
$"$EXEDIR\vcredist_x86.exe"
  
MoreInfo::GetProductName "$1"
  
Pop $a
  StrCpy 
$"$0$\r$\n - ProductName: $a"
  
  
MoreInfo::GetFileVersion "$1"
  
Pop $b
  StrCpy 
$"$0$\r$\n - GetFileVersion: $b"

MessageBox MB_OK|MB_ICONINFORMATION "$0"
SectionEnd 


How to fix it?

question 2 :

How to "make friends" "FileVerInfo.nsh" and "FileFunc.nsh" ?
When used together, getting the error ...
stass is offline   Reply With Quote