Page 1 of 1
How to Check installation
Posted: Wed Mar 05, 2008 11:28 pm
by juju
I was wondering if its possible And How do i make Revolution or to be SPecific A button Check Where a Certain Program Is installed via the registry or Something else.
I would need something like later in the Program to Send command lines to the program.
Posted: Sun Mar 09, 2008 9:18 am
by juju
wow its been quite a few days and noone has replyed. That just shows how well this is supported...
Posted: Sun Mar 09, 2008 10:01 am
by Mark
Juju,
Frankly, I don't understand your question.
Also, whether other Revolution users reply in this forum says nothing about how well the company supports its product.
If you could explain your question in more details, I'd be happy to give it a try.
Best,
Mark
Posted: Sun Mar 09, 2008 2:28 pm
by malte
Hi juju,
just to second what Mark said. This is a user forum. Users helping users. We who reply do it voluntarily in our "free" time. If you have urgent queries that do not get answered on this forum or the
use list (which is admittedly more active), you still have the option to mail directly to
support@runrev.com
All the best,
Malte
Posted: Sun Mar 09, 2008 4:15 pm
by keyless
juju,
I've found the people on this forum to be most helpful, you just need to make sure to form your request as clearly as possible, because this is all volunteer and if you explain it well enough, you can even get answers from beginners (like me) who have already stumbled upon what you are looking for.
Assuming you are trying to get the install path from the registry. The command you will want to use is likely something like this I believe:
queryRegistry("HKEY.... THIS BEING THE KEY LOCATION")
Check run rev documentation for exact syntax.
This is also of course assuming you know what key this is stored under. I know there is a place where Windows installer stores these locations, as I once had a Windows Update completely delete them, ruining regular uninstall capability of all my installed apps

google will be your frend on this.
Programs not installed through the Windows Installer won't be there however and just checking the Programs Files directory might be a better option.
Posted: Wed Mar 19, 2008 5:46 pm
by juju
Sorry guys. Ill try that

.
Posted: Wed Mar 19, 2008 7:24 pm
by keyless
juju wrote:Sorry guys. Ill try that

.
Got this from an old Metacard document:
To find the path to an application (such as Acrobat Reader, above) on Windows 95, use the queryRegistry function. Acrobat can be found with:
put word 1 to -2 of queryRegistry("HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AcroExch.Document\shell\open\command") into gAcrobatPath
Why word 1 to -2? The registry entry is stored with position of the allowable parameters at the end. Taking word 1 to -2 takes the first word up to the word second from the end, removing those parameters.
Another useful one is being able to get the default web browser on Windows systems:
put word 1 to -2 of queryRegistry("hkey_local_machine\software\classes\http\shell\open\
command") into gWebBrowserPath