Hi All,

any ideas why GetFileVersion is returning nothing in the following piece of code? (The install path exists)

Cheers,
Daniel
Code:

Case KeyExist("HKEY_LOCAL_MACHINE\Software\Adobe\Acrobat Elements\6.0
\InstallPath") = 1

$InstallPath = ReadValue("HKEY_LOCAL_MACHINE\Software\Adobe\Acrobat
Elements\6.0\InstallPath", "")
If @ERROR = 0 AND Exist($InstallPath + "\Acrobat Elements.exe") = 1
If Exist($InstallPath + "\Acrobat Elements.exe") = 1
MessageBox("exists: " +GetFileVersion($InstallPath
+ "\Acrobat Elements.exe") , "Ds", 32)
EndIf
$AcrobatElementsVersion = GetFileVersion($InstallPath + "\Acrobat Elements.exe")
EndIf




Edited by daniel1982 (2005-09-06 04:07 AM)