Questions tagged [clickonce]

ClickOnce is a Microsoft technology that simplifies deployment of applications by publishing to a website, where the user can install it by clicking a link on a page of that website. After the initial set-up, the developer can update the application with 'one click'.

From msdn

ClickOnce is a deployment technology that enables you to create self-updating Windows-based applications that can be installed and run with minimal user interaction. Visual Studio provides full support for publishing and updating applications deployed with ClickOnce technology if you have developed your projects with Visual Basic and Visual C#. For information about deploying Visual C++ applications, see ClickOnce Deployment for Visual C++ Applications.

ClickOnce deployment overcomes three major issues in deployment:

  • Difficulties in updating applications. With Microsoft Windows Installer deployment, whenever an application is updated, the user can install an update, an msp file, and apply it to the installed product; with ClickOnce deployment, you can provide updates automatically. Only those parts of the application that have changed are downloaded, and then the full, updated application is reinstalled from a new side-by-side folder.

  • Impact to the user's computer. With Windows Installer deployment, applications often rely on shared components, with the potential for versioning conflicts; with ClickOnce deployment, each application is self-contained and cannot interfere with other applications.

  • Security permissions. Windows Installer deployment requires administrative permissions and allows only limited user installation; ClickOnce deployment enables non-administrative users to install and grants only those Code Access Security permissions necessary for the application.

3364 questions
1
vote
1 answer

how to build a patch for existing installer

I build an installer, and it is deployed. I need build a patch to upgrade old files with new files. Please help me. Please help me how to do it. I am using Visual Studio 2010 Ultimate. Thanks.
Leo Vo
  • 9,980
  • 9
  • 56
  • 78
1
vote
1 answer

Is "Click Once" supported for .Net Core WPF?

What is the correct pattern/ what packages to use for WPF click once deployment in .net core 3.0( earlier versions are okay too)? I am currently migrating a WPF app from netframework 4.8 to .net core 3.0. I have been using click once deployment in…
1
vote
1 answer

Help me to create an action to reg a DLL

HI all, In setup, I add a DLL MetaLib.DLL in Application Folder. Please help me how to create an action which will call command "regsvr32.exe MetaLib.DLL" when installing (after copying application file to folder). When removing, command…
Leo Vo
  • 9,980
  • 9
  • 56
  • 78
1
vote
1 answer

Cannot start ClickOnce application from Microsoft Edge Beta (Chromium version) on one computer

I downloaded the insider version of Microsoft Edge (Version 79.0.309.25). Enabled ClickOnce: edge://flags/#edge-click-once Tried to start ClickOnce Application from a browser. This has worked as expected on 4 computers now, but not my own…
micnil
  • 4,705
  • 2
  • 28
  • 39
1
vote
1 answer

Check from web page if ClickOnce app is installed, without user interaction

I'm working on the UX for a web application with a desktop component to interact with files. The app presents the user with a 3-step process (3 buttons), the second button is 'Install app'. In case the user has already installed the ClickOnce app…
Rolf W.
  • 1,379
  • 1
  • 15
  • 25
1
vote
1 answer

Simple HTTP GET leads to "An existing connection was forcibly closed by the remote host" but only in WPF with ClickOnce?

I'm trying to find an explanation for a very strange behaviour. The pice of code is quite simple: // A simple HTTP GET call with RestSharp. var url = "https://sandbox.tradier.com/v1/markets/quotes?symbols=MSFT"; var bearerToken =…
Ash
  • 3,283
  • 6
  • 16
  • 20
1
vote
0 answers

Updating ClickOnce app with new certificate makes Windows think this is a different app

Similar posts that I've already seen but don't really address my issue: ClickOnce certificate renew deploy - User gets an error that I don't get. How can I renew my expired ClickOnce certificate? - I can't renew my cert since its not a test…
Juan
  • 15,274
  • 23
  • 105
  • 187
1
vote
1 answer

Error when launching WPF clickonce application from network share

We have a WPF application published to a network share using clickonce. The application is only available online. After windows update KB4515842 on the client computers we started experiencing problems as described below. No changes has been made to…
henha
  • 19
  • 3
1
vote
3 answers

ClickOnce does not unregister/re-register VSTO solutions when running from Windows 10

Release an HelloWorld add-in for Ms Word. Sign and publish via ClickOnce, with the installation folder being set to an online directory. Routine to follow Run the add-in setup.exe to install via ClickOnce. Assert the add-in has been registered in…
Ama
  • 1,373
  • 10
  • 24
1
vote
1 answer

Is there any way to reduce DLL clutter in my ClickOnce app?

My problem is that DLLs needed by my ClickOnce app are cluttering my project folder and I would like to move them to a bin folder but don't know a simple way to do so and still get the files to distribute. To explain: I'm distributing a C# app with…
Matthew Lowe
  • 1,350
  • 1
  • 17
  • 29
1
vote
1 answer

c# ClickOnce , notify app of the updates

HI, Currently application is requesting for the update using CheckForUpdateAsync(), Now we want the application to stay quite and let the update notify the application if any update is available. Then we retrieve the updates in a background thread…
talalanwar
  • 11
  • 1
1
vote
1 answer

Clickonce for multiple computers

I used ClickOnce for sometime. It works perfectly. However, i am now having problem when i want to publish it to multiple computers from 1 same source. The connection string which i wrote at the App.COnfig is pointing to the specific computer name.…
VeecoTech
  • 2,073
  • 8
  • 37
  • 49
1
vote
1 answer

Clickonce Deployment Size Ballooned After Adding NuGet Package

I'm doing some work on one of my Winforms applications that was created in VS2017. I'm doing the new work in VS2019. The application contains the Winforms report viewer control which wasn't working properly in VS2019 so I followed the advice given…
beeker
  • 780
  • 4
  • 17
1
vote
0 answers

WPF ClickOnce Installer does not contain unmanaged dlls from nuget package

I have built and published a nuget package from a netStandard2.0 project containing unmanaged runtime specific dlls. I did this by adding following ItemGroup to my csproj file.
Quergo
  • 888
  • 1
  • 8
  • 21
1
vote
0 answers

Include third part installation during ClickOnce installation

Is there possible to include a third party installer with an application published as a ClickOnce? If so, how? I have an application written in C# and the application is published as a ClickOnce application. The application requires a…
Mc_Topaz
  • 567
  • 1
  • 6
  • 21