clickonce

.NET ClickOnce not installing prerequisite files?

若如初见. 提交于 2019-11-29 04:21:26
I have a .NET project that uses Crystal Reports. The application is distributed using ClickOnce. Things work great if the user has Crystal installed on their computer. However, not all of the end users have Crystal Reports installed on their computers. These users are receiving the following error... "Unable to install or run the application. The application requires that assembly CrystalDecisions.ReportAppServer.XmlSerialize Version 10.5.3700.0 be installed in the Global Assembly Cache (GAC) first." Is there a way to force ClickOnce installs to ensure that a prerequisite is installed? No.

ClickOnce signer's certificate not valid for signing when using makecert/pvk2pfx

微笑、不失礼 提交于 2019-11-29 01:30:14
问题 All of a sudden my unexpired certificate created using makecert/pvk2pfx is throwing an error when attempting to publish a ClickOnce application. This worked fine just last week... Error Message: Error 2 An error occurred while signing: Failed to sign bin\Debug\app.publish\setup.exe. SignTool Error: The signer's certificate is not valid for signing. SignTool Error: An error occurred while attempting to sign: bin\Debug\app.publish\setup.exe When I use the "Create Test Certificate" option in the

does .Net 4.5 include .Net 4.0

筅森魡賤 提交于 2019-11-29 01:29:41
I am developing a C# desktop application using Winforms. I created an installation strategy using visual studios click once installation tool. Luckily it provides clients to detect, download and setup the related prerequisite components. My question is I started to develop this app with .NET 4.0 and then upgraded it to .NET 4.5 now on the prerequisites list both 4.5 and 4 is checked. i am wondering if i uncheck the .NET 4.0 component would it be alright? does .NET 4.5 include .NET 4.0? When .NET 4.5 is installed it effectively replaces .NET 4.0 on the machine. .NET 4.0 gets overwritten by a

Remove ClickOnce from a WinForms app

只愿长相守 提交于 2019-11-29 00:56:50
I have a WinForms application that was going to use ClickOnce. But it turns out ClickOnce won't work for my application, so I'd like to remove it. Only...there doesn't seem to be an obvious way to do this. There's no "Un-ClickOnce" button. Does anybody know what steps I need to take to get my app to be like it was before ClickOnce integrated itself? (I know I can create a new project and import stuff into it, but it seems silly to have to do that, so I'm hoping there's another way.) Chris Rogers Other responses here are not correct or helpful. It is incorrect to state that it never needs

Automatically increment “minimum required version” in a ClickOnce deployment?

ε祈祈猫儿з 提交于 2019-11-29 00:22:58
问题 Is there a way to automatically increment the "minimum required version" fields in a ClickOnce deployment to always equal the current build number? Basically, I always want my deployment to be automatically updated at launch. I suspect I'm going to need a some pre-/post-build events, but I hope there's an easier way. 回答1: I may be a little late with answering this one but I found it difficult to find the solution on google but eventually figured it out so thought I would share. With MSBuild

SignTool Not Signing ClickOnce App Using SHA256, Only Uses SHA1

百般思念 提交于 2019-11-28 23:40:54
I'm trying to sign my clickonce app. I have an EV code signing certificate that is using SHA256. The problem is that when I sign my app using the post build commands, it seems to be using SHA1 instead of SHA256. Here is a clip of the output window: Running Code Analysis... 1> Code Analysis Complete -- 0 error(s), 0 warning(s) 1> The following certificate was selected: 1> Issued to: Certificate Subject Name Here 1> 1> Issued by: DigiCert EV Code Signing CA (SHA2) 1> 1> Expires: Thu Apr 14 06:00:00 2016 1> 1> SHA1 hash: HASH-HERE 1> 1> 1> Done Adding Additional Store 1> Successfully signed and

Clickonce App Doesn't start with Windows 1803

梦想的初衷 提交于 2019-11-28 23:36:24
I have a Clickonce app from Visual Studio 2015 SP3 that is published to the network server and used in-house only. The program works just fine when launched from Visual Studio. It runs just fine on a Windows machine that does not have the 1803 update. But once a machine updates to 1803, the application no longer starts. I get the "Checking for updates..." window then nothing. On a fresh install, I usually get the Smartscreen telling me the program may be dangerous. It doesn't get that far. I've created the Clickonce from a computer with the 1803 update and the problem still exists. I've

Effect of changing ClickOnce application publish location on clients' machines

大城市里の小女人 提交于 2019-11-28 23:29:09
OK, I have a Windows Forms application published using ClickOnce to http://MyDevComputer1/DevPublishFolder/ , so the deployement link is http://MyDevComputer1/DevPublishFolder/publish.htm . The application is already deployed to close to 20 machines in the company intranet. I now have a requirement to change the publish location to a different server in the same network, but I'm just not sure how this change will affect the users who already have the application installed on their client machines. How do I make sure the application detects that the publish location has been changed to a

ClickOnce application skips asking for an update (or fail launch if skip is selected)

六月ゝ 毕业季﹏ 提交于 2019-11-28 23:06:13
I updated my ClickOnce application and then when the user runs they are asked if they want to install the new version. I am working in a highly controlled environment. When an update is available it has to be installed (backwards compatibility with the database is not ensured with old versions). Another option is to fail the run if skip is pressed (that works fine too). I need some way to stop them from running an old version of the application. David This article answers your question. I'm pointing you to the article instead of just posting an answer because everything in the article is worth

Issue with clickonce bootstrapper and msbuild

感情迁移 提交于 2019-11-28 23:00:31
问题 I have a CruiseControl .NET build server running on Windows Server 2003, and I am trying to build and publish my ClickOnce application using msbuild. Everything is working fine, except when I enable the bootstrapper of my ClickOnce application. When this happens, I get the following error in the DeploymentGenerateBootstrapper target: C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets (3939,9): error MSB3147: Could not find required file 'setup.bin' in 'E:\Projects\src