Hello,
I am using VS2005 SP1 and outlook 2003. I wrote an outlook add-in that creates a new
menu in message view and written custom code for the same. If i compile the add-in in the VS IDE, it works correctly. If i try to install my self by selecting my addin from Tools-->options-->Other-->advanced--> add-in manager, I get an error message <path> is not a valid office add-in.
I created a windows installer by following the procedure given at
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=597337
Deploying Visual Studio 2005 Tools for Office Solutions Using Windows Installer: Walkthroughs (Part 2 of 2)
the installer works on my local development machine but when i run this installer on a different machine the add-in appears in the list of add-ins but if i try check the check-box in front of my addin i get this error "Not loaded. A runtime error occured during the loading of the COM Add-in" .
While following the procedure, i noticed that the prerequisites does not list these two things
Visual Studio 2005 Tools for Office Runtime
Visual Studio 2005 Tools for Office Language Pack
How to get them listed in my development machine.
My add-in updates registry under HKEY_CURRENT_USER, i updated the LoadBehavior to 3 and tried to run it from command-prompt as suggested in the following topics
http://forums.microsoft.com/msdn/showpost.aspx postid=602979
http://msdn2.microsoft.com/en-us/library/aa537179(office.11).aspx
but i dont see any UI or message when starting outlook to understand the actual problem/error and LoadBehavior gets reset to 2 after outlook comes up.
I had also gone through this document.
Deploying Visual Studio 2005 Tools for Office Solutions Using Windows Installer: Walkthroughs (Part 1 of 2)
http://msdn2.microsoft.com/en-us/library/aa537173(office.11).aspx
Any help would be greatly appreciated. I have been struggling with this for quite sometime and tried to go through different articles and forums but no luck.
Thanks in advance
Kishore