Are you creating an Outlook process? If so and Outlook wasn't running before
you did that you need to use app.Quit() to shut down Outlook before
releasing the app object. Make sure all of your other Outlook objects are
released before you call Quit(), then release app.
--
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
"Jason" wrote in message
...
I figured out the first question. Now I can publish a form from msi.However
it has problem, the outlook.exe does not terminate, even after
System.Runtime.InteropServices.Marshal.ReleaseCom Object(app).
Still have problem in default form setting. I'll create a new thread.
"Jason" wrote in message
...
How do I deploy a custom form through Outlook add-in setup? I wrote
custom code for windows service installtion but I don't know this add-in
thing.
I know how to make the form as default by setting registry. Can I add
those registry values to the existing entries on the setup project
registry tab?