Access Runtime Registry keys.

U

UdiKantz

Hi ,
I need to know how can i determine if theres an access runtime istalled on a
certain machine , i need this information because i am trying to make a setup
application ( using InnoSetup ) and we need to make sure before setup is
running that the user has access runtime engine installed on his machine ,
usually the way to do tasks like that is to look into the registry keys , but
i have no idea and yet did not find any information on the net which keys
exactly proove that the user has the runtime installed and which version of
the runtime ,

i need you to tell me where the registry keys of the access runtime version
information are located ?

is it the same on every OS ( vista , xp , 2000 ) ?

thanks in advance!
 
A

Albert D. Kallal

You don't mention what version of access you are looking for...

Also, keep in mind that there is really No way to tell the difference
between the full version of access and the runtime addition, but on the
other hand why would you care anyway?

For access 2003 the following registry key is what I use:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\11.0\Access\InstallRoot\

look for a "path" value name in the above reg key value. There is useally a

(default)
Path


If the path value exists, then you have a access install....

I don't know of a way to tell this is the full version, or runtime..but as
mentioned it should not really matter....
 
U

UdiKantz

of course it matters ,
as i said i am doing all this in order to create a setup of a CRM
application which uses access runtime need to see if the user has a runtime
lower than 2007 then the setup should download the latest runtime.......
in order to do so i need to check registry keys of the runtime or office
2007 if they are exist on the system.
 
S

Stanley L.

I can't answer you inquiry but I understand what you need. Here is something
that may stimulate a possible test for RT fille presence.
I have an application with a 'SystemInfo' form that test for the program
running under RT or not. That form has a textbox named 'me.runtime' that
gets populated with a 'yes' or 'no' via the following code:
With Me
.Runtime = IIf(SysCmd(acSysCmdRuntime), "Yes", "No")
End With

Possibly running a dummy file with the /runtime switch and testing for the
value of me.runtime could be a solution for you. HTH
Stanley L.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top