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 use ClickOnce bootstrapper prerequisites on Azure DevOps build server?

We have a ClickOnce application which we're trying to get running with CI/CD on Azure DevOps. Currently the ClickOnce Prerequisites are set to 'Download prerequisites from the same location as my application' which is the behaviour we want ideally…
tomRedox
  • 28,092
  • 24
  • 117
  • 154
1
vote
4 answers

ClickOnce Deployment, system update required Microsoft.mshtml

We have an application that works with MS Office and uses Microsoft.mshtml.dll. We use ClickOnce to deploy the application. The application deploys without issues on most machines, but sometimes we get errors saying "System Update Required,…
moza
  • 84
  • 1
  • 6
1
vote
3 answers

mage.exe manifest signing with certificate stored in AWS CloudHSM

I am attempting to sign a manifest using mage.exe with a certificate that is stored in Amazon CloudHSM. I have the Amazon CloudHSM Windows Client installed which adds the Cavium Key Storage Provider and the Cavium CNG Provider providers. I can sign…
MikeJansen
  • 3,336
  • 3
  • 26
  • 37
1
vote
1 answer

Deploy Silverlight OOB with ClickOnce (like LightSwitch)

I know the limitations of WPF clickonce deployment versus SL OOB, however, in LightSwitch apps, there is a ClickOnce Package to deploy Silverlight OOB Apps. Is it possible to get the same behavior without using LightSwitch, say custom RIA app?
rido
  • 1,202
  • 1
  • 9
  • 13
1
vote
0 answers

Prevent Visual studio to rebuild before publishing ClickOnce

Im using Visual Studio Community 2017 (15.7.2) and used to be able to obfuscate my exe before publishing it using CodeFort. Since recently this is not possible anymore. In the past, once I have built the release version of my application, I took the…
Kurt
  • 11
  • 1
1
vote
0 answers

How can I make my application check for updates at startup and then download it?

I tried this: Dim address As String = "http:/test/updateConfirm.txt" Dim client As WebClient = New WebClient() Dim updateConfirmVar As String = client.DownloadString(address) If updateConfirmVar = "available" Then But I want to do it…
Stelios Liakopoulos
  • 101
  • 1
  • 1
  • 11
1
vote
1 answer

How do I Deploy a ClickOnce application to Customer site as part of Install?

I have a ClickOnce app which ties into our software and we deploy and use internally. We want to get this to customers, but with the customer hosting the clickonce update site. As far as I can see from The Instructions, I have to sign the deployment…
Greg
  • 2,163
  • 1
  • 18
  • 40
1
vote
3 answers

I want my 2 Clickonce deployment URL's to launch the same app with different config files, but they are both launching the exact same app instead

I have a clickonce application and i want to deploy 2 versions of the same application with different config files. So the package is published from the same solution but with changed configs to different urls: Example: App1 is launched at…
alan
1
vote
1 answer

how should i include additional assemblies (COM, Dlls) etc

I have several additional COM objects, dlls, xls, xmls and some other types of files. some extra folders which should be on the same level where executable is. How can include them as part of necessary files? If I put them as data files, they go…
Muhammad Adnan
  • 1,375
  • 6
  • 19
  • 40
1
vote
1 answer

Clickonce application is already installed in another location. Please uninstall application

I'm facing some issues in the auto-updating for clickonce application. It keeps prompting this exception in the details log: System.Deployment.Application.Deployment.Exception(GroupMultipleMatch). I have tried researching around but nothing comes…
Amy
  • 21
  • 3
1
vote
0 answers

Including files generated inside PostBuildEvent into ClickOnce deployment happens in race condition and sometimes doesn't work correctly

I have a WPF project. Its .csproj file contains a - there runs a script which produces some extra files. The size of one of them is almost 20 MB, and the project itself is pretty large - it may be important to reproduce the issue. I…
N. Kudryavtsev
  • 3,556
  • 1
  • 26
  • 30
1
vote
1 answer

Manual update for signed ClickOnce app throws TrustNotGrantedException

I have a ClickOnce deployment which is signed by a certificate obtained from Symantec. The security warning prompt after starting the setup shows the publishers name. So it's trusted. But when calling…
1
vote
3 answers

Click Once deployed application on Windows XP SP2

We have WinForm application targetting .NET Framework 3.0. After installing such application using ClickOnce deployement on XP SP2 machine application cant be started. After opening such application the "Launching Application" windows appears and…
1
vote
2 answers

mshtml.dll in GAC?

Having added msHtml.dll to a project of mine, I can see the dll is taken from MS-Office tools and NOT from the GAC. Consequently, it adds over 7 Megabytes to my ClickOnce project, which is bad for downloaders. It seems I needed it in order to…
Didier Levy
  • 3,393
  • 9
  • 35
  • 57
1
vote
1 answer

What is the difference between publishing through Ms Build and Visual Studio Publish Wizard through the IDE?

I searched on the web and could not find a satisfying answer for this question below: I am currently working on ms build to publish my winform application based on the environment selected (Dev or Prod). I am using Ms Build Community Task and…
reggie
  • 13,313
  • 13
  • 41
  • 57
1 2 3
99
100