有没有办法调用 .NET Framework 离线安装?
我正在制作一个出于学习目的的测试应用程序。它的目标是.NET Framework 4 Client Profile。
我创建了一个未安装 .NET Framework 的新 Windows XP 虚拟机。理想情况下,我想为我的小应用程序创建一个安装项目,并将其与 .NET Framework 4 Client Profile 捆绑在一起。我不希望我的最终用户下载任何内容。该应用程序应该可以离线安装,无需互联网连接
,因此最终用户将单击我创建的Setup.exe,它将调用.NET Framework 4 Client Profile的设置菜单。
感谢您的帮助。
I'm making a test application for learning purposes. It's targetted for the .NET Framework 4 Client Profile.
I created a new Windows XP virtual machine that doesn't have a .NET Framework installed. Ideally I'd like to create a setup project for my little application and bundle that with the .NET Framework 4 Client Profile. I do not want my end users to download anything. This application should be installable offline without the need for an internet connection
So the end user would click my created Setup.exe and it would invoke the setup menu for the .NET Framework 4 Client Profile.
Thank you for your help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,您可以在安装项目中指定依赖项。在“检测到的依赖项”下应该显示“Microsoft .NET Framework”。如果您想更改行为,请右键单击您的安装项目,然后单击“属性”,然后单击“先决条件”按钮。从那里,您可以选择应在应用程序之前安装的内容以及它们的提供方式 - 安装程序是从互联网下载它们还是与您的应用程序一起分发它们。
Yes, you can specify dependencies in your setup project. Under the "Detected Dependencies" it should say "Microsoft .NET Framework". If you want to change the behavior, right click on your setup project and hit "Properties" and click the "Prerequisites" button. From there, you can choose things that should be installed before your application is, and how they are provided - whether the setup will download them from the internet or distribute them with your application.
是这个 你在追求什么?
Is this what you're after?