clickonce

ClickOnce configuration deployment

I'm deploing an applicaiton using ClickOnce, the problem is that the configuration file (xxx.exe.config) is not embedded in the package and there is no option to include it. Another problem with the config is that When I'm trying to manually write it to the directory where it is delopyed (Environment.CurrentDirectory) I'm getting an exce...

How compatible is DirectX with Click Once installer Deployment?

Hi I added DirectX 9c as a prerequisite in my VS2008 publish. On running the installer it does not install directx on my m/c. The exe file only extracts the directx zipped files in the folder and starts my application. The directX does not get installed on my m/c Why is it so?? Can anybody help.. for long i am struck on this proble...

How do I publish a ClickOnce application using Microsoft.Build.BuildEngine

I have a WPF, ClickOnce application that I am trying to build using the Microsoft.Build.BuildEngine. I believe my question actually boils down to "how do I do the command line /target:publish using Microsoft.Build.BuildEngine"? I've tried the following projectToBuild.SetProperty("PublishUrl", myPublishUrl); projectToBuild.Targets.Ad...

How do I control where the output of a ClickOnce application is built (using Microsoft.Build.BuildEngine) to?

I have a ClickOnce WPF application that I am using Microsoft.Build.BuildEngine to build. Everything appears to be working correctly, but when doing a targeted build to publish the application it is putting the published output to .\bin\Release\app.publish This is despite setting the properties "PublishURL", "OutDir", "WebProjectOutputD...

How to deploy a hotfix in a ClickOnce application?

I recently discoverd that there is a bug in the dutch .Net assembly that effectively breaks NavigationWindows on dutch vista SP1 or higher. See for details this link A hotfix is available, but how can I distribute this with my ClickOnce application? I am appalled that this situation, that seems to be known since february, has not been r...

C# Clickonce FTPES

I am trying to publish a clickonce application over FTPES. Is this not possible in visual studio 2008? Using Filezilla, the url looks like this: FTPES://IISComputer and I can successfully connection. in visual studio, I go to project properties, publish, Publish Location: FTPES://IISComputer and it returns: Failed to connect to 'FTP...

Retrieve the path to files included with ClickOnce application?

I'm distributing an application via ClickOnce (runs 'online' from network'), included in the app are a couple of text files which are copied to the deployment location correctly when published. I'm attempting to refer to the path of these files programatically: Dim t As New HTMLTemplate("ReportTemplates\IncidentDetailMain.txt") Somet...

How to update just one DLL in a ClickOnce installation?

I am working on a large click-once application (150MB, >200 DLLs) and as part of the interative debugging process I would like to update just 1 DLL and relaunch the application without having to rebuild and redeploy the entire application. Is that possible? If so... how? Question Clarification: 9/26/2009 I know that it is possible to ...

VB.NET ClickOnce failure

I built my application in VB.NET and tried to use the publish feature in VS2008. I uploaded it to my webserver and cannot get the darn thing to work! No matter the client and no matter which method I choose (Publish to cd/dvd or webserver), I always get this error. I can, after some labor, get the application to run by itself, however. ...

XBAP usage and maturity issues

we're considering migrating our UI to XBAP. we've chosen XBAP despite knowing the clients must have .net pre-installed, since we're not targeting the masses but rather IT professionals in the corporate environment, and it's a way to preserve our investment (in a WPF based UI in a client-server architecture) and enjoy web deployment. how...

How do you upgrade Settings.settings when the stored data type changes?

I have an application that stores a collection of objects in the user settings, and is deployed via ClickOnce. The next version of the applications has a modified type for the objects stored. For example, the previous version's type was: public class Person { public string Name { get; set; } public int Age { get; set; } } And ...

Why does my clickonce application not generate an HTML file?

I have only made one other ClickOnce application in the past but it generated an HTML file when I published it. I am working on another one now and for some reason it doesn't generate the HTML file. The rest of the files are published fine. I can install if I use a url directly to the setup.exe or .application file but I would like to...

How to publish a ClickOnce application from an installer

Hi, I want to create an installer to put a Deployed ClickOnce application on an IIS Virtual Directory in order to have the application available for download. (In other words I want an installer that publishes my application on IIS.) What I'm planing to do is: Deploy (manually) the app on a local folder; A web installer project gets t...

.NET Click-Once and Dial-up, DSL, Cable Detection

Is there a good simple way to detect if a user is using Dial-up, DSL or Cable from a .NET Click-Once application? This is for Intranet through VPN or Extranet purposes not a public app on the Internet. ...

Adding a datafile in an optional download group for ClickOnce

From the VS UI it seems I cannot assign datafiles to a download group. If I change this to 'Include', the datafile gets installed to the app directory and not the data directory. Is this possible at all, or am I chasing fairies? Update: The reason why I need this is due to our database being 20MB while the app is only around 5mb, and...

ClickOnce: BadImageFormatException when running x86 package on 64 bit windows

My .NET 2.0 application imports unmanaged 32 bit dll. The dll is loaded (first interop call happens) when user opens a file via a dialog within the application. When I deploy the application via clickonce with target platform "Any", users on 64 bit windows get BadImageFormatException when trying to open files from the application (at th...

How-to/basic tutorial to write a ClickOnce App

I can't believe this question has not been asked before, but I could not find it so... I would like to know the basics on how to create a ClickOnce app (ie deploy via ClickOnce) Does anyone know how to do this? Is it hard? I code in Visual Studio 2008 SP1, .NET 3.5 SP1 A tutorial would be great. A link to a SIMPLE tutorial would al...

C# - ClickOnce web deployment issue, shows XML code instead of launching

I have just uploaded my published application files to my web server but I am having problems deploying them. When I open the "publish.htm" and click the "Launch" button, it opens the .application file and shows the XML code. Even manually entering the URL for the .application has the same result. I am currently using Firefox 3.5 but ...

ClickOnce, Skip asking for update (or fail lauch if skip is selected)

I update my ClickOnce app and then when the user runs they are asked if they want to install the new version: I am working in a highly controlled environment. When an update is available it has to be installed (backwards compatibility with the database is not ensured with old versions). Another option is to fail the run if skip is p...

Using CCNetLabel to set AssemblyVersion and PublishVersion with CruiseControl.NET

I am trying to deploy a Click Once application (build and publish) using CruiseControl.NET. I cannot find out where I can use the CCNetLabel to set my AssemblyVersion and/or PublishVersion. I would accept other solutions that would allow a unique version number per CruiseControl.NET deployment (Live and Development deployments). ...