clickonce

Redemption + Clickonce = :-(

人走茶凉 提交于 2019-12-19 11:50:15
问题 I have a normal windows forms program (Not VSTO) which deploys using click once. The issue is that loads of user are having problems with random errors generally stating (from the IClassFactory failed due to the following error: 80004005). Im deploying Redemption by changing the mode to "Isolated" which appears to work for some users but not others. The users that arn't working can be fixed by manually installing the Redemption DLL. Can anyone explain how to automate the process (I really

ClickOnce Application user settings locations

空扰寡人 提交于 2019-12-19 10:22:23
问题 I am currently developing a ClickOnce application that converts CSV files for a database update. The program requires the user to have the ability to change the configuration files for a database change, and change an XML file which populates a drop-down list in the app. Now I understand that the files are kept in the user/appdata folder to ensure there have the correct privileges, but do I have any influence as to what those folders are called, or where they are saved? By default, the files

C#: Making an Installer that installs both a WPF application (ClickOnce) and a Windows Service

a 夏天 提交于 2019-12-19 09:02:01
问题 I currently have a VS Solution with 2 projects: a WPF application and a Windows Service. Now, I have managed to get ClickOnce working in installing my WPF application, but I also want a Windows Service to be installed (the one in the project) during this installation. I have found ways how to programmatically start a windows service with C# code, but is there any way to incorporate this in my ClickOnce installation (because I need ClickOnce's benefit of automatic updates and such)? 回答1: I don

WPF; click once; Double Click file to launch; VS 2008

两盒软妹~` 提交于 2019-12-19 08:53:13
问题 My application is only for me and co-workers, so I don't care if it's Click-Once or copy-the-exe. I want to be able to click a file with given extension in windows explorer and have my program launch and open that file. I can't get it to capture the file name. Ostensible solution: http://blogs.msdn.com/b/avip/archive/2008/10/27/wpf-supporting-command-line-arguments-and-file-extensions.aspx The code I'm trying is below and at this point all I'm trying to do is put the name of the clicked file

WPF; click once; Double Click file to launch; VS 2008

旧城冷巷雨未停 提交于 2019-12-19 08:53:05
问题 My application is only for me and co-workers, so I don't care if it's Click-Once or copy-the-exe. I want to be able to click a file with given extension in windows explorer and have my program launch and open that file. I can't get it to capture the file name. Ostensible solution: http://blogs.msdn.com/b/avip/archive/2008/10/27/wpf-supporting-command-line-arguments-and-file-extensions.aspx The code I'm trying is below and at this point all I'm trying to do is put the name of the clicked file

Where is the VC++ 2012 Runtime Bootstrapper package in Visual Studio 2013?

瘦欲@ 提交于 2019-12-19 08:14:44
问题 I have a .NET 4.5.2 application that's deployed via ClickOnce. It uses the Magick.NET library, which requires the Visual C++ Redistributable for Visual Studio 2012. I've tried it with the 2013 package, but it still needs the 2012 version to work. Unfortunately, the only version listed under the possible Prerequisites in Visual Studio 2013 is the 2013 version. Other version are nowhere to be found: How do I include the Visual C++ 2012 Runtime Libraries with my ClickOnce app in Visual Studio

Deploying Content file from dependent assemblies with ClickOnce

ぐ巨炮叔叔 提交于 2019-12-19 06:23:08
问题 I have a simple WinForms app that I am deploying internally using ClickOnce. The main application has a dependent assembly, that assembly has some xml template files marked as "Content" and "Copy Always" in the build properties, however they do not show up in the list of Application Files if I go into the Project Properties->Publish->Application Files dialog. Anyone know how I can deploy these Xml files that are part of a dependent assembly. @codeConcussion- Thanks, that worked great. In the

Deploying Content file from dependent assemblies with ClickOnce

白昼怎懂夜的黑 提交于 2019-12-19 06:22:06
问题 I have a simple WinForms app that I am deploying internally using ClickOnce. The main application has a dependent assembly, that assembly has some xml template files marked as "Content" and "Copy Always" in the build properties, however they do not show up in the list of Application Files if I go into the Project Properties->Publish->Application Files dialog. Anyone know how I can deploy these Xml files that are part of a dependent assembly. @codeConcussion- Thanks, that worked great. In the

ClickOnce Error: The deployment identity does not match the subscription

半世苍凉 提交于 2019-12-19 05:15:17
问题 I'm using Visual Studio 2008 SP1. I have a Windows Forms application deployed internally using ClickOnce in a shared folder on the local network. The test certificate pfx expires in 2035. I have published the update to the internal shared folder several times. Note that the project is only set to 'Sign the ClickOnce manifests' and does not sign the assembly. Now, I again publish a new version of my application. When users click on their icons to run the application we get this error (it had

Error downloading prerequisites after publishing ClickOnce application from VS 2012

自古美人都是妖i 提交于 2019-12-19 03:57:17
问题 I published a ClickOnce application from Visual Studio 2012, and selected the .NET 4.0 runtime and Microsoft Report Viewer 2012 as prerequisites. I also selected to download the prerequisites from the vendor's website. When I try to install the application on a client PC, I receive the following error: Setup has detected that the file 'C:\Users\MyUsername\AppData\Local\Temp\VSD537C.tmp\DotNetFX40\dotNetFx40_Full_setup.exe' has changed since it was initially published. The log provides no