Solved

Deployment of excel Add-IN

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

I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

895 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

13 Experts available now in Live!

Get 1:1 Help Now