• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 802
  • Last Modified:

Deployment of excel Add-IN

Deploying an excel Add-in.
we have created an excel Add in using VSTO tools. when testing this add in from Vistual studio 2005, test is o.k..
Then we prepared teh deployement set up as descibed in:
Deploying Visual Studio 2005 Tools for Office Solutions Using Windows
Installer (Part 1 of 2)
http://msdn2.microsoft.com/en-us/library/aa537173(office.11).aspx
Installer: Walkthroughs (Part 2 of 2)
http://msdn2.microsoft.com/en-us/library/aa537179(office.11).aspx

The problem we faced is that teh custom action described in updated of manifest generate an error saying that it cannot find the manifest for teh workbook. In fact we do not know how to generate a mainfest for the workbook we need to distribute.
So we decided to remove this action from tehs etup project, and we were able to install teh setup on another computer.
Now we are unable to add this add-in to an excel workbook, we we try to do this, teh system deisplay: This is not a valid office add in.

Any hint?



0
zrod
Asked:
zrod
1 Solution
 
Vivek ThangaswamyCommented:
0
 
einarbrownCommented:
Havve you tried this?:
"When you build and execute a VSTO project FullTrust is given to the assembly. The trust is removed when the project is built
to a new location. Thus as you found you can open the document from the build directory.

Publish
-------

To run your application you must double click the document itself rather than the .application file. This is the deployment manifest for your solution. Inside the publish location is a version folder containing the assembly and application manifest.

You must also grant FullTrust to the customization assembly. One alternative is to grant permission to the publish location provided that the location is secured. In that way publish updates are also trusted. The updates appear as new version folders in the publish location. Note: if you experience any problems re-publishing in beta 2 you may need to stop and re-start VS.

If you are running the document on a file share or from a web server, then the document also needs Full Trust."

Read more here:
http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/701300e2-7cf4-42d7-aa2c-9b24b160ab83
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now