NSIS Installer with .NET 4.0

前端 未结 2 879
走了就别回头了
走了就别回头了 2021-02-14 01:30

Is there a standard/preferred method for automatically downloading and installing the .NET 4.0 Framework from an NSIS installer, if the machine doesn\'t already have it?

2条回答
  •  南笙
    南笙 (楼主)
    2021-02-14 02:13

    Why not simply include the .NET 4.0 redist with your NSIS installer and execute it when you don't detect 4.0 registry entries?

    If you think that 50 MB is too much to package with your installer then download it only when needed.

    It would help if you listed what you've tried that has not worked. (I suspect that you've probably seen the 3rd link and the lang spec trips you up?)

提交回复
热议问题