Solved

Detecting Office 97 / - Professional on 95/NT

Posted on 1998-08-18
9
178 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

726 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