Visual studio 2010 package program, installed by default. NET Framework 4.0, you need to 3.5sp1 packaged into the system installed together (selected from the same location as my application Download prerequisites "), you are prompted many stories such as error

The "the prerequisites installation location is not set to the component vendor's Web site, the items can not be found on the disk. NET Framework 3.5 SP1" File DotNetFX35SP1/DotNetFX35/x64/dotnetfx35langpack_x64zh-CHS.exe,.

Cause Analysis:

The reason is the following, can not find in the corresponding folder NET 3.5 SP1 the module.

Solution:

through the network can be found in Visual Studio 2010 corresponding module directory:% ProgramFiles% / the Microsoft SDKs/Windows/v7.0A/Bootstrapper/Packages /.


Step 1:

from the site to download the following three packages (1) NET 3.5 sp1 Offline, installation package

? 3.5 SP1 of 64 language packs

? 3.5 SP1 of 32 language packs

 

Step 2:

Download to ?. "Net 3.5 sp1 offline installation package" extract with winrar, and extract the contents of all the files in the / WCU / the the dotNetFramework / (dotNetFX20 dotNetFX30 dotNetFX35 the dotNetMSP file folder and file dotNetFx35setup.exe) copied to the% ProgramFiles% / Microsoft SDKs/Windows/v7.0A/Bootstrapper/Packages/DotNetFX35SP1 directory.


Step 3:

In the directory "% ProgramFiles% / Microsoft SDKs/Windows/v7.0A/Bootstrapper/Packages/DotNetFX35SP1/zh-Hans under the New Folder" dotNetFX35 "then" dotNetFX35 following to build two folders x64 and x86 ".That dotNetFX35/x64 and dotNetFX35/x86. Then copy dotnetfx35langpack_x64zh-ENU.exe to dotNetFX35/x64 below, copy the dotnetfx35langpack_x86zh-ENU.exe to dotNetFX35/x86 below. This step until the generated package can pass normally. 

 

 

Step 4:

Step three is completed, you can compile successful, but several warning. As follows:. "NET Framework 3.5 SP1" value in the "PublicKey characteristics of file" C :/ Program Files / Microsoft SDKs/Windows/v7.0A/Bootstrapper/Packages/DotNetFX35SP1/dotNetFX30/XPSEPSC-x86-en-US. exe "the characteristic values ??do not match.

This is because the XPSEPSC-x86-en-US.exe publicKey% ProgramFiles% / Microsoft SDKs/Windows/v7.0A/Bootstrapper/Packages/DotNetFX35SP1/product.xml file labeled publicKey different. To eliminate the warning, we need to help it matches on manually.
The PublicKey question: can take steps to resolve:

First, navigate to the error file the XPSEPSC-x86-en-US.exe ", then right-? Properties ? digital signature ? Info ? View certificate ? public key, and then copy the text box inside the binary text, remove the spaces and copy Information.
Then, open the copied information,% ProgramFiles% / the Microsoft SDKs/Windows/v7.0A/Bootstrapper/Packages/DotNetFX35SP1/product.xml file search to find the XPSEPSC-x86-en-US.exe ", the corresponding publicKey replaced just good string on OK.
(Note: win7 because of permission issues can not be modified Product.xml, the solution is: First open a command prompt with administrator privileges, and then jump to the directory% ProgramFiles% / Microsoft SDKs/Windows/v7.0A/Bootstrapper / directly Packages/DotNetFX35SP1 / the open product.xml modification can be stored.)
Treated in the same way: "XPSEPSC-amd64-en-US.exe".

 

 

Reference:http://www.programmershare.com/2491319/

文章標籤
創作者介紹

香腸炒章魚

mitblog 發表在 痞客邦 PIXNET 留言(0) 人氣()