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

ClickOnce application settings best practice?

I'm using ClickOnce and have some local settings to store. My problem is I would like them to be removed on uninstall which as I understand it rules out the registry? So I can save them into a file but am not sure where to save it to so that it will…
Sid
  • 355
  • 1
  • 5
  • 11
1
vote
0 answers

deploying clickonce application to wordpress site

We have created a winform application which we would like to deploy to our website which is created in wordpress (bluehost),i know how to deploy to website using publish wizard but where should i deploy is my…
sam
  • 345
  • 2
  • 4
  • 18
1
vote
1 answer

How do get the publisher name to display in the ClickOnce installer dialog box

In Visual Studio 2015, how can I get the ClickOnce installer dialog box to display the name of the publisher as indicated in the image? I tried entering the name into Project Properties -> Publish -> Options -> Description -> Publisher Name, but…
Hypersapien
  • 617
  • 2
  • 8
  • 23
1
vote
1 answer

Error using Windows Driver Kit DriverPackagePreinstall

I am trying to preinstall an .inf driver after my windows program loads and was using this question as an example. I am writing in VB.Net while the original question was done in C# so it might be something I lost in translation but here's what I…
TKTS
  • 1,261
  • 1
  • 11
  • 17
1
vote
0 answers

Cannot deploy application - Value does not fall within the expected range

I am trying to deploy an early version application I made but I get this stack trace when I install it. Can anyone suggest anything? I looked around the assembly in Visual Studio but couldn't find the right setting. I doubt it is that much to do…
1
vote
1 answer

How to add authentication in Click-once Application Deployment

I tried to deploy the WPF application in click once deployment.It will check the network location for updates.Is there any possibility to make the network location as trusted location or how can I add a authentication for this.
1
vote
1 answer

Manage who connects to a ClickOnce Application

I've published a WPF application with ClickOnce with internet connection required. Is there any way to control who can connect to the application? Let's say the app needs a subscription system to be used, and if the client doesn't pay, the…
Albert Alonso
  • 656
  • 1
  • 6
  • 21
1
vote
0 answers

Cannot download the application. The application is missing the required files

Using Visual Studio ClickOnce for publishing an app. I have a NAS that the app is published to. The folder has read only permission for everybody. We are getting the following error: PLATFORM VERSION INFO Windows : 10.0.17134.0…
Eric Snyder
  • 1,816
  • 3
  • 22
  • 46
1
vote
1 answer

Trouble with updating my application through ClickOnce

I am currently developing an app for my work which will simplify the workflow in our daily tasks and it will be used from all of my colleagues and this is why I want it to be able to update quite often and I figured that the ClickOnce approach will…
1
vote
1 answer

Hosting ClickOnce in Azure Blob storage and using custom domain

I am using Clickonce for deploying my WPF application and this is being done in Azure Blob storage. Since this is a custom URL it won't be white listed in many of the client machines and hence I mapped a custom domain for the same. I was able to…
1
vote
1 answer

ClickOnce deploy starts splash then quits

I have done a deployment on my WPF App using ClickOnce deployment. ALl worked on my computer but if I sent the app to some people that just want to see and test the program, the app won't work. If they run setup.exe the splash screen opens, then…
Rok Potočnik
  • 137
  • 13
1
vote
1 answer

The ClickOnce dilemma: Code Identity versus Security - What to do?

We have quite some room for improvement in our application lifecycle management. We don't use TFS or any other suite (shame on us, I know). Anyway, one of the aspects we currently ponder about is code identity. In other words: Auditors ask us how…
Sebastian Edelmeier
  • 4,095
  • 3
  • 39
  • 60
1
vote
2 answers

The best way of caching data in a ClickOnce/WCF application?

I've got a SaaS application which is being deployed to clients as a ClickOnce app, where the client connects to my cloud server via a WCF NetTcp connection. The data is all stored on the server, but the client needs to be able to see his data. It's…
Shaul Behr
  • 36,951
  • 69
  • 249
  • 387
1
vote
1 answer

I want to change the db server on application manifest file

I have a ClickOnce (Windows) application that is connected to a SQL Server database. This db resides on a remote machine. Recently, I have migrated the database to a new machine. I want the application to point to this new machine. I try to change…
1
vote
2 answers

Defining prerequisites on a clickonce application using mage tool

When publishing a Clickonce application though visual studio, there's a button "Prerequisites..." where you can choose the application prerequisites. As far as I understand, the publish action creates a Setup.exe that verifies if the prerequistes…
dcarneiro
  • 7,060
  • 11
  • 51
  • 74
1 2 3
99
100