clickonce

How to Install a COM using ClickOnce

别来无恙 提交于 2019-12-21 05:38:13
问题 I have installed my windows application that uses TeeChart ActiveX (a COM Component for charting) using ClickOnce. If I register manually TeeChart using regsvr32 teechart8.ocx, my application works fine. But I want and I need to install the application using ClickOnce. How can I do that? 回答1: ClickOnce can only copy files. So you have these options: Use Reg-Free COM as Jeff Hall suggests. This is probably the best option if you can do it. Run regsvr32 manually when your .exe file first loads

Start an offline ClickOnce Application and wait for Exit

让人想犯罪 __ 提交于 2019-12-21 04:39:22
问题 I have deployed a ClickOnce Windows Forms application (App A) Another application (App B) starts App A with a filename as parameter. I do this with this Code var basePath = Environment.GetFolderPath(Environment.SpecialFolder.Programs); var location = String.Format(@"{0}\{1}\{2}\{3}", basePath, "MyCompany", "MyProduct", "MyApp.appref-ms"); var fileName = @"c:\temp\somefile.ext"; var uri = new Uri(fileName).ToString(); Process.Start(location, uri); App A grabs the file name from AppDomain

Showing ClickOnce deployment version on WPF application

為{幸葍}努か 提交于 2019-12-21 03:39:22
问题 I'm deploying now a WPF c# project and want to put the clickonce version (rather than the assymbly or product version) on the screen title. I used to do it in Win form application with the following way. But it seems that it is not the way in WPF applications. I search on Google bu didn't find anything. Please help. if (System.Deployment.Application.ApplicationDeployment.IsNetworkDeployed) { ApplicationDeployment ad = ApplicationDeployment.CurrentDeployment; lblVer.Text = "V" + ad

msbuild/clickonce publish files generated during the build

核能气质少年 提交于 2019-12-21 02:43:28
问题 As a part of my build process I generate some files that should be included when creating a clickonce deployment. Here is a blog post of someone telling you how to include items that's not part of the project. However, as someone mentions in the comments of that blogpost, it won't update the deploymentmanifest when you do it in the "BeforePublish" task and the files won't get downloaded - it works fine if you do it in the "BeforeBuild" task though. This gives me a chicken and egg problem as I

How do you set up a file association with a click-once application?

≯℡__Kan透↙ 提交于 2019-12-20 10:55:58
问题 I have a click-once application. I have an associated file that I store the application's data in. When a user clicks on one of these files I want it to open the click-once app and load the file. I can set up the file association in the publish, the icon and name is correctly set. Clicking on the file opens the application, but the application doesn't seem to be passed the path to the file - the command arguments are empty. How do I get it so that the path to the file is passed to the

Clickonce deployment equivalent for Dotnet core applications

送分小仙女□ 提交于 2019-12-20 10:43:38
问题 We have a dotnet core console application which we want to use ClickOnce deployment. Mainly every time the user runs the application, it should check for update and update itself. This was available by default with ClickOnce deployment in dotnetframework applications. Dotnet core provides Framework Dependent Deployment & Self Contained Deployment. But in both the case, updates have to manually pushed. Please suggest how we can achieve ClickOnce deployment for dotnet core applications and if

Best Way For Update Application

爱⌒轻易说出口 提交于 2019-12-20 07:02:05
问题 I am developing a game with WPF technology. I want to add new Features to game every third days . the size of update is important for me. my game needs to internet for start. like an online game. another challenge is size of updates. the most important note : I need to update of the program does not needing stop. what is your suggestion? Does clickonce is good option? thanks for your attentions. give me guideline please. 回答1: ClickOnce deployment does incremental updates. When you deploy an

MageUI.exe is not including a compatibleFrameworks element

梦想与她 提交于 2019-12-20 02:31:43
问题 I've got a ClickOnce .NET 4 application deployed by Visual Studio 2010, via a UNC path. I open the .application file, change the startup location to use the HTTP address, sign, and close. The application then gives this error: Application manifest does not accept specification of <compatibleFrameworks>. How do I get MageUI.exe to include this needed element when I sign? This is similar to Stack Overflow question Why does Mage.exe not generate a compatibleFrameworks attribute? . I've tried

ClickOnce Not Obeying Installation Folder for Localhost

≯℡__Kan透↙ 提交于 2019-12-20 01:11:47
问题 I'm testing a ClickOnce application deployment. I have setup a virtual directory on my machine (running IIS). I have specified http://localhost/SampleApplication as the Installation Folder URL in the Publish tab of Visual Studio. However, when I publish the application I get the following error: Warning: Files could not be downloaded from http://chrish/SampleApplication/. The remote server returned an error: (407) Proxy Authentication Required. Publish success. Warning: Unable to view

How do I fix the “Prerequisite cannot be found for bootstrapping” warning in Visual Studio 2010?

旧巷老猫 提交于 2019-12-19 19:56:08
问题 I am using: Visual Studio 2010 on a x64 machine Building a Windows Application Targeting .NET Framework 4 Client Profile and x86. I am deploying with ClickOnce. I have installed the "Microsoft Windows SDK for Windows 7 (7.1)". Here is my problem: On an old project, on the project properties, Publish tab, Prerequisites... button, I open this dialog box. All the listed prerequisites have a yellow, triangular warning, stating, "Prerequisite cannot be found for bootstrapping". The effect is that