473,854 Members | 1,467 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VSTO 2005 Excel Application & ClickOnce

Hi,

We have developed a VSTO 2005 Excel application and we would like to
leverage ClickOnce deployment mechanism for distribution of this
application.
How can we do that? I was digging in MSDN for VSTO & ClickOnce documentation
and did not find anything. I've noticed that there is an option to
publish the project, but when I do that and then run the application from
Web it throws us security errors like:

PLATFORM VERSION INFO
Windows : 5.1.2600.131072 (Win32NT)
Common Language Runtime : 2.0.50727.42
System.Deployme nt.dll : 2.0.50727.42 (RTM.050727-4200)
mscorwks.dll : 2.0.50727.42 (RTM.050727-4200)
dfdll.dll : 2.0.50727.42 (RTM.050727-4200)
dfshim.dll : 2.0.50727.42 (RTM.050727-4200)

SOURCES
Deployment url : http://localhost/miniexcel/MiniExcel.application

ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later
in the log.
* Activation of http://localhost/miniexcel/MiniExcel.application resulted
in exception. Following failure messages were detected:
+ Exception reading manifest from
http://localhost/miniexcel/MiniExcel.application: the manifest may not be
valid or the file could not be opened.
+ Deployment manifest is not semantically valid.
+ Application reference identity must be strongly named.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.

WARNINGS
There were no warnings during this operation.

OPERATION PROGRESS STATUS
* [25/02/2007 12:46:13] : Activation of
http://localhost/miniexcel/MiniExcel.application has started.

ERROR DETAILS
Following errors were detected during this operation.
* [25/02/2007 12:46:13]
System.Deployme nt.Application. InvalidDeployme ntException (ManifestParse)
- Exception reading manifest from
http://localhost/miniexcel/MiniExcel.application: the manifest may not be
valid or the file could not be opened.
- Source: System.Deployme nt
- Stack trace:
at System.Deployme nt.Application. ManifestReader. FromDocument(St ring
localPath, ManifestType manifestType, Uri sourceUri)
at
System.Deployme nt.Application. DownloadManager .DownloadDeploy mentManifestDir ectBypass(Subsc riptionStore
subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionSta te& subState,
IDownloadNotifi cation notification, DownloadOptions options,
ServerInformati on& serverInformati on)
at
System.Deployme nt.Application. DownloadManager .DownloadDeploy mentManifestByp ass(Subscriptio nStore
subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionSta te& subState,
IDownloadNotifi cation notification, DownloadOptions options)
at
System.Deployme nt.Application. ApplicationActi vator.PerformDe ploymentActivat ion(Uri
activationUri, Boolean isShortcut)
at
System.Deployme nt.Application. ApplicationActi vator.ActivateD eploymentWorker (Object
state)
--- Inner Exception ---
System.Deployme nt.Application. InvalidDeployme ntException
(ManifestSemant icValidation)
- Deployment manifest is not semantically valid.
- Source: System.Deployme nt
- Stack trace:
at
System.Deployme nt.Application. Manifest.Assemb lyManifest.Vali dateSemanticsFo rDeploymentRole ()
at
System.Deployme nt.Application. Manifest.Assemb lyManifest.Vali dateSemantics(M anifestType
manifestType)
at System.Deployme nt.Application. ManifestReader. FromDocument(St ring
localPath, ManifestType manifestType, Uri sourceUri)
--- Inner Exception ---
System.Deployme nt.Application. InvalidDeployme ntException
(ManifestCompon entSemanticVali dation)
- Application reference identity must be strongly named.
- Source: System.Deployme nt
- Stack trace:
at
System.Deployme nt.Application. Manifest.Assemb lyManifest.Vali dateApplication Dependency(Depe ndentAssembly
da)
at
System.Deployme nt.Application. Manifest.Assemb lyManifest.Vali dateSemanticsFo rDeploymentRole ()

COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.

Is there another method we can use for automatic distribution of our
application if ClickOnes doesn't support VSTO?

Thank you very much for your help and support,

Best Regards,

Michael
Mar 28 '07 #1
2 4549
Hello Michael,

I understand that you want to use ClickOnce to automatically deploy the
VSTO application. If I am offset, please let me know.

Unfortunately, VSTO current version did not support ClickOnce deployment
which means you could not use the ClickOnce to deploy VSTO.

Product team is considering to enable ClickOnce deployment for VSTO in the
next generation of Visual Studio.

To deploy the VSTO, you need to generate the MSI setup package and use the
Windows Installer to install the application.

Please refer these articles to deploy VSTO.

