如何安装.NET Framework 4.0客户端配置文件到我的安装项目?我的、配置文件、客户端、项目

2023-09-05 23:17:28 作者:人間禍害

在默认情况下,安装位置为 .NET Framework 4的客户端配置文件prerequisites(x86和x64)是从微软的网站,这需要客户端在安装过程中的网络是可用的。

By default, the install location for prerequisites of .NET Framework 4 Client Profile (x86 and x64) is from the Microsoft web site, which requires the client network to be available during installation.

我只是想知道,有没有我们可以安装一个办法 .NET Framework 4的客户端配置文件(x86和x64)不从供应商的网站下载?我认为第二个选项,从同一位置的我的应用程序下载prerequisites是我应该看这里。但我不是100%肯定。

I am just wondering, is there a way that we can install .NET Framework 4 Client Profile (x86 and x64) without downloading from the vendor's web site? I assume the second option, "Download prerequisites from the same location as my application", is something I should be looking at here. But I am not 100% sure.

此外,在哪个文件夹我应该把重分发文件, dotNetFx40_Client_x86_x64.exe

Also, in which folder should I place the redistributable file, dotNetFx40_Client_x86_x64.exe?

推荐答案

是的,你可以选择第二个选项来安装.NET Framework 4客户端配置文件,从相同的位置我的应用程序下载prerequisites不从网上下载它网站。但是,你需要设置路径为prerequisites,因为它在下面链接来实现。

Yes, you can select second option "Download prerequisites from the same location as my application" to install .NET Framework 4 Client Profile without downloading it from website. But you need to set path for that prerequisites as it done in below link.

编号: Error_7_The安装位置为prerequisites未设置为组件供应商的网站和文件DotNetFX40 \ dotNetFx40LP_Full_x86_x64fr.exe'项'的Microsoft .NET Framework 4(x86和x64)可不可设在磁盘上。 的

更新:您需要设置以下路径.NET Framework 4.0客户端配置文件:

UPDATE: You need to set below path for .NET Framework 4.0 Client Profile:

C:\ Program Files文件\微软的SDK \的Windows \ v7.0A \引导程序\包\ DotNetFX40Client \ dotNetFx40_Client_x86_x64.exe

C:\Program Files\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\DotNetFX40Client\dotNetFx40_Client_x86_x64.exe