简体   繁体   English

Chain Dot Net 4 Framework安装到NSIS中

[英]Chain Dot Net 4 Framework install into NSIS

I am trying to silently install the .NET 4 Framework with my app through NSIS. 我试图通过NSIS与我的应用程序一起静默安装.NET 4 Framework。

I cant for the life of me work out how to make the .NET installer report where its up to back to my installer and update the progress bar on NSIS to reflect this. 我一生都无法解决如何制作.NET安装程序报告,并将其报告回我的安装程序并更新NSIS上的进度条以反映这一点。

Is there an easy way to do this? 是否有捷径可寻?

Edit: Just to clarify I want to do this as when the .NET installer runs silently it looks like my installer has frozen as the progress bar does not move until .NET is installed. 编辑:只是为了澄清一下我要这样做,因为.NET安装程序无提示运行时,它似乎冻结了我的安装程序,因为进度条在安装.NET之前不会移动。

This is not supported by any setup tool. 任何设置工具均不支持此功能。 Third-party installer progress cannot be captured and integrated into a main installer. 无法捕获第三方安装程序进度并将其集成到主安装程序中。

Instead, the third-party installation (.NET Framework) can run with basic progress. 而是,第三方安装(.NET Framework)可以在基本进度下运行。 This way it shows it's own progress bar which is more accurate than what you could capture in a main installer. 这样,它显示了自己的进度条,该进度条比您在主安装程序中捕获的进度条更准确。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM