Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: how to check office version and install relative PIA?

Geek News

how to check office version and install relative PIA?
"Tanweer Ahmad" <tanweer[ at ]syneit.com> 6/27/2007 6:44:24 AM
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


Re: how to check office version and install relative PIA?
"Ken Slovak - [MVP - Outlook]" <kenslovak[ at ]mvps.org> 6/27/2007 1:22:51 PM
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.

--
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


"Tanweer Ahmad" <tanweer[ at ]syneit.com> wrote in message
news:%23QEsbaIuHHA.3400[ at ]TK2MSFTNGP03.phx.gbl...
[Quoted Text]
> 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
>

Re: how to check office version and install relative PIA?
"Dmitry Streblechenko" <dmitry[ at ]dimastr.com> 6/27/2007 4:48:36 PM
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

"Ken Slovak - [MVP - Outlook]" <kenslovak[ at ]mvps.org> wrote in message
news:O$cwP5LuHHA.484[ at ]TK2MSFTNGP06.phx.gbl...
[Quoted Text]
> 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.
>
> --
> 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
>
>
> "Tanweer Ahmad" <tanweer[ at ]syneit.com> wrote in message
> news:%23QEsbaIuHHA.3400[ at ]TK2MSFTNGP03.phx.gbl...
>> 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
>>
>


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net