clickonce

How to specify user credentials for a click-once application?

百般思念 提交于 2019-12-04 08:16:49
问题 For a regular .exe file i can always right click and select "run as..". How can i run a Click-Once application under different credentials in a similar way? I am talking about the application itself, not the installer. 回答1: The answer really is no, you shouldn't do this. ClickOnce applications are installed under the user profile and belong only to that user. THey will not and do not work as an all-user installation. Also note that if you double-click on the [exe] file (the location of which

Creating a (ClickOnce) setup for VSTO Outlook Add-in

半世苍凉 提交于 2019-12-04 07:35:53
So I created an Outlook Add-in and used the click-once setup to deploy it. The setup runs fine when the user is administrator, but otherwise: no go. Running the setup with "run as..." and logging in as admin works, but than the add-in is installed under the admin, not the current user. The addin doesn't show up in outlook. I tried following this guide: http://blogs.msdn.com/mshneer/archive/2008/04/24/deploying-your-vsto-add-in-to-all-users-part-iii.aspx But I get stuck at part I: http://blogs.msdn.com/mshneer/archive/2007/09/04/deploying-your-vsto-add-in-to-all-users-part-i.aspx I follow the

One-Click application moving from Windows Forms to WPF

守給你的承諾、 提交于 2019-12-04 07:25:15
I have a Windows Forms application that I recently re-wrote in WPF , and I need to release it to my end users. I'd like to be able to have the users go to the ClickOnce install point for the WPF application and have their Windows Forms application removed, so they don't have both on their machine. What's the best way (read: easiest for users) of accomplishing this? I have thought about creating an prerequisite command line to detect the old version and uninstall, but I would like to avoid having to write something like that where it only gets run once. RobinDotNet I think you actually SHOULD

Deploy my DLLs to GAC for use with ClickOnce App

好久不见. 提交于 2019-12-04 07:21:57
How do I do it? Is there any reason I shouldn't? I have a winform ClickOnce App that has about 13mbs in DLLs that are not mine so I would have no need/ability to update them at any regular intervals. DevExpress(3), Microsoft ReportViewer, Microsoft SQL Replication. Microsoft SQL SMO. Without them being included in my ClickOnce App my whole program comes in at about 1.5mbs and with our remote sites having limited vpn connectivity I really need to get it down there. I can't send 15mbs across our network to all users everytime I make a minor app change. Thanks UPDATE FOR CLARITY For clarification

Visual Studio ClickOnce deployment - certificate expiration

ぐ巨炮叔叔 提交于 2019-12-04 06:47:15
I have a problem with a ClickOnce deployment of a Windows Forms application. When I built the new setup, and tried to export it overwriting as usual the previous setup, Visual Studio came up stating that my certificate is expired. This behaviour is described in You receive an error message when you try to update a Visual Studio 2005 ClickOnce application after the certificate that was used to sign the installation expires and there is a workaround in RenewCert - Working Version . But these solutions are not applicable in my situation. Another workaround involves taking back the system date of

How to speed up the “Verifying Application Requirements” window?

妖精的绣舞 提交于 2019-12-04 06:24:29
I am using ClickOnce to deploy a C# application. It is available online only, so I cannot disable the application to check update every time it starts. Every time when it gets launched from url, you will see a "verifying application requirement" window. This is fine. However, the time it takes for this window to disappear varies greatly. Sometimes it's instant, sometimes it takes a few seconds. Anyone know why this is the case and how to speed up this verifying process? I am using process p = Runtime.getRuntime().exec("explorer myURL") to launch the application. I don't know if it matters or

Clickonce messagebox on install: Strong name signature not valid for assembly microsoft.mshtml.dll

一笑奈何 提交于 2019-12-04 06:14:13
I've just started to get the following error in my clickonce application. I have just installed visual studio 2013 on my machine prior to this "Application validation did not succeed. Unable to continue. when i click into details I get Activation of C:\Temp\ClickOnce\myApp\myApp.application resulted in exception. Following failure messages were detected: Strong name signature not valid for this assembly Microsoft.mshtml.dll. I also get two warnings but I do not believe they are the cause of the problem The manifest for this application does not have a signature. Signature validation will be

Create a clickonce webdeploy package

你说的曾经没有我的故事 提交于 2019-12-04 05:45:33
Is it possible to build a web deploy package containing a clickonce application that can be deployed to a web server using the standard webdeploy tool? Here would be the ideal process: MSBuild "YourFullyQualifiedProjectName.csproj/vbproj" /T:Package obj\Debug\Package\YourFullyQualifiedProjectName.deploy.cmd /Y The reasoning behind this would be so we can build the whole solution including web packages, run all tests, then deploy only after tests pass. I've currently looked at doing a file-based deploy to a temp folder, copy that into a web project, then package the web project. Is there a

Silverlight OOB vs WPF ClickOnce

岁酱吖の 提交于 2019-12-04 03:41:55
问题 Silverlight Out of Browser technology and WPF ClickOnce on the surface have similarities. Easy and simple deployment, the ability to specify the level of trust access to the underlying host, etc. What are the key issues I need to consider when choosing one over the other? To put a finer point on it, I'll be deploying LOB apps on a corporate network running only windows computers. 回答1: You mentioned trust access to the host which I think rules out Silverlight unless you want to run SL4 (beta).

Why does Mage.exe not generate a compatibleFrameworks attribute?

我怕爱的太早我们不能终老 提交于 2019-12-04 02:50:50
问题 We are using Mage.exe to generate our application's manifests as part of our build process. Upon upgrading to .NET 4 we now find it generates an invalid manifest. The reason is there isn't a compatibleFrameworks attribute being set in the application manifest which we generate every build. Is there a way we can make Mage.exe add this element or should we only ever update existing manifests? 回答1: Add this to your GenerateDeploymentManifest MSBuild task TargetFrameworkMoniker=".NETFramework