specialFolderPath, Microsoft Window, and 64 bits
bobsneidar at iotecdigital.com
Tue Mar 31 12:54:29 EDT 2020
Well that certainly complicates things! :-)
On Mar 31, 2020, at 9:52 AM, Paul Dupuis via use-livecode <use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>> wrote:
On 3/31/2020 12:26 PM, Bob Sneidar via use-livecode wrote:
The Windows Registry uses HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths as the path to the installation folder for all installed applications.
put queryRegistry("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\AcroRd32.exe\path")
seems to work.
Thanks for the suggestion, but that will not work in our case
In at least one actual customer instance we have - out customer is running our app on a Microsoft Terminal Server and users get a remote desktop access to the server to run our app. In this specific case, REGISTRY queries get the users local registery on the CLIENT, but PATH queries check file paths on the SERVER, so registry checks do not work in this case.
More information about the use-livecode