Deploying Visual Studio 2005 Tools for Office Solutions Using Windows
Installer (Part 1 of 2)
http://msdn2.microsoft.com/en-us/lib...ffice.11).aspx

Deploying Visual Studio 2005 Tools for Office Solutions Using Windows
Installer: Walkthroughs (Part 2 of 2)
http://msdn2.microsoft.com/en-us/lib...ffice.11).aspx

Hope this will be helpful.

Sincerely,

Wei Lu

Microsoft Online Community Support

=============== =============== =============== =====

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.

=============== =============== =============== =====
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Mar 29 '07 #2
Hi ,

How is everything going? Please feel free to let me know if you need any
assistance.

Sincerely,

Wei Lu
Microsoft Online Community Support

=============== =============== =============== =====

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Apr 3 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
1960
by: Howard Kaikow | last post by:
I just visited the MSFT web site and saw the comparison/pricing of the different VS 2005 versions. I was looking for a statement of the system requirements for VS Pro and VSTO, could not find. Also, more details on the differences between VS Pro and VSTO. For example, can VSTO be used to create a DLL, in particular, a DLL that can be used as an ActiveX DLL with Office? In VSTO, other than the addition of the support for Office 2003...
15
6965
by: Enrique | last post by:
Question I am posting this question again (3rd time) because some issues with my no spam alias. Here it is the question: I have not been able to run unit tests for a VSTO (2005) project. I have an Excel project and a unit test project in the same solution. I have not found the way to initialize the runtimecallback as required by the code generated
1
6828
by: Daniel Knöpfel | last post by:
Hello Im triying to create an installer using ClickOnce and visual studio 2005. This works fine on my computer, but as soon as i start the created installer on another pc I get the following message: "Unable to install or run the application. The application requires that assembly EnvDTE Version 7.0.330.0 be installed in the Global Assembly Cache (GAC) first." When I now reference the assembly Envdte (Version 7.0.330.0) and include...
2
2800
by: Le | last post by:
Folks, I'm trying to do some office automation using VSTO 2005. I've verified that ..Net Programmability Support is installed for every MS Office application and Microsoft Forms 2.0 .Net Programmability Support is also installed under Office Tools through Office Setup. I've then installed VSTO 2005 (vstor.exe, http://www.microsoft.com/downloads/details.aspx?familyid=f5539a90-dc41-4792-8ef8-f4de62ff1e81&displaylang=en). After installing...
0
1050
by: jcohen68 | last post by:
I have an application in production at my comany using VSTO 2005 and Excel 2003. The virtual machine I had developed the app on has crashed and so has the backup, somehow I screwed up the .VMC file (I think). Anyway, the application sits in a deployment directory and I was wondering if it is posible to restore the entire project to its original form or some semblance thereof from the assembly? Thanks, Jon
5
1593
by: Toulousse | last post by:
Hi, I'm currently a VB6 developer and I write mostly office type apps (not always Office though). At this point in time I have a project where I need to develop an add-in for Microsoft Project. There appears to be two paths I can go down, VS.NET or VSTO. From what I have read, VSTO is the tool if you are planning on developing an Office Application, but only if it is Excel, Word, Outlook or InfoPath and
1
2616
by: RandomElle | last post by:
Can anyone help me out with locating & using the package and deployment wizard for Access 2003? I have searched for HOURS and cannot find the Package & Deployment wizard for Access2003 anywhere on my machine. It's supposed to be under Program Files/Microsoft Office/Package & Deployment.... It's not there and I don't have a folder with anything even close on my machine. I have installed: * MS Office Pro 2003 with Biz contact Mgr , *...
0
1311
by: =?Utf-8?B?UGV0ZQ==?= | last post by:
This is a duplicate of a posting on Officedev so apologies to anyone who's read this already. I had an Office add-in built in VB.Net 2003 with an Excel and a Word add-in class that transferred data from Excel to Word using the clipboard. It worked well until I developed a new version using VS 2005 and VSTO (the Excel and Word add-ins are now separate DLLs). Now I find that after placing data on the clipboard using the Excel.Range.Copy...
0
1476
by: =?Utf-8?B?UGV0ZQ==?= | last post by:
Hi, I have successfully developed and deployed VSTO add-ins for Excel, Word and PowerPoint 2003 using the VSTO templates and Visual Studio 2005. I want to install 2 or 3 of these add-ins in a single Installer package but am finding this inexplicably challenging. If I add the Visual Studio project output of the Excel add-in to the setup project for the Word add-in, adding the necessary files, registry entries and a custom actions to set...
0
9751
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10682
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10758
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9513
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7915
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7082
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5942
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4562
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4159
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.