Solved

Detecting Office 97 / - Professional on 95/NT

Posted on 1998-08-18
9
175 Views
Last Modified: 2010-04-04
hi, guyz.

i need an absolute secure way 2 detect wether office 97/office 97 professional is installed on a win95 or a winnt machine.

this must function on local setups as well as on network setups.

it must only return true if it is *still* installed.

my 1st thought was 2 check the registry (win95) in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MS Office 97
resp.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MS Office 97 Professional,

but i don't know if this is
a) the same on winnt and
b) always unequivocal

any other suggestions?
0
Comment
Question by:BlackDeath
  • 4
  • 3
  • 2
9 Comments
 
LVL 10

Expert Comment

by:viktornet
ID: 1337169
Yeah there is a way. Here it is. Open the FindFile dialog box and search for this file on your system-> Of97spec.ini
This is what mine looks like...
--------------------------
Version=1.0

[Product Specification]
Product=Office 97 Professional Edition
Version=8.0
Platform=x86
ServicePackNumber=Vanilla
------------------------------------------
Yup, see the Product = Office 97 Professional Edition, this displays what edition is the Office..
Hope this helps you!

Regards,
Viktor Ivanov
0
 
LVL 1

Author Comment

by:BlackDeath
ID: 1337170
hi, viktor!

thanx 4 answer.
this ain't unequivocal.

there is *no* such file in my whole system and office 97 professional _is_ installed locally.

furthermore, i'm quite sure this ini wouldn't vanish (if it was there) if u'd deinstall office, there4 it ain't secure either.

i'm sorry, vik, this isn't it.

so long,

Black Death.
0
 
LVL 4

Accepted Solution

by:
d003303 earned 100 total points
ID: 1337171
Yo BlackDeath,
either on network or local installations, Win95 or NT, MS Office sets uninstall information in the registry that is also removed when uninstalled. The key for Office97 is
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Office8.0

Slash/d003303
0
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
LVL 10

Expert Comment

by:viktornet
ID: 1337172
Maybe the best way 2 go is 2 do what you though in the beginning via the registry. I'm not sure if there is a better, and yet secure way to do that. Anyway, wish you luck ;-)

Regards,
Viktor Ivanov
0
 
LVL 1

Author Comment

by:BlackDeath
ID: 1337173
ho dee!

r u sure this is also the same with standard/professional?
if so, this is it.

Black Death.
0
 
LVL 1

Author Comment

by:BlackDeath
ID: 1337174
thanx, viktor! c u.

Black Death.
0
 
LVL 4

Expert Comment

by:d003303
ID: 1337175
Yo,
I have Office97 Standard on one and Pro on another machine. Both NT, both the same registry entry. Only difference are the values (DisplayName/UninstallString).

Cheers,
Slash/d003303
0
 
LVL 1

Author Comment

by:BlackDeath
ID: 1337176
thanxalot & have a nice day.
Black Death.
0
 
LVL 4

Expert Comment

by:d003303
ID: 1337177
u2, no prob.

Slash/d003303
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Wininet read php file from internet issue 6 91
Delphi cmd execution 6 60
Delphi - replicating a form 8 74
Connection between libmysql.dll and MySQL Versions 7 97
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question