Solved

Deployment of excel Add-IN

Posted on 2008-10-10
2
765 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

777 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