Add-in installer runs but does not install the add-in in outlook

Add-in Express™ Support Service
That's what is more important than anything else

Add-in installer runs but does not install the add-in in outlook
 
Mars Zhang




Posts: 6
Joined: 2008-05-22
When I use "register ADX project" in VS 2005, it registers the addin in the registry correctly and I see the addin in outlook working correctly.

When I run the installer to install, it also registers correctly at first. the LoadBehavior is 3. But when I open outlook, I didn't see the addin. And also, when I check the registry, the LoadBehavior becomes 2. Besides, when I go to Outlook trust center to see the addin I install, it says"Not loaded. A runtime error occurred during the loading of the com add-in".

Could you please give me some clue to fix the error?

Thanks in advance! It's really urgent!

Posted 22 May, 2008 14:46:15 Top
Mars Zhang




Posts: 6
Joined: 2008-05-22
by the way, I use outlook 2007 and add-in express 2008 for .net
Posted 22 May, 2008 16:52:14 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Mars.

Do you work in Vista?
Posted 23 May, 2008 10:04:35 Top
Mars Zhang




Posts: 6
Joined: 2008-05-22
yes, the prob above is solved, but I have a another problem. How can set the setup in VS, so when I installed the addin for the outlook as user a, all the other user of my machine can use the same addin for outlook as well.

Thanks a lot!
Posted 27 May, 2008 20:45:23 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Mars.

You need to set the RegisterForAllUsers property to true and rebuild the solution. In this case you will have to run the setup.exe file and provide the admin password in the UAC dialog.
Posted 28 May, 2008 07:44:00 Top
Mars Zhang




Posts: 6
Joined: 2008-05-22
thanks a lot!
Right now we are using another service to send emails instead of sending using outlook. But after sending, it store the email in the "draft" folder, is there any way we can move the file to the "sent items" folder after we sending using our own service?

Thank you!
Posted 04 Jun, 2008 16:13:57 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Mars.

You can use the Move method of Outlook items to move them to any folder.
Posted 05 Jun, 2008 09:42:54 Top