clickonce

Are there any caveats to using ClickOnce in VS 2010 to deploy "real" applications?

It always seemed to me that ClickOnce was a handy way to deploy .NET applications in an intranet environment. I was thinking of using it as the deployment method for a desktop application that's distributed over the internet to general users. (The alternative would be a regular installation package.) Does anyone have experience with t...

Visual Studio References: Specific Version setting question

I have a Winform App that we uses internally that I publish through ClickOnce with SQL Express 2005. The app also references a couple of Microsoft.SqlServer dll's. I am trying to figure out how the Specific Version settings work. I have SQL 2008 installed on my machine they have 2005. If I select Specific Version = false will it ca...

Is there a way to add keywords to the start menu shortcut a ClickOnce deploy creates?

We deploy a Winforms app with a name like "Its Our App". People refer to it as IOA. I'd like to keep the full name for the shortcut but have watched many users hit the Windows key on their keyboard, type IOA, and state in wonder, "Where's It's Our App"?. Is there a way to add IOA as a keyword for the shortcut, without adding it to the ...

Deployment question - ClickOnce vs other methods - Need to periodically check for new images but there won't be a new version of the application

We have a system where we need to install this on 80+ client machines. We thought that ClickOnce might be a good option, but we are hoping to have a 'drop folder' where our Creative team can drop new images for the application. Once they do this, they can also update a config file that points to the images. Each of these changes shoul...

Unable to publish using Clickonce [disconnected from network error]

The error details are: Error 1 Failed to connect to 'ftp://www.xyz.com/xyz_Publish/' with the following error: Unable to create the Web 'ftp://www.xyz.com/xyz_Publish/'. The computer is disconnected from the network 1 1 xyz.PresentationLayer It doesent matter what credentials(correct or incorrect), its is giv...

Bundling only part of the prerequisites with ClickOnce

Is it possible to configure the ClickOnce installation so that it requires .Net Framework and VSTO but includes only the VSTO binaries and downloads .Net Framework if necessary? Including the VSTO in the package isn't too much of a problem but the 350MB .Net Framework is something I'd do away with if possible. (Dynamics CRM SDK depends ...

Customize ClickOnce Insatller

Hi, I have created a plugin for excel using excel template in .net 2008. And i am packaging it using the clickOnce installer. My plugin is dependent on a external script, which i need to run once explicitly just like the installer. Is there some way by which i can add a step in installer to call this script? So that the user just needs...

How to publish a certificate from a pfx file

Note: My situation has slightly changed, so I removed all my previous edits and added a new paragraph. However the basic question listed below is still accurate. I am trying to publish my ClickOnce VSTO application and have generated a certificate to sign the manifest. The problem is that on the target computer, of course the certificat...

Is anyone using ClickOnce technology to distribute application in production

I was trying to use ClickOnce installation 2 years ago and was having problem with: application was not able to start due to errors limited access to the file system Then later on I have seen that google Chrome was using ClickOnce to get installation package locally and then start real installation Is it possible to have with ClickO...

Unable to get namespace System.Deployment.Application

I am trying to get this: System.Deployment.Application.ApplicationDeployment.CurrentDeployment.IsFirstRun But the application namespace is not there. I just see System.Deployment.Internal. The object browser, however, shows me all the properties and methods of that namespace, but my app can't see it. What am I missing? ...

WinForm Application Restart?

I have an application that runs on my computer and the computers of my colleagues at work. I sometimes push out updates for this application and want the application to detect this automatically (perhaps via database) and shut down and re-open to install the new updates. I know how I can close an application, but don't know how I can ...

Is there a way to parse a application manifest?

I am looking for a way to have the hosting website parse out the [appname].manifest file to pull out the application name, version, and icon if available. This way I can put it into a control for easy deployment. Are there any framework calls that will assist me in parsing out the manifest file? The files I am looking for are [appname]....

ClickOnce updates all files. Why?

I've got small wpf application deployed using ClickOnce technology. The problem is that when I build new version clients download all files, though many of these files have not been changed. I use following configuration to make deployment manifest <GenerateDeploymentManifest AssemblyName="MyApp.exe.application" AssemblyVersion="1.0.0...

How can I get a ClickOnce app to only download an assembly when it's required?

Is there any way to create a clickonce deployment where certain assemblies or files in the manifest can be designated as not needing to be downloaded unless the user performs some action in the application that requires them? Currently, we have a fairly monolithic ClickOnce application and are researching ways to refactor it into separa...

ClickOnce Manifest and Deployment Issue

Some users (but not all) are getting an error when they attempt to install a ClickOnce application from a particular web server. This is the error they are getting: PLATFORM VERSION INFO Windows : 5.1.2600.196608 (Win32NT) Common Language Runtime : 2.0.50727.3615 System.Deployment.dll : 2.0.50727.3053 (netfxsp.050727-...

Security of ClickOnce application

I have an application (exe) that uses some strongly named dll's. If I understand that correctly, nobody can replace the dll's with their own, prepared versions, because they will not be signed. Nobody can replace the exe too, because it's secured by signing the manifest. But what if somebody prepares their own exe and changes the signat...

Issue with clickonce bootstrapper and msbuild

I have a CruiseControl .NET build server running on Windows Server 2003, and I am trying to build and publish my ClickOnce application using msbuild. Everything is working fine, except when I enable the bootstrapper of my ClickOnce application. When this happens, I get the following error in the DeploymentGenerateBootstrapper target: C...

ClickOnce PublishUrl not working using MSBuild Task

I have a CruiseControl .NET build server running on Windows Server 2003, and I am trying to build and publish my Wpf (3.5) ClickOnce application using msbuild 4. The task in my build script is as follows: <MSBuild Projects="src\TestProject\TestProject.csproj" Targets="publish" Propertie...

.Net Framework required for ClickOnce type installers

Hi, Could you kindly advise if we need to have .NetFrameWork Installed on Client's computer, if we make setup by using ClickOnce technology? Thanks ...

Updating local SQL Server databases with ClickOnce Deployment

I'm building an application which will use some settings and a local SQL Server. My question is, when it comes time to update the application; will the settings or data be overwritten? What happens if I want to change some tables around in the future? ...