Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: Starting outlook after installing outlook programmatically

Geek News

Starting outlook after installing outlook programmatically
Jaz 11/24/2008 1:57:03 PM
Hi all,

I have created an outlook 2007 Addin using C#, VSTO 3.0,VS 2008 and created
an msi installer for same... Everything working fine..

Now I want to launch the addin (In this case the outlook itselt)
automatically after the completion of installation of the addin...

So I think I have to run the OUTLOOK.exe programmatically . I got the
location of OUTLOOK.exe from registry
(http://support.microsoft.com/kb/240794).
But when I execute the code the outlook opens and asks to configure the
account...

am i executing the wrong exe? Or is there is any other way to launch the
addin programmatically?

Thanking you in advance
Jaz
Re: Starting outlook after installing outlook programmatically
"Ken Slovak - [MVP - Outlook]" <kenslovak[ at ]mvps.org> 11/24/2008 3:04:08 PM
If your addin is registered correctly then starting Outlook will start your
addin. If Outlook was just installed and wasn't configured with an email
account you will always be prompted to set one up on the first startup of
Outlook.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Jaz" <Jaz[ at ]discussions.microsoft.com> wrote in message
news:671EEA0C-898B-4796-9C99-A574526942BE[ at ]microsoft.com...
[Quoted Text]
> Hi all,
>
> I have created an outlook 2007 Addin using C#, VSTO 3.0,VS 2008 and
> created
> an msi installer for same... Everything working fine..
>
> Now I want to launch the addin (In this case the outlook itselt)
> automatically after the completion of installation of the addin...
>
> So I think I have to run the OUTLOOK.exe programmatically . I got the
> location of OUTLOOK.exe from registry
> (http://support.microsoft.com/kb/240794).
> But when I execute the code the outlook opens and asks to configure the
> account...
>
> am i executing the wrong exe? Or is there is any other way to launch the
> addin programmatically?
>
> Thanking you in advance
> Jaz

Re: Starting outlook after installing outlook programmatically
Jaz 11/24/2008 3:48:04 PM
Hi Ken Slovak,

Thanks for your reply,

When i am running Outlook manually (by double clicking OUTLOOK.exe) it is
working as expected.. But whwn I execute the exe from code it shows
configuration screen

any idea???

Thanks
Jaz

"Ken Slovak - [MVP - Outlook]" wrote:

[Quoted Text]
> If your addin is registered correctly then starting Outlook will start your
> addin. If Outlook was just installed and wasn't configured with an email
> account you will always be prompted to set one up on the first startup of
> Outlook.
>
> --
> Ken Slovak
> [MVP - Outlook]
> http://www.slovaktech.com
> Author: Professional Programming Outlook 2007.
> Reminder Manager, Extended Reminders, Attachment Options.
> http://www.slovaktech.com/products.htm
>
>
> "Jaz" <Jaz[ at ]discussions.microsoft.com> wrote in message
> news:671EEA0C-898B-4796-9C99-A574526942BE[ at ]microsoft.com...
> > Hi all,
> >
> > I have created an outlook 2007 Addin using C#, VSTO 3.0,VS 2008 and
> > created
> > an msi installer for same... Everything working fine..
> >
> > Now I want to launch the addin (In this case the outlook itselt)
> > automatically after the completion of installation of the addin...
> >
> > So I think I have to run the OUTLOOK.exe programmatically . I got the
> > location of OUTLOOK.exe from registry
> > (http://support.microsoft.com/kb/240794).
> > But when I execute the code the outlook opens and asks to configure the
> > account...
> >
> > am i executing the wrong exe? Or is there is any other way to launch the
> > addin programmatically?
> >
> > Thanking you in advance
> > Jaz
>
>
Re: Starting outlook after installing outlook programmatically
"Ken Slovak - [MVP - Outlook]" <kenslovak[ at ]mvps.org> 11/24/2008 4:47:43 PM
No idea. Show the code you use to start Outlook after your installer runs.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Jaz" <Jaz[ at ]discussions.microsoft.com> wrote in message
news:49C793FE-2503-4B67-9C38-AB007D2EA405[ at ]microsoft.com...
[Quoted Text]
> Hi Ken Slovak,
>
> Thanks for your reply,
>
> When i am running Outlook manually (by double clicking OUTLOOK.exe) it is
> working as expected.. But whwn I execute the exe from code it shows
> configuration screen
>
> any idea???
>
> Thanks
> Jaz

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