Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Add-Ins / June 2007

Tip: Looking for answers? Try searching our database.

how to check office version and install relative PIA?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tanweer Ahmad - 27 Jun 2007 07:44 GMT
Hi Experts,
I am developing an outlook plugin for office 2000,2003,2007. i want to make
a setup file which can check the installed office version and install the
relative PIA, before installing the addin.. how can i do that?
Peace & Kind Regards,
Tanweer
Ken Slovak - [MVP - Outlook] - 27 Jun 2007 14:22 GMT
You can read the Path value from
HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\OUTLOOK.EXE and see
where Outlook is installed if it is and then go to that folder and file and
read the version property. A clue usually is the 11.0 in the path for
Outlook 2003 or 12.0 for Outlook 2007, etc. but the user can install where
they want so that's not always accurate.

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

> Hi Experts,
> I am developing an outlook plugin for office 2000,2003,2007. i want to
> make a setup file which can check the installed office version and install
> the relative PIA, before installing the addin.. how can i do that?
> Peace & Kind Regards,
> Tanweer
Dmitry Streblechenko - 27 Jun 2007 17:48 GMT
That key can be missing if Outlook is installed from a network drive.
A better approach might be to look at the Outlook.Application registry key
and see which executable it points to, then use the file version API to read
the version info.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool

> You can read the Path value from
> HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\OUTLOOK.EXE and
[quoted text clipped - 10 lines]
>> Peace & Kind Regards,
>> Tanweer
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.