Solved

Deployment of excel Add-IN

Posted on 2008-10-10
2
740 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
Comment Utility
0
 
LVL 6

Accepted Solution

by:
einarbrown earned 500 total points
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

If your app took Google’s lash recently, here are the 5 most likely reasons.
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…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

762 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now