简体   繁体   English

从 Web 部署 .NET 桌面应用程序

[英]Deploy .NET desktop application from web

I want to install my .NET application from a website, which means when user accept terms and conditions, the application start to install automatically.我想从网站安装我的 .NET 应用程序,这意味着当用户接受条款和条件时,应用程序开始自动安装。 Is that even possible?这甚至可能吗?

Visual Studio has a "Click Once" application deployment feature, I use it all the time. Visual Studio 具有“单击一次”应用程序部署功能,我一直在使用它。 It allows you to add in various other components that could be necessary for your application.它允许您添加应用程序可能需要的各种其他组件。 ie. IE。 need the sql database installed on the user's computer.需要在用户电脑上安装sql数据库。 check off a box and it's included in the click once installer.勾选一个框,它包含在点击一次安装程序中。 You can even tell it to have the program check for updates everytime it is launched to see if there is a new version.您甚至可以告诉它每次启动时让程序检查更新以查看是否有新版本。 It can auto generate the webpage and deploy it too.它可以自动生成网页并部署它。 Then your website can have the accept terms and then forward them to the necessary page, or direct download link.然后您的网站可以有接受条款,然后将它们转发到必要的页面,或直接下载链接。

In VS, open the Properties in the solution explorer, select Publish and there's various settings you can setup there...在 VS 中,在解决方案资源管理器中打开“属性”,选择“发布”,您可以在其中设置各种设置...

Most desktop applications will have an installer application that users can download, this be created via a setup project in visual studio, or alternatively I recommend this installer, its free and allows for various setup options, including terms and conditions etc as you would see in standard installers: http://www.jrsoftware.org/isinfo.php大多数桌面应用程序都有一个用户可以下载的安装程序应用程序,这是通过 Visual Studio 中的安装项目创建的,或者我推荐这个安装程序,它是免费的,并允许各种安装选项,包括条款和条件等,如您所见标准安装程序: http : //www.jrsoftware.org/isinfo.php

In addition to this, I would recommend submitting your files to the various anti-virus vendors so they can add your download to their whitelists.除此之外,我建议将您的文件提交给各种反病毒供应商,以便他们可以将您的下载添加到他们的白名单中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何从桌面应用程序填充ASP.NET网页 - How to populate an ASP.NET web page from a desktop application 是否可以将ASP.NET应用程序部署为桌面应用程序(带有服务器组件) - Is it possible to deploy an ASP.NET application as desktop application (with server component) 如何使用每个用户的自定义设置部署桌面.Net应用程序 - How to deploy a desktop .Net application with custom settings per user .Net桌面应用程序和ASP.NET Web应用程序之间的通信 - Communication between .Net Desktop Application and ASP.NET Web application 部署ASP.NET MVC 4 Web应用程序 - Deploy asp.net mvc 4 web application Web 浏览器不会打开或打开一次 - Web browser DOES NOT OPEN or OPEN FOR ONE TIME using firebase SignInWithOAuth from .net desktop application 如何从ASP.NET Web应用程序启动远程Windows桌面 - How to launch remote windows desktop from asp.net web application 使用.NET桌面应用程序中的谷歌地图 - Using google maps from a .NET desktop application 从.net桌面应用程序运行ECS任务 - Running an ECS task from .net desktop application .Net桌面应用程序和Web应用程序之间的技术区别是什么? - What are the technical difference between .Net desktop application and web applications?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM