?
Solved

Detecting Office 97 / - Professional on 95/NT

Posted on 1998-08-18
9
Medium Priority
?
180 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 400 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
Industry Leaders: 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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses
Course of the Month7 days, 21 hours left to enroll

765 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