By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,504 Members | 1,194 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,504 IT Pros & Developers. It's quick & easy.

Identifying if Office 2003 is installed

P: n/a
I am trying to write a routine to look at the registry and identify if
Office 2003 is installed, then, if it is to take certain actions. I have
used the excellent Dev Ashish code that can read a registry key and I can do
it that way. The problem with that is that there are fifty odd computers
running Office and I need to look at HKEY_CURRENT_USER, then drill down to
Software, Microsoft, Office, 11.0 and beyond before I can get a registry
entry with a value to read. I have found that the keys that I thought might
be the same for all users are not even there for some users, so I am having
difficulty getting a common key that everyone has set in that branch of the
registry.

But, I don't really need a value, I only need to see that
HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\OFFFICE\11.0 exists.

This is turning out to be quite long winded, but what I need is a routine
that can simply look to see if that 11.0 is there. I don't need to read the
value of an actual registry entry. Any suggestions?

dixie
Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Its alright, in my inimitable way, when I actually compose a message asking
for help, I am more likely to think of a solution - I don't need to look at
the registry to find the version of Access being used, there are better
functions than that already available on the Access Web.

dixie

"dixie" <di***@dogmail.com> wrote in message
news:41******@duster.adelaide.on.net...
I am trying to write a routine to look at the registry and identify if
Office 2003 is installed, then, if it is to take certain actions. I have
used the excellent Dev Ashish code that can read a registry key and I can
do it that way. The problem with that is that there are fifty odd
computers running Office and I need to look at HKEY_CURRENT_USER, then
drill down to Software, Microsoft, Office, 11.0 and beyond before I can get
a registry entry with a value to read. I have found that the keys that I
thought might be the same for all users are not even there for some users,
so I am having difficulty getting a common key that everyone has set in
that branch of the registry.

But, I don't really need a value, I only need to see that
HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\OFFFICE\11.0 exists.

This is turning out to be quite long winded, but what I need is a routine
that can simply look to see if that 11.0 is there. I don't need to read
the value of an actual registry entry. Any suggestions?

dixie

Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.