×

First time here?

You are looking at the most recent posts. You may also want to check out older archives. Please leave a comment, ask a question and consider subscribing to the latest posts via RSS or email. Thank you for visiting!

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



DISCLAIMER:

The opinions/content expressed on this blog are provided "ASIS" with no warranties and are my own personal opinions/content (unless otherwise noted) and do not represent my employer's view in any way.