如何制作“Setup.exe”在Vb.Net [英] How Do I Make A "Setup.exe" In Vb.Net

查看:96
本文介绍了如何制作“Setup.exe”在Vb.Net的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要为vb.net项目制作一个安装文件。我看过网上但他们都需要制作一个新项目(即WiX),这非常令人困惑。安装程序需要能够检查.NET Framework并具有桌面图标,程序菜单以及可能的自定义卸载程序以删除程序生成的注册表项。这个的主要原因是摆脱应用程序清单文件和应用程序文件文件夹。



提前谢谢



-Collin

i need to make a setup file for a vb.net project. i have looked online but they all require making a new project(i.e. WiX) and it is very confusing. the setup needs to be able to check for the .NET Framework and have things like desktop icon, program menu, and if possible a custom uninstaller to remove registry keys made by the program. the main reason for this is to get rid of the application manifest file and the application files folder.

thank you in advance

-Collin

推荐答案

请参阅我对问题的评论。当然,做一个新项目。请理解,项目的概念是为了让您的生活更轻松,而不是让它复杂化。你的非常混乱只是没有提供信息。我想你只是没有付出足够的努力。请注意,WiX完全遵循MSBuild项目标准,不同于以前与Visual Studio捆绑在一起的安装项目。此外,它还为Visual Studio提供了非常好的,非常准确的附加组件。此外,它提供了一个非常适合的开发风格,基于XML(和Intellisense完美适合您),不同于以前的安装项目模板建议的复杂风格。文档不是很完美,只是是的,但几乎在所有情况下,社区都提供几乎所有问题的答案。



祝你好运,

-SA
Please see my comment to the quesion. Of course, make a new project. Please understand, the concept of project is devised to make your life much easier, not to complicate it. Your "very confusing" is just not informative. I guess you just did not pay adequate efforts. And mind you, WiX perfectly follows the MSBuild project standard, unlike the setup project which were bundled with Visual Studio before. Besides, it has a very good, and again, very accurate add-on for Visual Studio. Also, it suggests a very adequate development style, based on XML (and Intellisense works perfectly for you), unlike convoluted style suggested by the former Setup project template. Documentation is not quite perfect, just yes, but in nearly all cases, the community offers answers to nearly all questions.

Good luck,
—SA


这篇关于如何制作“Setup.exe”在Vb.Net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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