clickonce

Install sql express 2005 and backup database on application install

Hi I have a c# wpf application that requires SQL Express 2005 database and I want to deploy Sql Express with my application. So I googled but didn't find any valuable information how to create an installer that will 1. install Sql Express 2005 and 2. restore my backup database before my project installetion? I have tried to inst...

Mage.exe deployment problems.

I have a config file that needs changed on a per-server basis, so that once a server has our software installed on it, the config file for a client installer is set up to match that server's particular settings, and then copied to a public folder on the web for deployment. Since I'm changing the config file, I also have to rebuild the ...

build error in VS2008/.NET 3.5 on project using ClickOnce

Hi Guys In one my VS2008 solution (used with .NET 3.5), sometimes, I get the following error when I try to rebuild one of my project: error MSB3188: Assembly 'somePath/blabla.dll' must be strong signed in order to be marked as a prerequisite. Another thing to know about the project is that I use ClickOnce to publish it. as ...

Reference an exe as a .NET assembly and deploy with ClickOnce

I am trying to reference LINQPad.exe, a .NET executable, so that my code can make use of its wonderful .Dump() extension method. Adding a reference to the exe allows me to use the following code on my dev machine, but it breaks ClickOnce ("Reference in the manifest does not match the identity of the downloaded assembly LINQPad.exe."). p...

ClickOnce deployment to production

Our smart-client application is deployed using the ClickOnce. Our production site is hosted on 2 separate web servers, and they are pointed from the same domain-name (for load-balancing). Here is what we do when we push updates to the production. In VS, publish the smart-client application into a localhost directory Copy/Paste the dire...

Click Once and ActiveX

I have my "clickonce" windows form app working except for the installation of a com "ActiveX" element. The users machines have almost no permissions ie they cannot install or even navigate to a website outside one. I am a little stumped as to how include the activex control without registering or installing it. Has anyone else ran into t...

How do I publish a ClickOnce install in MSBUILD (VS2005) that goes to the proper directory and does NOT create a setup.exe?

I'm trying to automate publishing a click once application. I am using VS2005. I have been able to deploy properly from VS, but not from the command line. Here is the line I'm using: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\msbuild.exe /p:Configuration=Release /t:Publish /p:PublishUrl=C:\source\deploy\ /p:PublishDir=c:\sour...

Fresh XP +click once +cannot connect

Greetings, we have to following problem. Our application is deployed using ClickOnce. Everything is running fine and application is able to connect to the wcf service. The problem occurs when application is installed on FRESH XP machine without .net Framework and Windows Installater (that were selected in ClickOnce prerequities). Appl...

Specify the error URL for when ClickOnce deployment fails

ClickOnce security causes deployment of an application to fail if the new installation location is different from the previous one. Typically, this is the message one gets: You cannot start the application from this location because it is already installed from a different location. Click here to send this error to the ...

Install drivers (WinUSB) along with Clickonce?

Can you install a hardware driver, built using WinUSB, along with a C# application deployed using Click-once? ...

.deploy file not deploying an xml file

I'm developing an application using MS Visual C# 2008 Express that uses the ClickOnce deployment functionality. I publish the application to a a server where users can download it. Upon running the application, it throws a file not found exception - it cannot find the XML file that the application pulls data from (Instructions.xml). W...

Clickonce: setup.exe opens .application file in browser. Normal?

Hey :) I've just deployed our first ClickOnce application. Unfortunately it requires far more than one click to install our application. The user downloads the setup.exe and executs it The default browser pops up (e.g. Firefox) and the user has to download an ourapp.application file Afterwards he can start this file and after some sec...

How to set 'Publisher' in a .NET ClickOnce application

I'm publishing a .NET ClickOnce application and when the user installs it the Publisher is set as Unknown Publisher (see below). What do I need to do to change this field? Do I need a valid SSL certificate? ...

What certificate do I need for code signing?

I'm trying to sign a ClickOnce .NET Application. I have a SSL cert that I use on a website, but I'm thinking that it is not up to the job. When I select the cert in Visual Studio I get an messsage box saying 'The selected certificate is not valid for code signing. Choose another certificate file'. The cert details look like this: whe...

one-click deploy - how do I ensure the sqlite database file only gets copied if it doesn't already exist?

Hi, Background - I'm starting to use click-once deploy for a WinForms application that has a sqlite database file, which holds the blank database structure ready to go. Question - How do I set things up so that the click-once deploy (via Publish, in VS2008) will ensure that when the user downloads it will: a) If does not already ex...

Published Application in ClickOnce does not show updates

I am creating a WPF application and publishes it on the IIS. However when I am re-publishing the application since I do have code and UI changes, it doesn't show the changes on the application when I run it. Anyone encountered this before? ...

How to get folder path for ClickOnce application

I need to write a file in the same folder where a console ClickOnce .application (executable file) resides. The folder where it launches from. I tried using Application.StartupPath & Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) but the path is pointing to a subfolder under c:\Documents & Settings. How do I get the pat...

how can I call MsBuild.exe within a ClickOnce winforms app and known the correct path? (i.e. it runs on a users machine)

Hi, I want to run MSBuild on a users PC as part of a WinForms ClickOnce deployment. That is after the application is downloaded and run (via clickonce) the application needs to kick off an MsBuild to handle database updates (using MigratorDotNet). Q - How can my application robustly kick off MsBuild? i.e. how can it be sure what pat...

Clickonce Publish page suddenly disabled 'Updates' button

The 'Updates' button on the publish tab of my project has suddenly disabled. I have been doing an update every couple of weeks for more than a year, and it has been working very well. I use the 'Updates' button to change the minimum required version. I have tried running as administrator and rebooting. I don't believe any settings ...

is ClickOnce still the way to go for winform app deployment?

Hi Q1 - is ClickOnce still the way to go for winform app deployment? I've just been looking for books that cover clickonce deployment and there don't seem to be many at all out there, and the ones that are a a few years old? Thanks Additional notes re what I'm doing: an executable and one database file (sqlite) database (sqlite)...