clickonce

ClickOnce, my app crashes Visual C# Express

I'm finishing up a C# app for work, and looking to make a ClickOnce installer. Right now, I just want to make sure the installer works and that I am able to run the exe without Visual Studio. So I set up my project to require Windows Installer and .NET 3.5 SP1, and tell it to download from a vendor (I'll be including the components lat...

Launching ClickOnce App from C#

I'd like to be able to start a ClickOnce application from another executable. I know how to do this with the browser using Process.Start("http://PathToMyApp"). However, this is returning null for the Process. Therefore, I cannot check to ensure that the process has started or kill the process later. How can I launch a click once applic...

Can a website interact with a Click Once application? (launch it, or pass parameters to it?

I have a website that will host many Windows Workflow 4 flowcharts and I'd like to allow an end user to double click a workflow and then launch the Workflow designer (installed as click once, or a regular app) from there. What is the lowest friction way to achieve this? Is a file association the only way? ...

How to specify user credentials for a click-once application?

For a regular .exe file i can always right click and select "run as..". How can i run a Click-Once application under different credentials in a similar way? I am talking about the application itself, not the installer. ...

Securing database credentials and connection in ClickOnce publish

Hello! I have connection string with sensitive information (user,password) in Application.config.xml file. Now i need to publish this application through ClickOnce. Is there a way to encrypt connection string? On other hand can this be inplemented in database? For example: user connects with access only to fuction that checks username...

OnPublish Event?

I want to trigger some code whenever I push out a new version of a Click-Once application that I'm building. Maybe an event isn't the right word, but the idea is the same. If any of you have suggestions, I'd appreciated it, thanks! ...

How to check correct Application Prerequisites?

In Visual Studio 2010 prerequisites window these are checked -Microsoft .net framework 4 (x86 and x64) -Microsoft .net framework 4 client profile (x86 and x64) -SQL server 2008 express -SQL server compact 3.5 sp2 -Windows Installer 3.1 -Windows installer 4.5 They seem repetitive (installer 3.1, compact server, client profile). How do i ...

Has .Net 4 ClickOnce made full trust XBAPs viable?

Here's my situation. I've just started a new job and I've inherited an application recently which is going to need a rewrite. I know what you're thinking but trust me,...this really IS one of those rare cases where the system I've got is beyond refactoring and almost everything has to go. The current app is a Silverlight 2.0 app with ...

Remote Debugging Class Library for ClickOnce App

I am trying to setup Remote Debugging on one of our internal systems as there is a Function in class library that keeps failing for our users but not me. I have the Folder Share to my Remote Debugger folder set up and I can attach to the process on there machine but I get the following message --> The following module was built either w...

ClickOnce problem - will not run from menu shortcut

Tried to create a ClickOnce install. Inside internal network. It runs once after Setup (automatically). Then when run from menu item it does not run. Closer examination in Task manager reveals its in there as a "process" (not application), but not visible. If you update ("publish") the app again it will run once from the menu shortcut, ...

Side By Side ClickOnce Installations

I would like to deploy a TEST version of my internal application to my testing group and I need it to install side by side with the current LIVE version. I changed everything in the Publish Options but it STILL overwrites my LIVE install. What else do I need to do? Do I have to change the Assembly Name on the Application Tab? Is tha...

Visual Studio ClickOnce Problem

I'm getting the following error when i send a finished program to a client in a ClickOnce deployment setup. Yet when i try to execute it on my PC, it runs perfectly, i also tried the same program on my laptop and no problems. Yet he has tried to execute this in 5 different PC and get's the same error on each. He also gets the followi...

How to implement clickonce using Apache on windows

I am trying out click-once on my local machine using Apache 2.2. I have added following to httpd.conf AddType application/x-ms-application .application AddType application/manifest .manifest AddType application/octet-stream .deploy AddType application/octet-stream .msp AddType application/octet-stream .msu. I have given the publishin...

PInvoke DLL That Uses Other DLLs - ClickOnce Question

I'm creating a .NET DLL that acts as a wrapper using PInvoke on an unmanaged DLL. My question is, if I'm PInvoking an unmanaged DLL that references other DLLs when using click once, which DLLs do I need to include with the deployment of a project that uses that .NET Wrapper DLL? Files involved: Project that uses click once deployment...

How can I pass URL parameters to the online-only ClickOnce-deployed application when the user clicks on the setup file?

Hi folks, I've published an online-only ClickOnce-deployed application. It is linked from a web application. As the application has pre-requisities, I will need them to click on the link to the setup file and not the direct link to the application (am I correct?). However, I will need to pass URL parameters to the application. Is th...

Generate setup.exe for ClickOnce deployment from command line using MSBuild

Hi all, I have a MSBuild script that builds my windows forms application, generates the application manifest and signs it, then generates the deployment manifest. The script also generates the publish.htm file for me. Now I need to generate the setup.exe file and so far I have not been able to figure out how VS generates it. How can I ...

ClickOnce Upgrade Fails after Converting to .NET 4

Our application is .NET 3.5 deployed via ClickOnce. We just upgrade to .NET 4.0 and updated the pre-requisities appropriately. The install still works fine for first-time users or users who install via the setup HTML page. It will automatically install the .NET 4 framework for them. However, users who already have the application insta...

Stopping caching prevents a clickonce installer from installing?

We have a WCF click-once install application being served from an IIS website over HTTPS. It is in a subdirectory of another site which does have authenticaton (Mixed mode, both windows and form) but not applied to this folder. It also has a very high duration static cache configured, which caused us issues with our WCF app so we disable...

ClickOnce applications and Windows Firewall

It appears to me that ClickOnce applications will not work smoothly with Windows Firewall. I have been successfully utilitising ClickOnce deployments for two years. This has hit a stumbling block now the enterprise has upgraded to Windows 7. Each user's configuration has changed: Windows Firewall is enabled on each user's machines ...

Can ClickOnce be configured to delete off old published directories?

Can ClickOnce be configured to delete off old published directories? Or Has anyone written some code that will delete off these publish directories (maybe keeping the last 10)? Currently, every time a ClickOnce Publish is done a new directory is being created on the IIS Server. This NEW directory contains a copy of the whole applicat...