clickonce

Automatically update a C# Windows Forms application

喜你入骨 提交于 2019-12-31 05:05:06
问题 I want my application to automatically check for updates and update the application if needed. I installed InstallShield Limited edition, but when I went to the update section I found out that I need to install FlexNet which requires me to purchase it. I found out that Windows has stopped supporting Windows Installer which is why in Visual Studio 2013 it's not listed in the setup and deployment section. I also read about ClickOnce, but there is a small issue when I tried to deploy my

ClickOnce - Publishing folder vs. Installation folder

空扰寡人 提交于 2019-12-30 07:51:18
问题 Could someone tell me the difference between the publishing folder location and the installation folder URL? Is there any reason why these two wouldn't be the same? 回答1: You enjoyed my answer in the MSDN Forums so much, I'm posting the link to the answer here as well. ;-) If you are publishing and installing from the same URL, you can just fill in the publishing file location and be done. The reason there are two is so if you want to publish to one place, but have an installation URL that's

What is signing ClickOnce manifests for?

眉间皱痕 提交于 2019-12-30 03:39:53
问题 According to Microsoft, you must sign your ClickOnce application. But it seems to me that it works just fine when I publish it without signing it (by turning off the 'Sign the ClickOnce manifests' option). I really didn't care and kept the default values (I think I was using a test certificate) until I changed computer and started getting a message telling me that 'The application is signed with a different key than the existing application on the server', which seems will cause my users to

Where can I write my log4net log file to under ClickOnce?

允我心安 提交于 2019-12-30 03:18:48
问题 When I run my application locally it writes my log4net log to the location I've configured (i.e., <file value="${LOCALAPPDATA}\TEST\Logs\debug.log" /> ) without a problem. However, when I deploy my application via ClickOnce, the log file is not being written. I know ClickOnce applications are limited in terms of where they can write to, but I was under the impression that LOCALAPPDATA (e.g., C:\Users\me\AppData\Local) was fair game. Any ideas? 回答1: Isolated Storage. 回答2: With ClickOnce, the

How to Auto-Update Windows Mobile application

▼魔方 西西 提交于 2019-12-30 00:38:33
问题 I have a .net cf 3.5 Windows Mobile application that my client wants to have autoupdate features. Here is what I have so far: create a CAB using the Smart Device CAB Project (is this good enough, or should I be doing something else here) 2.Get the application version number Assembly.GetExecutingAssembly().GetName().Version.ToString(); Call a WCF web service for to do a version number look up. Download a new version of the cab file. ??? Execute WCELoad.exe on the CAB file Profit 回答1: Your

Buy or Build for web deployment? [closed]

廉价感情. 提交于 2019-12-29 13:31:22
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 5 years ago . I have been evaluating the wide range of installation and web deployment solutions available for Windows applications. I will just clarify here (without too much detail, these tools have been covered in other questions) my understanding of the options: NSIS - Free tool that

How can I remove all traces of a ClickOnce application from a customer's computer?

会有一股神秘感。 提交于 2019-12-29 06:20:52
问题 I have a ClickOnce application that about 120 customers are using. This week, I found out two customers declined an update in January and were stuck on an old version. I discovered this by deleting an ASP script the old versions used on our server. The customers that aren't updating get a 404 and call to ask why. One customer clicked our install button again and got the latest version no problem. The other clicked our install button and gets an "Application validation did not succeed" error.

How can I remove all traces of a ClickOnce application from a customer's computer?

纵然是瞬间 提交于 2019-12-29 06:20:23
问题 I have a ClickOnce application that about 120 customers are using. This week, I found out two customers declined an update in January and were stuck on an old version. I discovered this by deleting an ASP script the old versions used on our server. The customers that aren't updating get a 404 and call to ask why. One customer clicked our install button again and got the latest version no problem. The other clicked our install button and gets an "Application validation did not succeed" error.

How to sign a ClickOnce application

大城市里の小女人 提交于 2019-12-28 11:49:38
问题 I have a ClickOnce application that I built for a client, and I need it to be from a trusted publisher. How do I go about acquiring an Authenticode certificate and sign my application with it? So that when the application is launched, it's from a trusted publisher? How do I install the certificate? Do I have to install it on my development server or does it matter where I install it? How does the whole process work? I don't want to spend 3-5 hundred dollars on a certificate, and install

“ClickOnce does not support the request execution level 'requireAdministrator.'”

亡梦爱人 提交于 2019-12-28 08:02:22
问题 So I was writing an application that requires access to the registry. I had not touched any build settings, wanting to get the thing working before I added the other touches, such as a description or name. Out of the blue, I get an error that will not go away. ClickOnce does not support the request execution level 'requireAdministrator'. Now, I hadn't touched ClickOnce in this application. All I had done was include a manifest file requesting these permissions. My problem now is that this