clickonce

Self Sign Certificate To Authenticode Certificate?

落爺英雄遲暮 提交于 2019-12-04 13:16:03
问题 We deployed a windows application via ClickOnce and a self signer certificate that we created. We are now looking in to getting a Authenticode Certificate from a Certificate Authority like VeriSign. When we start signing our ClickOnce manifests with the new certificate, will our users have to re-install the application? Are there any known migration paths for dealing with our scenario? Thanks 回答1: Yes, you can do this without the users having to re-install, but it's tricky. The key is to

Will SQLite Work in a ClickOnce Deployment?

这一生的挚爱 提交于 2019-12-04 12:12:14
And if it will, what is the best practice in terms of connection strings? Just a relative path? |DataDirectory| ? SQ Lite should work just fine in a ClickOnce scenario. It's a zero configuration components. Components which require configuration usually have issues with click once. http://www.sqlite.org/ I don't know about SQLite, but yes: I believe you'd want to use |DataDirectory| with ClickOnce, since that points to the area in the user's profile where the app's data/settings can be stored. 来源: https://stackoverflow.com/questions/532251/will-sqlite-work-in-a-clickonce-deployment

ClickOnce deployment CheckForDetailedUpdate throws an exception

断了今生、忘了曾经 提交于 2019-12-04 11:28:48
I have an application that's running 24/7 without attendance. It's deployed via ClickOnce and needs to check and download updates by itself. It checks for updates at application startup and at scheduled time at night. When it does it on startup, it works perfectly fine. However, when it does it at scheduled time, it crashes. In both cases it's using exactly the same piece of code. It's running under Windows 7 and might have something to do with UAC . I'm thinking that maybe it cannot access file system when computer is at idle state? I really need to fix that. Here are the exception details:

Clickonce ask for a License agreement

人盡茶涼 提交于 2019-12-04 11:04:17
问题 Is it possible to build a ClickOnce deployment, for a Win Form application, to ask for the user to agree to a License Agreement before continuing? 回答1: Answer from MSDN by User Heath8041: Sneaky Way to get an EULA displayed for your clickonce application in VS2005 Here's a round about way to get your clickonce applications to install with an End user license agreement. Basically you build a redistributable component that can be seen in your prerequsites dialog box under the publish window.

Clickonce signed application fails with “has a different computed hash than specified in manifest”. Mage fails to resolve issue

感情迁移 提交于 2019-12-04 10:27:59
问题 I've been really struggling with this one for days. I've seen other posts like ClickOnce Deployment Error: different computed hash than specified in manifest, but the solutions do not seem to work for me. I have a valid code signing certificate, and have been using it to sign my ClickOnce application for months. I realized I wasn't signing the executable and dlls themselves, so I attempt to do so. Now every time I publish and run the setup.exe, it fails with: "File, xxxxxx.dll, has a

How can I disable code signing for debug builds in Visual Studio 2013?

微笑、不失礼 提交于 2019-12-04 10:19:01
问题 We recently upgraded Visual Studio from 2010 to 2013 and everything seems to be working the same as before except for one thing. In 2010 code signing was only performed when publishing the project, but in 2013 it wants to sign the output assembly every time we build the project. I'm having issues trying to find any results online about this, everything only points to how to setup signing in the first place, not how to prevent it signing during normal debug builds. I created a new project and

Updating deployment manifest for a ClickOnce application programmatically results in missing <compatibleFrameworks> element, required in 4.0

蹲街弑〆低调 提交于 2019-12-04 09:37:36
问题 I'm working on automating the installer for a .NET 4.0 ClickOnce WPF application, which needs a few items to be set in the app.config file. I've gone through the thorny process of finding specific steps I must follow using Mage.exe (that is, update and re-sign application and deployment manifests) and now am trying to automate it for installation. I opted to use .deploy extension to minimize issues with IIS/Internet Explorer security mechanisms, so essentially the algorithm is as follows

.NET ClickOnce deployment and wrong assemblies called after updated version

痞子三分冷 提交于 2019-12-04 09:34:44
I have a ClickOnce application (app1) that calls DLL files from another solution (app2). I recently updated this application at one customer and a strange thing occurred. He got the new version (publish version was correct in Control Panel / Add or Remove Programs ) of app1 and the application version was correct as manually inspected in the application. But the DLL files called from the referenced solution (app2) was still the old ones. We deleted all files in C:\Documents and Settings\username\Local Settings\Apps\2.0 and installed again. This time there was no problem, the correct DLL files

ClickOnce appref.ms argument

时光毁灭记忆、已成空白 提交于 2019-12-04 09:07:46
I have a ClickOnce application that is available online or offline. The program takes an argument. When online I pass the argument on the URL like so "url?argument", and it works well. Offline I start a process with the startmenu link to the application. Is it possible to pass an argument to my application via this link? I guess I could somehow work out the location of the application file, but is there an alternative? Joel Cochran I was able to get this to work by referencing the app as "%userprofile%\Desktop\Your Shortcut Name Here.appref-ms" Then, to pass the parms, pass them as a single,

How to update just one DLL in a ClickOnce installation?

有些话、适合烂在心里 提交于 2019-12-04 08:29:43
I am working on a large click-once application (150MB, >200 DLLs) and as part of the interative debugging process I would like to update just 1 DLL and relaunch the application without having to rebuild and redeploy the entire application. Is that possible? If so... how? Question Clarification: 9/26/2009 I know that it is possible to manually patch DLLs on the client after it has downloaded the entire application and then launch the client .EXE directly from the local cache folder. That's not the point. I want to know how to change/add a DLL on the server and have all clients get the new DLL