clickonce

click once Error: The deployment identity does not match the subscription

Hi all, I'm using Visual Studio 2008 sp1. I have an application WinForms deployed internally using ClickONce in shared folder in local network. The Test Certificate pfx expired in 2035. I h ave published the update to the internal shared folder severals times. Note that the project is only set to 'Sign the ClickOnce manifests' an...

Can the "Do you want to run this application" prompt be avoided with ClickOnce?

We would like to deploy an application via ClickOnce but you really do need to click twice. I.e. once on the link - at least one more time on the "Do you want to run this application" dialog (the first time). Can some kind of trust be created (via Group Policy or otherwise) on certain PCs so that the user never gets asked any questions....

Making ClickOnce Updates Mandatory?

Currently in an application I'm building I have it check for updates, and it gives the user the option to install or not to install the updates. I want it to just automatically install the updates no matter what. How can I make this change? ...

Publish from Visual Studio to a specific web site?

I have a C# project that I am developing with Visual Studio and am deploying with Click-Once. There's nothing fancy about that. However, I'm wondering if it's possible to include the intended deployment path within a config file or something else? I know that the last deployed URL is kept in the history of the project, but what if I wa...

ClickOnce app not starting from the scheduler

I have a batch file that will bounce a clickOnce app: @REM The odd PING statements are to create a 5 second wait @echo off taskkill /F /IM MyApp.exe PING 1.1.1.1 -n 1 -w 5000 >NUL "%USERPROFILE%\Path\To\My\App.appref-ms" This works fine when I double-click it: the process is killed and then restarted after 5 seconds. However, if I s...

ClickOnce and connectionStrings

I have a ClickOnce application that will be used by two clients (multiple users each). Application connects to MSSQL/MySQL. How can I supply them different connectionString with one ClickOnce deployment? I'd really like to keep things (as much as possible) simple on my end (and have single publish point), but how can I give them differ...

Advice on deploying CRUD WPF clients for fairly small applications

Let's say I want to create an application, fairly simple CRUD with 3-5 tables. Imagine a Todo list application for example. What is the best way to approach the data layer in WPF for this to be a click-once application. I'd rather not do it in the cloud (although if I can add an easy backup process in the background, that's a big plus)....

Identify if ClickOnce application is running in partial-trust mode (.NET)

Is there any way of identifying (at run time) if my application is running in partial-trust mode or not? I'm considering deploying two versions of my ClickOnce application - one full trust and the other partial trust and there are some things I want to do differently depending on the deployment mode (such as caching downloaded images on ...

Can't seee ClickOnce error before window closes

I have a ClickOnce cmd line app that is throwing an exception on initialise. I can't see details of the exception because the console window closes before I can see it. I have tried launching (my using the shortcut from the start menu, simply dropping it on to the console window) but it launches a separate console, writes the error to ...

ClickOnce and application data

I am trying to deploy an application using ClickOnce. The problem is, I am saving user generated files in the application's working directory. Now when the user installs the next version of the application, his old files will no longer be available to him. What is the best workaround for this problem - or does this mean I have to roll my...

Monitor user activity at Click Once deployment server

I have a C# application deployed using Click Once. How can I retrieve some measures of activity at the Click Once server. The app checks for updates each time it is restarted. Relatively small audience--less than 50 users. Ideally want to develop a user list. ...

Any idea about DependentPlatformMissingException Microsoft.Vbe.Interop.Forms Version 11.0.0.0

Hi I am running into a strange issue. I am developing a Outlook 2007 addin using Visual Studio 2010 with VSTO 3.0 and deployed using ClickOnce. I would like to check if there are any updates and if so prompt the user to restart outlook. However if I call ApplicationDeployment.CheckForDetailedUpdate or ApplicationDeployment.CheckForUp...

How can we retreive query string information in a ClickOnce Application?

Hi folks, I made a .NET Windows Forms application that I want to deploy using ClickOnce. However, I will need the application to retrieve the query string parameters passed to it. I found this MSDN article and followed its directions (select the check box labeled Allow URL parameters to be passed to application), but it doesn't appear ...

how do I mark a file as a data file in a visual studio 2010 vsto clickonce application?

I'm making a Word 2007 add-in with C# 4.0 in Visual Studio 2010. I need an Access 2007 database (a .accdb file) to be placed in the data directory by the clickonce installer. Unfortunately, the file is getting put elsewhere, so the application can't find it at runtime. I've seen various articles refer to using the Application Files dialo...

ClickOnce with a Proxy server (Corporate Firewall), significant delays in checking after .application loaded

Sometimes, when i click on my app link, it takes about 30 seconds before the app starts loading, while it's in the verifying stage. Other times, with the same install, one which i have loaded and used many times, it takes no time at all. Why? What can i change about the deployment to stop this? Please note that i have no admin access...

DependentPlatformMissingException Microsoft.Vbe.Interop.Forms Version 11.0.0.0

I am running into a strange issue. I am developing a Outlook 2007 addin using Visual Studio 2010 with VSTO 3.0 and deployed using ClickOnce. I would like to check if there are any updates and if so prompt the user to restart outlook. However if I call ApplicationDeployment.CheckForDetailedUpdate or ApplicationDeployment.CheckForUpdat...

Automatically Install: Self-Signing ClickOnce Manifests with Cert > Need App to Install Root CA in Trusted Root Certs on Client PC

ClickOnce is suppose to use a signing cert for distribution. If I was developing a major app, I could understand purchasing a cert. However, my app is for a small sized company and I cannot justify the expensive. My question is, when my app first installs, how might I install my self signed Root CA into Trusted Root Certificates automat...

What are the limitations on the version of a ClickOnce deployed application?

I released an update early this morning and my versioning was previously like this: Major.Minor.Fix.Date So last week would have been something like 3.6.3.62810 which was fine. Today I deployed something like 3.6.4.70510 and, to my surprise, after I deployed, no-one could update the application. Considering that I also made it the min ...

Passing parameters to .NET ClickOnce-deployed application from Flex without URL being visible

Hi folks, I'm passing parameters to a .NET ClickOnce-deployed application via the URL from a Flex application. This is done by simply redirecting the user to http://myDomain/myApplication.application?a=1. I would like the URL to not be visible in the browser that links to the application. From what I understand, ClickOnce does not wor...

Persistence on an online click once application

Hi, Is there a way to persist an string from an online click once application. I saw something about isolated file storage as answers to other questions. But none of them specify if it works also for online apps (I really don't think so). I think that something like a cookie will work. Is there something like that available? The appli...