如何使应用程序在线安装 [英] How to make an application to install it online

查看:98
本文介绍了如何使应用程序在线安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我制作了一个用户安装在本地计算机上的桌面应用程序。这个应用程序有不同的版本。我希望用户可以安装任何服务器上可用的最新版本。

如果用户安装任何较低版本,应该有一条消息让他安装最新版本(如果在远程服务器上可用) )如果用户接受应用程序应连接到服务器并下载最新版本并将其安装在用户的计算机上。

我不知道如何执行此操作。任何人都可以帮助/指导我。



提前谢谢

Hi,
I have made a desktop application which user installs in its local machine. There are different versions of this application. I want that the user can install the latest version which is available at any server.
If user installs any lower version there should be a message for him to install the latest version(if available on the remote server) and if the user accept that the application should connect to the server and download the latest version and install it in the user's machine.
I am not sure how to do this. Can anyone please help/guide me.

Thanks in advance

推荐答案

有不同的方法,但是,正如问题(MFC)建议这是Windows应用程序,您可以使用Windows Installer和MSI,您可以在线发布的文件。

这些天,我强烈建议开源Wix工具包:

http://en.wikipedia.org/wiki/WiX [< a href =http://en.wikipedia.org/wiki/WiXtarget =_ blanktitle =New Window> ^ ],

http://wixtoolset.org/ [ ^ ]。



实际上,这个产品比安装项目文件更合法,因为它完全符合MSBuild项目文件标准并且更好Visual Studio集成。请参阅我过去的回答:

installshield and Visual Studio 2012 [ ^ ],

如何根据处理器架构类型有条件地安装组件( 32位或64位)? [ ^ ],

如何根据处理器架构类型有条件地安装组件(32 -bit或64-bit)? [ ^ ],

自定义安装项目 [ ^ ]。



-SA
There are different approaches to that, but, as the question (MFC) suggests this is the Windows application, you can use Windows Installer and MSI, the files you can publish on-line.
These days, I strongly advise open-source Wix toolkit:
http://en.wikipedia.org/wiki/WiX[^],
http://wixtoolset.org/[^].

Actually, this product is more "legitimate" than the Setup project file, because it is perfectly complies with MSBuild project file standard and has better Visual Studio integration. Please see also my past answer:
installshield and Visual Studio 2012[^],
How to conditionally install components based on processor architecture type (32-bit or 64-bit)?[^],
How to conditionally install components based on processor architecture type (32-bit or 64-bit)?[^],
Custom setup project[^].

—SA


这篇关于如何使应用程序在线安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