So, I've been able to install it (I found the error, there was a space missing)...but I cannot uninstall it, even using the Add/Remove program of the Control Panel...
What can I do
I tried however to develop it again, using another name...it gets installed, but it gets an error on runtime so the AddIn isn't loaded!
But, when I tested the adding using VS it worked perfectly...
What can I do in order to find why it doesn't get loaded
Bye
LastHope

Made a mistake...unable to uninstall!
plwatson
I used this two guides in order to deply my AddIn:
http://msdn.microsoft.com/office/default.aspx pull=/library/en-us/odc_vsto2005_ta/html/officevstowindowsinstalleroverview.asp
http://msdn.microsoft.com/office/default.aspx pull=/library/en-us/odc_vsto2005_ta/html/officevstowindowsinstallerwalkthrough.asp
I thought that the paragraph concerning the "Signing the Assembly" was enough for setting the CAS policy...What I did was signing each assembly I had (I used the same key)...
So, should I use this installer And How should I add it to my solution
Still thanking you for your answer
LastHope
bcratan
I've loaded here the code of my plugin (actually, there are more than one dll in my AddIn, so I've loaded only the code of ThisApplication.cs...)
Any idea
Scientifik
Hi,
You still need to grant full trust to your signed assembly (granting full trust is described in the first article).
In order to use custom installer you create a new class library, build it, go to your installer and add custom action.
Hope this will help.
RodMcLeay
Hi,
You have to set a FullTrust for each DLL. Also, how did you set the policy There are custom prerequisites available at Mads blog which will check for all prerequisites and there is a custom installer for setting the CAS policy.
Monte Chan
Still thank you
LastHope
Crof
- InProcServer32 = /
- ProgId = /
- Programmable = /
- VersionIndipendentProgId = /
- CAS policy is not set! = /
However, I've followed the two guidelines...I made the SolutionCodeGroupName as NameoFmySolution.NameOfProject...I'll try now adding the installer ID...Bye
LastHope