未找到安装程序的 .net 3.5 SP1 引导程序
当我尝试为我的安装项目包含 .net 3.5 sp1 先决条件时,我收到警告。 该警告指出无法找到引导的先决条件。
有什么建议么?
谢谢
I am getting a warning when trying to include the .net 3.5 sp1 prerequisite for my setup project. The warning states Prerequisite could not found for bootstrapping.
Any suggestions?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我按照 2.3.1.1 为 .NET Framework 3.5 SP1 引导程序包启用 Samesite 中的说明进行操作,现在一切正常。
谢谢
I followed the directions in 2.3.1.1 Enable Samesite for the .NET Framework 3.5 SP1 bootstrapper package and now everything works perfect.
Thanks
最终,与创建者 Ryan 遇到了同样的问题,我通过执行以下步骤解决了我的问题:
更新包数据
打开 [Program Files]\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\DotNetFx35SP1 文件夹或 %ProgramFiles x64 操作系统上的 (x86)%\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\DotNetFx35SP1
在记事本中编辑 Product.xml 文件。
将以下内容粘贴到 < 包文件> element:
查找
<的元素 PackageFile Name="dotNetFX30\XPSEPSC-x86-en-US.exe"
并将 PublicKey 值更改为:查找 < 的元素 PackageFile Name="dotNetFX30\XPSEPSC-amd64-en-US.exe" 并将 PublicKey 值更改为与上面步骤 4 中相同的值
保存 Product.xml 文件
下载并解压核心安装文件
导航到以下 URL:http:// go.microsoft.com/fwlink?LinkID=118080
将 dotNetFx35.exe 文件下载到本地磁盘。
打开命令提示符窗口并更改为下载 dotNetFx35.exe 的目录。
在命令提示符处,键入:
dotNetFx35.exe /x:.
这会将框架文件提取到当前目录中名为“WCU”的文件夹中。
复制 WCU\dotNetFramework 文件夹的内容并将其粘贴到 %Program Files%\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\DotNetFx35SP1 文件夹 (%ProgramFiles(x86)%\Microsoft SDKs\Windows\v6.0A x64 操作系统上的 \Bootstrapper\Packages\DotNetFx35SP1)。 注意:请勿复制 WCU\dotNetFramework 文件夹本身。 WCU 文件夹下应该有 5 个文件夹,每个文件夹现在都应该出现在 DotNetFx35SP1 文件夹中。 文件夹结构应类似于以下内容:
o DotNetFx35SP1(文件夹)
dotNetFX20(文件夹
dotNetFX30(文件夹)
dotNetFX35(文件夹)
dotNetMSP(文件夹)
工具文件夹)
en(或其他一些本地化文件夹)
dotNetFx35setup.exe(文件)
您现在可以删除在步骤 2 和 4 中下载和解压的文件和文件夹。
位于 Microsoft 解决方案
Ultimately, having had the same issue as the creator Ryan, I solved my delima by folling these steps:
Update the Package Data
Open the [Program Files]\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\DotNetFx35SP1 folder or %ProgramFiles(x86)%\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\DotNetFx35SP1 on x64 operating systems
Edit the Product.xml file in Notepad.
Paste the following into the < PackageFiles > element:
Find the element for
< PackageFile Name="dotNetFX30\XPSEPSC-x86-en-US.exe"
and change the PublicKey value to:3082010A0282010100A2DB0A8DCFC2C1499BCDAA3A34AD23596BDB6CBE2122B794C8EAAEBFC6D526C232118BBCDA5D2CFB36561E152BAE8F0DDD14A36E284C7F163F41AC8D40B146880DD98194AD9706D05744765CEAF1FC0EE27F74A333CB74E5EFE361A17E03B745FFD53E12D5B0CA5E0DD07BF2B7130DFC606A2885758CB7ADBC85E817B490BEF516B6625DED11DF3AEE215B8BAF8073C345E3958977609BE7AD77C1378D33142F13DB62C9AE1AA94F9867ADD420393071E08D6746E2C61CF40D5074412FE805246A216B49B092C4B239C742A56D5C184AAB8FD78E833E780A47D8A4B28423C3E2F27B66B14A74BD26414B9C6114604E30C882F3D00B707CEE554D77D2085576810203010001
Find the element for < PackageFile Name="dotNetFX30\XPSEPSC-amd64-en-US.exe" and change the PublicKey value to the same as in step 4 above
Save the product.xml file
Download and Extract the Core Installation Files
Navigate to the following URL: http://go.microsoft.com/fwlink?LinkID=118080
Download the dotNetFx35.exe file to your local disk.
Open a Command Prompt window and change to the directory to which you downloaded dotNetFx35.exe.
At the command prompt, type:
dotNetFx35.exe /x:.
This will extract the Framework files to a folder named “WCU” in the current directory.
Copy the contents of the WCU\dotNetFramework folder and paste them in the %Program Files%\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\DotNetFx35SP1 folder (%ProgramFiles(x86)%\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\DotNetFx35SP1 on x64 operating systems). Note: Do not copy the WCU\dotNetFramework folder itself. There should be 5 folders under the WCU folder, and each of these should now appear in the DotNetFx35SP1 folder. The folder structure should resemble the following:
o DotNetFx35SP1 (folder)
dotNetFX20 (folder
dotNetFX30 (folder)
dotNetFX35 (folder)
dotNetMSP (folder)
TOOLS folder)
en (or some other localized folder)
dotNetFx35setup.exe (file)
You may now delete the files and folders you downloaded and extracted in steps 2 and 4.
Found at Microsoft Solutions
对于 VS 2015,这里有一个非常简单的解决方案(包括一些 Michael Eakins 的回答):
在此处下载安装程序:
http://go.microsoft.com/fwlink?LinkID=118080
提取/ 使用 7zip 或 Winrar 打开并将内容解压到文件夹
将解压文件夹“wcu\dotNetFramework”路径下的所有内容复制/移动到:
For VS 2015, here is a very simple solution (including some Michael Eakins answer):
Download the installer here:
http://go.microsoft.com/fwlink?LinkID=118080
Extract / open with 7zip or Winrar and extract the contence to a folder
Copy/move everything under the extracted folder "wcu\dotNetFramework" path to: