从innosetup安装.Net 3.5 [英] Install .Net 3.5 from innosetup

查看:85
本文介绍了从innosetup安装.Net 3.5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要通过Innosetup准备一个安装程序包,安装.Net 3.5如果在系统中不可用:这个设置应该在任何Windows系统上运行,并且应该脱机运行:有一个简单的方法吗?实际上我创建了一个自包含框架安装程序的软件包,它在从XP到win7的系统中运行良好,但在win 8.1和Windows Server 2012上却没有...在这些系统上我发现我可以使用Dism工具,但是这样我也应该提供WinSxs源:我想这可能是正确的方法,但问题是正确安装框架需要什么来源?

感谢任何帮助,谢谢

I need to prepare an installer package through Innosetup that installs the .Net 3.5 if not available in the system: this setup should run on any windows system, and should be run offline: is there a simple way to do that? Actually I made a package that self contains the framework installer, it works well in systems from XP to win7, but not on win 8.1 and windows server 2012... On those systems I've found that I could use the Dism tool, but that way I should provide the WinSxs sources too: I guess this could be the right way, but the question is what are the sources needed to install the framework correctly?
Any help appreciated, thanks

推荐答案

我进行了更深入的搜索并找到了这篇文章:

https ://msdn.microsoft.com/en-us/library/windows/desktop/hh848079(v = vs.85).aspx

所以我只需要添加一个正确配置的app.config,无需安装enything:)
I made a more deep search and found this article:
https://msdn.microsoft.com/en-us/library/windows/desktop/hh848079(v=vs.85).aspx
so I just need to add a properly configured app.config, no need to install enything :)


这篇关于从innosetup安装.Net 3.5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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