|
-
November 19th, 1999, 12:05 PM
#1
Reading the Registry
Wo can tell me, how to read out, if a program (e.g. Acrobat reader) is installed or not on the local pc
Thanks
-
November 19th, 1999, 12:19 PM
#2
Re: Reading the Registry
Hi there,
usually all the programs put there installation path into a key [App Paths ]
like
for Acrobat reader
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\AcroRd32.exe
this will hold -> "C:\Program Files\Adobe\Acrobat 4.0\Reader\AcroRd32.exe"
so on....
if this key is there, the program is installed.
Sharath
-
November 19th, 1999, 12:21 PM
#3
Re: Reading the Registry
You have to get the class id for the Acrobat using the Prog Id(
AcroExch.Document).Then with this class id
you have to search the registry to get the "LocalServer32" section and then you
have the guarenteed
command line for the Acrobat Reader. Now with this file name , check the existence if
present you have Acrobat Reader in the
machine...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|