For anyone reading this... I got it to work. I and my boss are not happy at all.
Here is the scoop.
My problem was prerequisites and CAS.
In the example, I hacked the code... In the SetSecurity project I changed the outer group permissions from "Nothing" to "FullTrust" - that got my plugin loading.... then, when it ran functions, they would not run because I needed VSTOR and PIA... the installer had no idea how to include these so I used Mads Prerequisite fix and bang, there they were...
So now, for our tiny little Outlook addin that was supposed to be downloadable by people in a short time, we now have a huge beast of around 36MB - the addin in about 100K.
Today - I am re-writing in VB6 and deploying with NSIS. These past 3 weeks have been great! Sorry to seem them go (to waste)!
I still like .NET, but somehow this code bloat needs to get put onto a CD or something.
"Peter Hegelund" wrote:
[Quoted Text] > Good luck, Christian! > > Had the same problem for two months now but no solution in sight. > I can't help wondering if there may be a prerequsite that is not on the list?! > > Because I can only get the add-in to load on pc's with VS 2005 installed. > > -Peter > -- > C -> C++ -> C# (sigh of relief) > > > "Christian Jensen" wrote: > > > Hello, > > > > I have built and tested an Addin on my local machine... works great. > > > > I went to run the installer on my bosses computer - worked great too! > > > > Went to look at the Addin on his computer - it had failed to load (as > > verified in the COM-Addins dialog in Outlook) > > > > Looked on the web for why - Looks like security - find the article: > > http://msdn.microsoft.com/office/default.aspx?pull=/library/en-us/odc_vsto2005_ta/html/OfficeVSTOWindowsInstallerWalkthrough.asp> > > > Followed it to a T - except for the part where they indicate the > > pre-requisites (They were not listed for some reason) > > > > Downloaded the prequisites and they still would not show up in the list. > > > > Even the most basic Addin will not load. Can someone supply a ZIP with a > > working Addin with Installer so that I might copy their results? > > > > How do I debug security issues in Outlook other than the ambiguous "Not > > Loaded" message? > > > > I gotta get this baby out the door! Thanks!
|