clickonce

ClickOnce and application settings

I have a ClickOnce deployed Windows Forms application that uses application settings for two key features: the database the user connects and whether they use replication services or connect to the main server. Those settings were changed for some, but not all, users after they installed the most recent update. What can cause applicatio...

Best way to maintain an autocomplete/suggest list across sessions

Hi, I would like to maintain a list of all of the strings entered into a ComboBox across all uses of an application on a given PC, for use as the AutoCompleteSource for that ComboBox, i.e., I enter in "Fred" in the ComboBox, commit the data, close the application, reopen the application, reopen the ComboBox, type "F", receive the suggest...

Self Sign Certificate To Authenticode Certificate?

We deployed a windows application via ClickOnce and a self signer certificate that we created. We are now looking in to getting a Authenticode Certificate from a Certificate Authority like VeriSign. When we start signing our ClickOnce manifests with the new certificate, will our users have to re-install the application? Are there any k...

ClickOnce and UserSettings

Ok, I have a ClickOnce app that I'm testing and I ask the user for a couple of pieces of information the first time they use load the app; Customer Id and Name. I then set the Properties so that they'll be saved across sessions. The property is Properties.Settings.Default["Customer ID"] and similar for name. So I uninstall the applicati...

Testing ClickOnce Applications

What method would you use for testing a new version of a ClickOnce application (side by side with the current version) amongst multiple users? Are there any best practices (especially as the applications depend on different servers for the live/test versions of SQL / web services etc). We use internal DNS to set up http://application.ou...

Application.Restart Not Working In ClickOnce Deployed Application

I pulled the code straight from MSDN: http://msdn.microsoft.com/en-us/library/ms404263.aspx This updates my application, but Restart() does not work. The application shuts down, but does not restart. I added a MenuItem to my Form to validate that Restart() works at all: private void restartToolStripMenuItem_Click(object sender, Even...

How to eliminate IIS/ASP.NET double handshake?

I have a .NET 2.0 ClickOnce application that runs in a corporate environment and it's setup to work via Windows Authentication. So the users download the app via ClickOnce and then it connects to an IIS server and communicates via Web Service calls. The problem is that for every single call there is a double handshake. The first cal...

restarting a single instance application

Is there any way of restarting a single instance application, which is deployed via clickonce? ...

How to publish a beta version of a ClickOnce application?

I want to publish a beta version of my application every time it builds, so users can access the "beta" version and test features out before a general release. I tried doing this by overriding the ProductName while running it to [product]-beta. The problem is the Publish process still creates a [product].application and it seems that t...

Where can I write my log4net log file to under ClickOnce?

When I run my application locally it writes my log4net log to the location I've configured (i.e., <file value="${LOCALAPPDATA}\TEST\Logs\debug.log" />) without a problem. However, when I deploy my application via ClickOnce, the log file is not being written. I know ClickOnce applications are limited in terms of where they can write t...

How to Auto-Update Windows Mobile application

I have a .net cf 3.5 Windows Mobile application that my client wants to have autoupdate features. Here is what I have so far: create a CAB using the Smart Device CAB Project (is this good enough, or should I be doing something else here) 2.Get the application version number Assembly.GetExecutingAssembly().GetName().Version.ToString...

ClickOnce deployment error on upgraded .NET application

I have a Windows forms application was developed in Visual Studio 2005 and deployed to an IIS server via ClickOnce. I've upgraded to VS2008 so I decided to upgrade and redeploy the application (in test). I ran the upgrade wizard, manually changed the project's target runtime to 3.5, removed all of the old publish files from the deploymen...

ClickOnce application that uses PostSharp 1.0 seems to require 1.5 assemblies in GAC

I have installed PostSharp 1.5 on a machine that had 1.0 previously. Now, my application which links to 1.0SP1 assemblies has for some reason started requesting for 1.5 assemblies to be in the GAC on the client side. Does anyone know why this is? (I've asked on the PostSharp forum but received no reply.) ...

C#: Making an Installer that installs both a WPF application (ClickOnce) and a Windows Service

I currently have a VS Solution with 2 projects: a WPF application and a Windows Service. Now, I have managed to get ClickOnce working in installing my WPF application, but I also want a Windows Service to be installed (the one in the project) during this installation. I have found ways how to programmatically start a windows service ...

Starting "Click-Once" published application keeps trying to install .NET Framework

The following dialog window keeps popping on my computrer when starting "Click-Once" published application from Internet URL: [Microsoft .NET Framework Setup] - Would you like to download and install the Microsoft .NET Framework? The content you are trying to access requires the Microsoft .NET Framework. Would you like to ...

Options to Protect Clickonce from URL hijacking

What are mechanisms to protect the manifest url created to launch the ClickOnce application (online only). e.g. http://www.myworld.com/myapp/OnlineClkOns.application?param1=4579087786575 Option i have to generate this URL on the fly and also have a check within the application to ensure not more than one instance of the application is ru...

ClickOnce application not remembering settings when automatically starting with Windows

I have an application that is deployed with ClickOnce, and has an option to automatically start with Windows. However, when I restart Windows, my application starts successfully, but is not able to find the settings (I'm just using the built-in Settings functionality). However, if I close the auto-started app and restart it with the ic...

Clickonce certificate expired - not signing manifest almost solved it ...

I have a distributed app using ClickOnce. I went to do an update and got an error about the certificate expiring. I noticed on the signing tab that I could uncheck signing the ClickOnce manifests. I did this and successfully published my app. Worked fine for the first 7 users - but just had a user that is getting the dreaded: Manif...

Creating unsigned ClickOnce deployments with MageUI

With .Net 3.5 SP1 it is no longer required to sign ClickOnce manifest files. We've incorporated MageUI into our deployment process and would like to deploy some unsigned applications. Mage will let me create an unsigned application manifest. However, it will not let me point the deployment manifest to the unsigned application manifest...

ClickOnce download fails unless end user has VS2008

I'm still working on the problem described here, trying to get ClickOnce to work from Visual Studio 2008. I originally assumed the problem was related to the fact that the application I was deploying was upgraded from 2005. But that's not the case. I created a new VS2008 application and deployed it with the same result. I've tried (I th...