Solved

Detecting Office 97 / - Professional on 95/NT

Posted on 1998-08-18
9
179 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

707 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