clickonce

Losing VB.NET “My.Settings” with each new ClickOnce deployment release

放肆的年华 提交于 2019-12-19 03:43:05
问题 I am using the built-in My.Settings functionality in VB.NET to save application settings. This is very convenient but I notice that each time I release a new version, the settings are lost. Why and how can I prevent it? 回答1: You need to manually update your application settings, I use this easy method: Create a boolean setting called MustUpgrade, User scope, default to True. Then write a method to check if My.Settings requires updating, and call it's Update() method if so. Flag your settings

How to provide description of update with ClickOnce?

旧时模样 提交于 2019-12-18 23:45:13
问题 We have an app which I've coded up and for ages now I've pushed updates to it through ClickOnce. The app sits on our main file server. But every time I push out an update I get asked what I've changed! Is there any way to provide a personalised description of an update with ClickOnce which would be user-friendly? For example, when the user launches their application, ClickOnce asks "A new version is available. Would you like to update?", below which I could have a description of what I've

Is it possible to deploy a native Delphi application with ClickOnce

眉间皱痕 提交于 2019-12-18 21:16:11
问题 Is it possible to deploy a native Delphi application with ClickOnce without a stub C# exe that would be used to launch the Delphi application? The same question applies to VB6, C++ and other native Windows applications. 回答1: Personally, I build my own mechanism to kick off self update process when my application timestamp is out of sync with the server. Not too difficult, but it's not a simple task. By the way, for Delphi you can use some thirdparty help: http://www.tmssoftware.com/site

Custom action on uninstall (clickonce) - in .NET

给你一囗甜甜゛ 提交于 2019-12-18 13:11:53
问题 For a .NET application installed using ClickOnce, is there any way to run a custom action during the uninstall process. Specifically, I need to delete a few app related files (which I created on first run) and call a web service during the uninstall process. Any ideas? 回答1: There is no way to do that with ClickOnce itself, but you can create a standard Setup.exe bootstrapper that installs the ClickOnce application and which has a custom uninstall action. Note that this however this creates

ClickOnce application does not start through Process.Start(“x.abc”) with *.abc associated to the ClickOnce application

家住魔仙堡 提交于 2019-12-18 12:18:10
问题 I have successfully developed and deployed a ClickOnce application which registers an associated file extension, for instance *.abc . When I click on a file named x.abc or if I type x.abc from the command prompt, the ClickOnce application starts, and I can retrieve the file through the dedicated API. I can also launch the application programmatically with the following code: System.Diagnostics.Process.Start ("x.abc"); Everything works fine on my Windows Vista 64 bit box. However, if I try to

How to use obfuscation for ClickOnce?

那年仲夏 提交于 2019-12-18 10:54:18
问题 If one will release a ClickOnce version, how can it be obfuscated by Dotfuscator? 回答1: You can use the commercial version of Dotfuscator to automatically obfuscate a ClickOnce application by adding the deployment manifest ("foo.application") as an input to your Dotfuscator project. Dotfuscator will allow you to add any necessary exclusions to the assemblies contained in the ClickOnce application and will create updated deployment and application manifests containing the obfuscated assemblies.

Is it possible to offer a ClickOnce installer on Github?

巧了我就是萌 提交于 2019-12-18 10:36:23
问题 I'm wondering if you can create a ClickOnce installer for a project and then host the installation folder on GitHub (via the downloads page)? I guess by default ClickOnce publishes the installation files to a subfolder which I think is not supported on the Github downloads page but maybe there is another way. 回答1: Yes you can. And actually I think it's a more convenient way comparing to FTP. Make sure your Git is set to "commit as-is", so that you can avoid some signature issues. Publish your

Looking for recomendation to show release notes in ClickOnce applications

被刻印的时光 ゝ 提交于 2019-12-18 08:53:25
问题 I have a few strategies which I'm about to trial in a few scenarios and am looking for guidance on what others have had experience with and proven successful. The current strategies I have in mind are: Place a release-notes.xml file in the root of the publish location which contains formatted notes that the application can manually download when it detects a new version available. Use a FileGroup and download that group using ApplicationDeployment.DownloadFileGroup(String) which would contain

In Visual Studio 2012 where does ClickOnce “Publish” expect to find the .Net 4 client profile?

元气小坏坏 提交于 2019-12-18 08:48:35
问题 The Publish feature stopped working once I installed Visual Studio 2012. Publish cannot find the prerequisite Microsoft .Net Framework 4 Client Profile (x86 and x64). Previously in Visual Studio 2010 this worked fine. I use 64-bit Windows 7. The exact Visual Studio 2012 error message reads: Error 104 - To enable 'Download prerequisites from the same location as my application' in the Prerequisites dialog box, you must download file 'DotNetFX40Client\dotNetFx40_Client_x86_x64.exe' for item

Can ClickOnce deployed application setup be compressed?

白昼怎懂夜的黑 提交于 2019-12-18 05:00:24
问题 I publish Windows Forms application using ClickOnce. The installation is quite big considering the overall size of this app. It's something over 15 MB. If I compress locally built application it is squeezed to 2.5 MB. Can ClickOnce deployment be compressed somehow? If not, is anyone using IIS compression to speed up transfers? Would that help? 回答1: As far as I know, you can't really manually compress your assemblies. However, you absolutely can use IIS compression. From my testing with a