Requirements on Target Machine - Office 11

D

David Thielen

Hi;

What's the best way to add Word 2003 as a requirement for a setup
program? The best I can think of is to look for
HKCU/Software/Microsoft/Office/11.0/Word but that seems like a hack.

??? - thanks - dave
 
J

Jezebel

Use CreateObject to instantiate a reference and trap the error -- if you get
an error Word isn't installed. Has the advantage that you're not committed
to a specific version of Word (although, once you have the reference, you
can check if the version is OK for your purposes).
 
C

Cindy M -WordMVP-

Hi David,
What's the best way to add Word 2003 as a requirement for a setup
program? The best I can think of is to look for
HKCU/Software/Microsoft/Office/11.0/Word but that seems like a hack.
My preference is
HKCR/Word.Application/CurVer to get the currently registered
version

or HKCR/Word.Application.# to query whether a particular version MAY
be present, then check against the CLSID if there's a path to the EXE.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question
or reply in the newsgroup and not by e-mail :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top