472,789 Members | 1,285 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,789 software developers and data experts.

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.Deployment.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.Deployment.Application.InvalidDeploymentExc eption (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.Deployment
- Stack trace:
at System.Deployment.Application.ManifestReader.FromD ocument(String
localPath, ManifestType manifestType, Uri sourceUri)
at
System.Deployment.Application.DownloadManager.Down loadDeploymentManifestDirectBypass(SubscriptionSto re
subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState,
IDownloadNotification notification, DownloadOptions options,
ServerInformation& serverInformation)
at
System.Deployment.Application.DownloadManager.Down loadDeploymentManifestBypass(SubscriptionStore
subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState,
IDownloadNotification notification, DownloadOptions options)
at
System.Deployment.Application.ApplicationActivator .PerformDeploymentActivation(Uri
activationUri, Boolean isShortcut)
at
System.Deployment.Application.ApplicationActivator .ActivateDeploymentWorker(Object
state)
--- Inner Exception ---
System.Deployment.Application.InvalidDeploymentExc eption
(ManifestSemanticValidation)
- Deployment manifest is not semantically valid.
- Source: System.Deployment
- Stack trace:
at
System.Deployment.Application.Manifest.AssemblyMan ifest.ValidateSemanticsForDeploymentRole()
at
System.Deployment.Application.Manifest.AssemblyMan ifest.ValidateSemantics(ManifestType
manifestType)
at System.Deployment.Application.ManifestReader.FromD ocument(String
localPath, ManifestType manifestType, Uri sourceUri)
--- Inner Exception ---
System.Deployment.Application.InvalidDeploymentExc eption
(ManifestComponentSemanticValidation)
- Application reference identity must be strongly named.
- Source: System.Deployment
- Stack trace:
at
System.Deployment.Application.Manifest.AssemblyMan ifest.ValidateApplicationDependency(DependentAssem bly
da)
at
System.Deployment.Application.Manifest.AssemblyMan ifest.ValidateSemanticsForDeploymentRole()

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 4436
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
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. ...
15
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...
1
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...
2
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...
0
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...
5
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....
1
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...
0
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...
0
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...
0
by: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth

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.