clickonce

Deployment strategy for distributing application upgrades across large organization

Hi guys, We will be embarking on an Application developement project (.NET 3.5) for a large organization. As we started thinking about the upgrades we would be giving across the machines, we are looking at options like ClickOnce. What we need is a push model, as long as the client machine is connected to the network, the server can se...

WPF - XBap vs Standalone Windows App

I'm thinking through a potential WPF application and have gained a reasonable understanding of what XBAPs, how they are deployed, limited trust and so on. The application I am considering probably wiill require fuller trust than an XBAP allows by default and also use of WCF with WS bindings etc. Hence I'm leaning towards the stand alon...

Weird .NET Memory Leak in ClickOnce app that can't repro as Desktop

In Visual Studio, are there any real differences between a "Release" build of an application, and a published version of the same application? I have an ugly memory leak that's creeping up only in the published version installed via ClickOnce. The same leak does not occur in the "Release" build if I run the executable from the project/b...

Is it possible to automate a ClickOnce deployment ?

I work on a project consisting of a server and a client application deployed via ClickOnce. The client is installed the first time an user clicks a http://...file.application link, and the interaction with the user during installation are minimal (just the standard ClickOnce install/don't install dialog box). One of our client wants to...

Securing ClickOnce hosting at Amazon S3

I am hosting my ClickOnce deployment with Amazon S3. How can I secure (or restrict) only to my users (network). I was looking to see if I can restrict by IP but Amazon does not provide that with S3. Any recommendations? My users are all on a Windows domain. ...

ClickOnce Deployment for different configurations

I'm currently looking at ClickOnce deployment for our WPF application and was wondering, is it possible to set the ProductName and PublishUrl separately for each build configuration in the project file? At the moment I'm having to set these manually in the Publish options, but it could be easy for someone to forget to do this and end u...

ClickOnce app does not start through Process.Start("x.abc") with *.abc associated to ClickOnce app

I have successfully developed and deployed a ClickOnce application which registers an associated file extension, for instance *.abc. When I click on a file named x.abc or if I type x.abc from the command prompt, the ClickOnce application starts and I can retrieve the file through the dedicated API. I can also launch the application progr...

InvalidDeploymentException - Application identity is not set

I've got a WPF app that references a WPF controls library. When I try to launch (myWindow.Show()) a window that is inside the control library, I get the following exception: InvalidDeploymentException Application identity not set. The bizarre thing is that I'm not doing a click once application, so why is it complaining about this? ...

Replacement for SQL Server CE for ClickOnce applications.

I have come to the conclusion that SQL Server CE isn't a viable product. Between the versionsing issues and the impossibility of a non-administrator install it just doesn't work at my company. Off hand I'm thinking about Jet, Oracle Berkeley, and SQLite. Given that I'm using .NET with ClickOnce, what embedded database would you recommen...

ClickOnce app does not start through Process.Start(”x.abc”) with *.abc associated to app

I have successfully developed and deployed a ClickOnce application which registers an associated file extension, for instance *.abc. When I click on a file named x.abc or if I type x.abc from the command prompt, the ClickOnce application starts and I can retrieve the file through the dedicated API. I can also launch the application progr...

C# ClickOnce SingleInstance project - how ?

I want to create a program that uses ClickOnce for installation and registers a file-association, and always only starts a single instance, so that if a file of that file extension is clicked again it will be sent to the first (already opened) program. Does anybody know of a good code-example of how to do that ? Please keep in mind the...

Change Clickonce cache directory

We have been using ClickOnce deployment for some time now and all has been fine until recently. We have one of our clients that is now deleting their clients Documents and Settings directories which inturn is totally erasing our clickonce cache. From what I have seen, there is no way of setting an alternate location for this, but many ...

Documentation on System.Deployment

I have a Win Application which is publish using ClickOnce deployment (go though VS IDE). I want to develop another small application (Web) to do this deployment process without going though VS IDE. I heard about System.Deployment and Microsoft.Build.BuildEngine name spaces. But I count find good doc to solve my problem. If you have one p...

Deploying ClickOnce application to multiple servers

We're looking at using ClickOnce deployment as a means of distributing our application, however, due to problems with bandwidth, we would need to deploy the application to multiple servers on the network rather than just one. I work for a bank and am wanting to roll out a WPF client to all of our branches, but the branch network is to...

How to do coding in ClickOnce installer?

I have to create a folder by doing coding in ClickOnce installer. I need to add plugins to my application which i want to download in a separate folder. for that i need to add a folder where all my plugins will be downloaded. Whenever any new plugin is available with the main application then it'll get downloaded in this custom folder(sa...

"Store metadata "CurrentBind" is not valid" in debug of ClickOnce application

When I try to access "Application.CommonAppDataPath" i get this error message: System.Deployment: Store metadata "CurrentBind" is not valid Stack Trace: at System.Deployment.Application.ComponentStore.GetPropertyString(DefinitionAppId appId, String propName) This is only in Debug. When running as an actual published cli...

"Downgrade" ClickOnce application

What is the recommended way of offering the users of my ClickOnce application a way to downgrade to the previous version? (In case the new version doesn't work on their machine) ...

Automatize Publish of ClickOnce VS2008

Hi all, i have a solution sln, with several projects (vbproj, csproj), and I have Windows Application, and I use ClickOnce for publish it. Now, I need automatize the Publish option using msbuild or another good solution (cmd, vbs, bat scripts). Any help about it ? thanks in advanced, greetings ...

Silverlight OOB vs WPF ClickOnce

Silverlight Out of Browser technology and WPF ClickOnce on the surface have similarities. Easy and simple deployment, the ability to specify the level of trust access to the underlying host, etc. What are the key issues I need to consider when choosing one over the other? To put a finer point on it, I'll be deploying LOB apps on a corp...

Problem with msbuild, ClickOnce and PublishUrl

Hi everyone, I'm trying to make a batch file to publish the few ClickOnce application we have in one click. I'm using msbuild for that, and as an example the below command line shows how I'm doing it: msbuild MyApp.sln /t:Publish /p:Configuration=Release /p:PublishUrl="C:\Apps\" /v:normal > Log.txt when I run the above command it bui...