• deploying office 2007 add-ins


    UPDATE: visit http://timheuer.com/blog/archive/2006/10/01/13547.aspx for the link to download SnopeIt!

    if you've installed the (man everytime i read our product names, it hurts), you'll notice that when you create an add-in project, it automatically creates a setup project along side it for you -- great idea (since you'll need a method to deploy it anyway).

    when i started to play around with the vsto tools and my SnopeIt add-in, the installer wasn't working for me.  it deployed fine, but outlook was giving a runtime load error.  after some investigation i figured it was something with security.  some colleagues were kind enough to point me to a solution.

    an article on msdn titled '' outlines a setup helper class (among one method) to implement the trust mechanism required for the add-in.  I literally did a cut/paste of the code in a SetupHelper assembly, plopped it in to my setup custom actions and it worked great.

    one thing i did have to change was the CustomActionData.  it indicated something like:

       1:  /path="[TARGETDIR]My Word Bookmarks_bin/My Word Bookmarks.dll"

     

    i think the article was written for office 2003 add-ins and there may be a different deployment model hence the _bin folder.  i found it wasn't necessary and just changed it to (changing to your assembly of course):

       1:  /path="[TARGETDIR]My Word Bookmarks.dll"

     

    this worked great for me.  so now that i have that worked out, here is the download link to the rough cut version of my simple SnopeIt add-in.  it simply launches snopes.com with the subject line -- like i said, simple.  i'm using this to learn more about the office 2007 development model though and will adjust when i get more time to some more features...any suggestions?

    File iconSnopeItSetup.msi

    Sunday, October 01, 2006 9:44 AM

    PostTypeIcon

Comments.

  • Andreas said:
    Gravatar
    # re: deploying office 2007 add-ins


    Thanks! The setup for my Word add-in now works beautifully, but only on my PC... If i try to distribute the setup to others, they face the same problem that I originally did. Apparently, you have the same problem; i have succedssfully downloaded and installed SnopeItSetup, but it won't run. :(

    10/20/2006 12:58 AM
  • Michael said:
    Gravatar
    # re: deploying office 2007 add-ins


    Hm. Same problem as Andreas has... :[

    1/16/2007 8:44 AM

Your Reply.

  Comment Form  

Fields denoted with a "*" are required.

*Your name:
Subject:
Your blog:
Your email:  (will not be displayed)
*Your message:

 
Please add 3 and 8 and type the answer here: