如何下载安装程序并从Windows窗体启动它 [英] How to download the installer and start it from a windows form

查看:117
本文介绍了如何下载安装程序并从Windows窗体启动它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在webserver中有一个安装包(Installshield Single Image Exe)

我想从网络服务器下载软件包,并在无人值守模式下初始化安装程序
来自windows的
表单,当用户单击按钮时..是否可能???

我是否可以获得其安装进度?



谢谢

I have a setup package in webserver (Installshield Single Image Exe)
I want to download the package from webserver and initialize the setup in unattended mode
from a windows form, when user clicks a button.. Is it possible ???
Can I get its installation progress also ??

Thanks

推荐答案

这篇文章http://www.csharp-examples.net/download-files/ [ ^ ]显示了一种下载文件的方法。下载后,你可以像以前一样在这个问题中描述执行安装程序:

在C#中执行exe文件 [ ^ ]

也许你将不得不处理执行权限等问题,但那是下一个问题。
This post here http://www.csharp-examples.net/download-files/[^] shows one method for downloading the file. Once downloaded you could execute the installer like described in this question from a while ago:
execute an exe file in C#[^]
Perhaps you will have to deal with execution permissions and alike, but that's for the next question.


这篇关于如何下载安装程序并从Windows窗体启动它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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