Windows自动软件更新 [英] windows automatic software updates

查看:179
本文介绍了Windows自动软件更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是处理Windows窗体项目自动基于Web的软件更新,一些好的解决方案?我知道微软一击,但我不能在这个时候感兴趣。

What are some good solutions for handling automatic web based software updates for windows forms projects? I am aware of microsoft one-click, but am not interested in it at this time.

推荐答案

ClickOnce是好俗套的东西,但围绕安全一些限制(即不能创建一个桌面图标,以COM进不去,等)

ClickOnce is good for cookie cutter stuff, but has some limitations around security (i.e. can't create a desktop icon, no access to COM, etc)

假设你正在使用MSI安装应用程序。使用WIX( http://wix.sourceforge.net/ )来创建一个补丁程序(.msp)。你会想看看最低特权用户帐户(LUA)修补Vista的,如果你不这样做UAC会搞砸你。

Assuming you are using MSI to install your application. Use WIX (http://wix.sourceforge.net/) to create a patch (.msp). You will want to look into Least Privileged User Account (LUA) Patching for Vista as UAC will screw you if you don't.

那么你的应用程序执行如下:

Then your application does the follows:

  1. 在通过HTTP检查新版本
  2. 下载MSP(注意,你DL它在Vista中,因为UAC的)
  3. 启动沉exe文件的
  4. 在等待您的应用程序,以关闭
  5. 启动MSP(在非交互模式)
  6. 重新启动你的应用程序

这都可以自动在后台发生一起在XP和Vista。

This can all happen automatically behind the scenes with zero user interaction on both XP and Vista.

有一个良好的开端这一点,并与维克斯一般是:

A good place to start with this, and with WIX in general is:

http://www.tramontana.co.hu/wix/index.php (第4课上更新)

这篇关于Windows自动软件更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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