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
0 answers

Visual Studio build not including certificate

I'm trying to prevent my built .exe from triggering the Windows 10 "SmartScreen prevented an unrecognized app from starting". Under Properties>Signing, I've created a "Test certificate" for the ClickOnce manifests (name.pfx), I'm using this…
1
vote
0 answers

ClickOnce app deployed to new location still references old location for updates

I am trying to change where my ClickOnce application is hosted. I do not care about making this a smooth transition for users who already have the application installed because it is not in production yet. I thought this would be as simple as…
1
vote
3 answers

clickonce/wpf wrong image path

I have a WPF application that is deployed via click-once. On a couple of laptops, when the application runs, it crashes at the login screen because it doesn't properly resolve the image paths for the screen. The path it thinks its looking for is…
Scot
  • 572
  • 1
  • 7
  • 27
1
vote
0 answers

How to Create ClickOnce Extension for Google Chrome

Some of our clients are adopting Google Chrome and ditching IE/Edge as the official browser. All of our application that is dependent on ClickOnce deployment and SSO login doesn't work in Chrome. The use of third party extensions is not…
1
vote
1 answer

Suggestions for updating ClickOnce custom prereq

I have a WinForms app I am deploying via ClickOnce. I added a custom prereq in the form of a .msi that installs X509 certificates. Question is, if I need to change certs due to expiration, how do I get ClickOnce to notice the difference in setup…
jonnyb
  • 352
  • 1
  • 2
  • 17
1
vote
2 answers

Find resources of Class Library from Main Project

The Problem My solution is made up of a handful of projects. The main one for the UI we'll call Assistant, and the backend we'll call AssistantLib. Here is the structure: In AssistantLib I have included PDFs as resources in a Resources folder with…
user
  • 1,261
  • 2
  • 21
  • 43
1
vote
0 answers

Cannot get CefSharp to work on user computers even though I've followed distribution instructions (as far as I know)

I have a WinForms application that I'm writing with Visual Studio 2017 using CefSharp 75.1.14. The application runs correctly on my computer, but I'm struggling to get it to work on other computers. I've tried bundling the CefSharp libraries with…
Ben Rubin
  • 6,909
  • 7
  • 35
  • 82
1
vote
1 answer

How to debug a WPF application deployed with ClickOnce?

i just finished developping a WPF application on visual studio. I want to deploy it with ClickOnce to allow other users to use this application. I tried to deploy it, so I installed the app on my computer but i can't run it. The app doesnt even…
Axel
  • 165
  • 3
  • 14
1
vote
1 answer

Own filetype: get name of calling file

I created a Visual Studio vb.net Windows Forms App and I a deploying it using ClickOnce Deployment. Then I associated an own filetype with this app: Project -> Properties -> Publish -> Options -> File Associations When I publish the App and I…
Stefan Meyer
  • 889
  • 1
  • 9
  • 19
1
vote
1 answer

ClickOnce Install button leads to text

I recently added a new webhost to which I posted a ClickOnce project. In IE9 we have a problem where if you press Install it leads you to a page of text instead of either downloading or installing the application. This does not happen on our old…
tofutim
  • 22,664
  • 20
  • 87
  • 148
1
vote
2 answers

How to make Inno Setup installer keep temporary files either after installation completes or after VSTO installer completes?

I have Inno Setup installer (written before me) which extracts a set of VSTO files and starts VSTO MS Office addin installation then. It has a problem that upon extracting VSTO files into a temp folder and launching VSTOInstaller.exe it immediately…
Alex
  • 2,469
  • 3
  • 28
  • 61
1
vote
0 answers

clickonce github commit setup.exe

Hello I used this https://developers.de/2018/02/10/clickonce-on-github/ tutorial to add my clickonce solution to github. It kinda worked like a sharm, the raw link was wrong for me but I got the right one by clicking on my ".application" file and…
Hakunama Tatarov
  • 125
  • 1
  • 14
1
vote
1 answer

VSTO solution using ClickOnce via IIS 6 fails to download manifest

I have an Office solution for Word 2007 that I publish using ClickOnce. When I publish it to a local directory, I can install the .vsto file and everything works. When I publish it to our web server, though, I cannot install it. The error I get…
System.Cats.Lol
  • 1,620
  • 1
  • 26
  • 47
1
vote
1 answer

System.Collections.Specialized.StringCollection settings work fine in Debug and Release but crash on Deployment?

For my latest WPF application, I've been using an System.Collections.Specialized.StringCollection to save and load strings. My current system works like a charm in Debug and Release, but when deployed to ClickOnce, the application crashes as soon as…
ThomasFrew
  • 11
  • 3
1
vote
3 answers

ClickOnce refusing to launch, claiming the application is unsigned

Background: ClickOnce app that is bundled with the web server of an embedded device. Customers access the web interface, like you would access your router's configuration pages, and hit a button there to launch the ClickOnce app. Problem: One…
Stevoman
  • 976
  • 9
  • 25