Original post address: http://blog.csdn.net/hhxshhxs88/archive/2009/07/25/4379621.aspx
Package and install in. netProgramIf you select. netfx3.5 SP1], and set the installation location of the required system components to [Download necessary components from the same location as my application ]. The following error message is displayed: [the required installation location is not set to "component supplier's website". You cannot find XXXXX In the "Microsoft. NET. framework.3.5.sp1" field on the disk.
This error will occur in A. netfx system with a non-English version installed. netfx3.5 SP1 language packs (such as Chinese and German) are missing. netfx3.5 SP1 ....) After searching through many aspects, I found some solutions. I only hope that my friends who made the package installation program for the first time can solve the problem (the following uses the Chinese environment as an example ).
1. Download the full version of. NET Framework 3.5 (231.5 MB) at the following address:
Http://download.microsoft.com/download/2/0/e/20e90413-712f-438c-988e-fdaa79a8ac3d/dotnetfx35.exe
2. Use WinRAR or another decompression tool to decompress the downloaded dotnetfx3.5 file. After decompression, you will see a WCU folder
3. content in the decompressed WCU/dotnetframework (dotnetfx20 .... dotnetfx35setup.exe, one executable file in five folders) copy and paste it to the % Program Files %/Microsoft sdks/Windows/v6.0a/bootstrapper/packages/dotnetfx35sp1 folder. After that, you can delete the WCU file.
4. Open the % Program Files %/Microsoft sdks/Windows/v6.0a/bootstrapper/packages/dotnetfx35sp1 folder, find the product. xml file, open it in notepad, and set the following content:
<Packagefile name = "tools/clwireg.exe"/>
<Packagefile name = "tools/clwireg_x64.exe"/>
<Packagefile name = "tools/clwireg_ia64.exe"/>
Copy to the <packagefiles> element. Save and close.
5. Open the % Program Files %/Microsoft sdks/Windows/v6.0a/bootstrapper/packages/dotnetfx35sp1 folder. Find the ZH-CHS folder, create a new dotnetfx35 folder under the folder, open the newly created dotnetfx35 folder, and create the x86 and x64 folders under the folder.
Download dotnetfx35langpack_x86zh-CHS.exe
(
Http://download.microsoft.com/download/7/7/ B /77b96978-c805-4674-a9b0-43351e86b41f/dotnetfx35langpack_x86zh-CHS.exe
) To x86;
Download dotnetfx35langpack_x64zh-CHS.exe (http://download.microsoft.com/download/7/7/ B /77b96978-c805-4674-a9b0-43351e86b41f/dotnetfx35langpack_x64zh-CHS.exe)
To x64.