Skip to content
⌘ NSIS Forum Archive

About ${GetFileVersion} problem

3 posts

yzldni#

About ${GetFileVersion} problem

why my code can't show the version of the installer
Function .onInit
; Get the version and compare the version
SetRegView 64
ReadRegStr $1 HKLM "${REG_PATH}" "UninstallString"
MessageBox MB_OK "$1"
${GetFileVersion} $1 $R0
MessageBox MB_OK "$R0"
FunctionEnd
yzldni#
yes, i get the value is "c:\profiles\xxxx", so i delete the quotes and i can success get the version.