返回> 网站首页
Enable Samesite for the .NET Framework 3.5 SP1 bootstrapper package
yoours2010-12-10 23:17:12
简介一边听听音乐,一边写写文章。
If the .NET Framework 3.5 SP1 bootstrapper package is selected in the Prerequisite dialog box for a Setup project or in ClickOnce publishing, and also the "Download prerequisites from the same location as my application" option is selected, the following build error is shown:
The install location for prerequisites has not been set to 'component vendor's web site' and the file 'dotNetFx35setup.exe' in item 'Microsoft.Net.Framework.3.5.SP1' cannot be located on disk.
To resolve this issue:
Update the Package Data
Download and Extract the Core Installation Files
You may now delete the files and folders you downloaded and extracted in steps 2 and 4.
Download the Language Pack Support Files
Language
Architecture
Source URL
Destination
Chinese (Simplified)
x86
http://go.microsoft.com/fwlink?LinkID=118146
zh-CHS\DotNetFX35\x86
x64
http://go.microsoft.com/fwlink?LinkID=118151
zh-CHS\DotNetFX35\x64
Chinese (Traditional)
x86
http://go.microsoft.com/fwlink?LinkID=118087
zh-CHT\DotNetFX35\x86
x64
http://go.microsoft.com/fwlink?LinkID=118050
zh-CHT\DotNetFX35\x64
English
x86
N/A
N/A
x64
N/A
N/A
French
x86
http://go.microsoft.com/fwlink?LinkID=118148
fr\DotNetFX35\x86
x64
http://go.microsoft.com/fwlink?LinkID=118153
fr\DotNetFX35\x64
German
x86
http://go.microsoft.com/fwlink?LinkID=118149
de\DotNetFX35\x86
x64
http://go.microsoft.com/fwlink?LinkID=118154
de\DotNetFX35\x64
Italian
x86
http://go.microsoft.com/fwlink?LinkID=118097
it\DotNetFX35\x86
x64
http://go.microsoft.com/fwlink?LinkID=118115
it\DotNetFX35\x64
Japanese
x86
http://go.microsoft.com/fwlink?LinkID=118096
ja\DotNetFX35\x86
x64
http://go.microsoft.com/fwlink?LinkID=118114
ja\DotNetFX35\x64
Korean
x86
http://go.microsoft.com/fwlink?LinkID=118147
ko\DotNetFX35\x86
x64
http://go.microsoft.com/fwlink?LinkID=118152
ko\DotNetFX35\x64
Portuguese – Brazil
x86
http://go.microsoft.com/fwlink?LinkID=118092
pt-BR\DotNetFX35\x86
x64
http://go.microsoft.com/fwlink?LinkID=118110
pt-BR\DotNetFX35\x64
Russian
x86
http://go.microsoft.com/fwlink?LinkID=118090
ru\DotNetFX35\x86
x64
http://go.microsoft.com/fwlink?LinkID=118108
ru\DotNetFX35\x64
Spanish
x86
http://go.microsoft.com/fwlink?LinkID=118101
es\DotNetFX35\x86
x64
http://go.microsoft.com/fwlink?LinkID=118119
es\DotNetFX35\x64
The install location for prerequisites has not been set to 'component vendor's web site' and the file 'dotNetFx35setup.exe' in item 'Microsoft.Net.Framework.3.5.SP1' cannot be located on disk.
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:
<PackageFileName="TOOLS\clwireg.exe"/>
<PackageFileName="TOOLS\clwireg_x64.exe"/>
<PackageFileName="TOOLS\clwireg_ia64.exe"/> - 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)
- dotNetFX20 (folder
You may now delete the files and folders you downloaded and extracted in steps 2 and 4.
Download the Language Pack Support Files
- Refer to the Table below for the download locations.
- Navigate to the URL provided, and when prompted, download to the subdirectory of the dotNetFx35SP1 folder that is indicated in the table. Note: You must do this once for the x86, and also the x64 files, even if you do not have to support x64 with your package.
x86
http://go.microsoft.com/fwlink?LinkID=118146
zh
x64
http://go.microsoft.com/fwlink?LinkID=118151
zh
x86
http://go.microsoft.com/fwlink?LinkID=118087
zh
x64
http://go.microsoft.com/fwlink?LinkID=118050
zh
x86
x64
x86
http://go.microsoft.com/fwlink?LinkID=118148
fr
x64
http://go.microsoft.com/fwlink?LinkID=118153
fr
x86
http://go.microsoft.com/fwlink?LinkID=118149
de\DotNetFX35\x86
x64
http://go.microsoft.com/fwlink?LinkID=118154
de\DotNetFX35\x64
x86
http://go.microsoft.com/fwlink?LinkID=118097
it\DotNetFX35\x86
x64
http://go.microsoft.com/fwlink?LinkID=118115
it\DotNetFX35\x64
x86
http://go.microsoft.com/fwlink?LinkID=118096
ja
x64
http://go.microsoft.com/fwlink?LinkID=118114
ja
x86
http://go.microsoft.com/fwlink?LinkID=118147
ko
x64
http://go.microsoft.com/fwlink?LinkID=118152
ko
x86
http://go.microsoft.com/fwlink?LinkID=118092
pt-BR\DotNetFX35\x86
x64
http://go.microsoft.com/fwlink?LinkID=118110
pt-BR\DotNetFX35\x64
x86
http://go.microsoft.com/fwlink?LinkID=118090
ru
x64
http://go.microsoft.com/fwlink?LinkID=118108
ru
x86
http://go.microsoft.com/fwlink?LinkID=118101
es
x64
http://go.microsoft.com/fwlink?LinkID=118119
es
文章评论
2094人参与,0条评论