NewsArchive
11-13-2009, 02:59 AM
Hi Friedrich
We've got the Compiler Directive Get File Info but it would also be handy if
we could retrieve data from files we have to look up on the machine the
installation is being run on.
For example, to find out what version of Windows Installer I have to go to
the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Installer
InstallerLocation to find the folder for the MSI.DLL file. Once I have
located that file, I then need to read the Product Version to see whether in
my case 4.5 is installed or not.
Now a workaround I can do for now is create a little clarion function which
can return the file info by passing its path and filename at runtime. But I
think it might be handy to have this option available in SB at runtime as I
wouldnt be surprised if others need to check file versions at runtime.
JAT!<vbg>
--
--
Cheers
Richard
We've got the Compiler Directive Get File Info but it would also be handy if
we could retrieve data from files we have to look up on the machine the
installation is being run on.
For example, to find out what version of Windows Installer I have to go to
the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Installer
InstallerLocation to find the folder for the MSI.DLL file. Once I have
located that file, I then need to read the Product Version to see whether in
my case 4.5 is installed or not.
Now a workaround I can do for now is create a little clarion function which
can return the file info by passing its path and filename at runtime. But I
think it might be handy to have this option available in SB at runtime as I
wouldnt be surprised if others need to check file versions at runtime.
JAT!<vbg>
--
--
Cheers
Richard