我怎么做,而不是崩溃的安装程序(.NET)怎么做、安装程序、而不是、NET

2023-09-08 08:43:04 作者:夏末的温存

我的情况是

在使用.NET 3.5 使用SDL.NET 需要做出一个友好的安装程序或预警系统。

机会是用户将在XP(.NET 1.1)。如果可能的话我可以做些什么来让用户知道他需要更新到3.5?也许有一个是/否对话框,下载并安装.NET运行时给他吗?

Chances are the user will be on XP (.NET 1.1). If possible can i do something to let the user know he needs to update to 3.5? Maybe have a yes/no dialog which downloads and install the .NET runtimes for him?

现在如何检测,如果用户已经安装了SDL.NET(没准它在程序文件/ sdldotnet),并让他们知道他们需要sdl.net运行时,有一个是/否对话框,使他们的 http://sourceforge.net/projects/cs-sdl/files/

Now how do i detect if the user has sdl.net installed (chances are its in program files/sdldotnet) and let them know they need sdl.net runtime and have a yes/no dialog that brings them to http://sourceforge.net/projects/cs-sdl/files/

我的问题主要是如何让应用程序不是彻底崩溃以及如何下载3.5 .NET运行时,如果它是可能的。

The problem i have mostly is how to make the app not outright crash and how to download 3.5 .NET runtime if it is possible.

推荐答案

是不是prerequisite检查的SETUP.EXE的是被丢弃在VS安装项目的输出文件夹以及微星的目的之一文件?

Isn't prerequisite checking one of the purposes of the setup.exe that is dropped in the output folder of a VS installer project along with the msi file?

http://msdn.microsoft.com/en-us/library/ ms165429.aspx

 
精彩推荐
图片推荐