View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Cherian D via OfficeKB.com Cherian D via OfficeKB.com is offline
external usenet poster
 
Posts: 1
Default How to determine Office version

There are registry entries to determine the Office version. I use it in my
Installshield script. The entries are dependent on Office version 9, 10,
11, etc.

The key a
Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\10.0\ Common\ProductVersion
Sub-Key: LastProduct

Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\11.0\ Common\ProductVersion
Sub-Key: LastProduct

For versions earlier than 10, MS does not put the ProductVersion key, in
such case, I check for the Excel key\InstallRoot and if I find it, I know
that Excel is installed. (In my case, I know that the user have to install
Excel, so my checking for Excel is valid)

--
Message posted via http://www.officekb.com