locked
Deploying a 2008 VB.net COM addin to Word 2007 RRS feed

  • Question

  • Has any one successfully deployed 2008 VB.net COM addin to Word 2007 by creating an .msi installation package.

    I am following some examples from Microsoft that produce a .msi (not click once) and it claims to install but the com add in does not appear.

    I can deploy this COM addin via the .vsto succesfully but SCCM team want an .msi to silently install.

    Hope some one can help


    Richard
    Monday, February 6, 2012 6:22 AM

Answers

All replies

  • Hi Richard,

    Thanks for your post.

    If you mean that you are trying to deploy your Office solution to all-users of the client via Windows Installer, your issue might be a know issue as here:

    http://support.microsoft.com/kb/976811

    and this can be fixed by installing this hotfix:

    http://support.microsoft.com/kb/976477/

    If not, the informatoin below would help you in troubleshooting what' wrong with your add-in

    http://blogs.msdn.com/b/haahmadi/archive/2010/05/26/my-vsto-add-in-does-not-load.aspx

    http://blogs.msdn.com/b/vsod/archive/2008/04/22/troubleshooting-com-add-in-load-failures.aspx

    I hope this helps.


    Calvin Gao[MSFT]
    MSDN Community Support | Feedback to us

    • Marked as answer by Calvin_Gao Thursday, March 8, 2012 10:00 AM
    Tuesday, February 7, 2012 3:42 AM
  • Hi Calvin

    Thanks for reply.

    Problem really is the .msi that get produced. While it claims to have succeeded installing the addin, word does not show it (even in disabled or inactive)

    If i manually run the .vsto via publish method it deplys the addin as you would expect.

    All the prerquisites are installed on target computer. they are used by other existing software

    Any clues

    Cheers

    Richard


    Richard

    Tuesday, February 7, 2012 9:04 PM
  • If you install your add-in via msi - where do registry keys for your add-in appear? under HKCU or some under HKLM? try and verify (you can also show us screenshot of registry editor in VS msi project with all reg key expanded).
    Wednesday, February 8, 2012 12:55 PM
  • Hi Calvin

    Thanks for reply.

    Problem really is the .msi that get produced. While it claims to have succeeded installing the addin, word does not show it (even in disabled or inactive)

    If i manually run the .vsto via publish method it deplys the addin as you would expect.

    All the prerquisites are installed on target computer. they are used by other existing software

    Any clues

    Cheers

    Richard


    Richard

    Hi Richard,

    If you manually run the .vsto file which published via ClickOnce, the add-in is registered under current user rather that local machine. And the issue which the hotfix  can fix is that Office would fail to load the VSTO add-in when you want to register it under local machine (which is only MSI deployment could do).

    So you might need to specific how you configure the msi install package. If it is local machine, you can have a try of installing the hotfix first to see what happens.

    I hope this helps.


    Calvin Gao[MSFT]
    MSDN Community Support | Feedback to us

    Thursday, February 9, 2012 2:32 AM
  • Hi Richard,

    What's the problem now, have you resolved it?

    I look forward to hearing of you.


    Calvin Gao[MSFT]
    MSDN Community Support | Feedback to us

    Wednesday, February 15, 2012 8:34 AM
  • Hi Calvin

    Currently trying to reverse engineer an Microsoft sample project which is a VS2010 Excel. This is similar in that the end result is to create a .msi that deploys via sccm. Its just a matter of now changing it to my developed add in for word.

    Will let you know on progress.

    Cheers

    Richard Mullan


    Richard

    Wednesday, February 15, 2012 11:36 PM