创建安装程序包的Visual Studio 2010

编程入门 行业动态 更新时间:2024-10-24 15:23:27
本文介绍了创建安装程序包的Visual Studio 2010的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有一个C#应用程序需要以运行.NET版本4。我知道如何使用随Visual Studio中的Visual Stuido安装程序安装项目创建一个基本的安装程序和安装我的应用程序正常,但是,我不能让它来检查.NET版本4已安装在客户机和如果不安装它。有没有人有什么建议?我应该使用,除了这种方法采用不同的方法?代购的InstallShield许可证是不是一种选择,因为这是太昂贵了。谢谢

I have a C# application that requires version 4 in order to run. I know how to create a basic installer using the Visual Stuido Installer Setup Project that comes with Visual Studio and that installs my application fine, however, I can't get it to check if version 4 is already installed in the client machine and if not install it. Does anyone have any suggestions? Should I use a different approach besides this method? Purchasing a license for InstallShield is not an option as that is too expensive. Thanks

推荐答案

您应该遵循的 MSDN上的这个指南。它会告诉你什么是你需要知道如何创建一个安装程序来检查.NET 4。

You should follow this guide on MSDN. It should tell you what you need to know about creating an installer to check for .NET 4.

长期和短期的是,如果你把它设置为prerequisite,安装程序将检查它是否安装。

The long and short of it is, if you set it as a prerequisite, the installer will check that it is installed.

更多推荐

创建安装程序包的Visual Studio 2010

本文发布于:2023-11-16 11:12:51,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1603762.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:程序包   Visual   Studio

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!