Solved

Deployment of excel Add-IN

Posted on 2008-10-10
2
770 Views
Last Modified: 2013-12-12
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
Comment
Question by:zrod
2 Comments
 
LVL 11

Expert Comment

by:Vivek Thangaswamy
ID: 22694160
0
 
LVL 6

Accepted Solution

by:
einarbrown earned 500 total points
ID: 22755518
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, you will read about the trends across the human resources departments for the upcoming year. Some of them include improving employee experience, adopting new technologies, using HR software to its full extent, and integrating artifi…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
XMind Plus helps organize all details/aspects of any project from large to small in an orderly and concise manner. If you are working on a complex project, use this micro tutorial to show you how to make a basic flow chart. The software is free when…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question