Vs package framework3.5

Source: Internet
Author: User

I have been working on a Windows setup project for the past two days. I hope it will be perfect until I finally achieved it, but when I want. net Framework 3.5 SP1 Installation File is also added to my setup project (such as), but found that the project cannot be compiled.

 

 

The error message is as follows: >>>>>>>>>>

1. The required installation location is not set to "component supplier's website" and cannot be found on the disk. file "dotnetfx35sp1 \ dotnetfx35 \ x64 \ dotnetfx35langpack_x64zh-CHS.exe" in Net Framework 3.5 SP1 ". For more information, see "help ".

2. The required installation location is not set to "component supplier's website" and cannot be found on the disk. net Framework 3.5 SP1 file "dotnetfx35sp1 \ dotnetfx35 \ x86 \ dotnetfx35langpack_x86zh-CHS.exe ". For more information, see "help ".

The solution is as follows: >>>>>>>>>>>>>>>

1. First obtain. NET Framework 3.5 Service Pack 1 (full package) (231 MB)

2. Modify the settings in Visual Studio 2008 SP1 readme 2.3.1. General issues!

Because the quality of the Visual Studio 2008 SP1 self-report file in the Chinese version is incorrect, it is easy to make mistakes by following the instructions:

1. First find the [program files] \ microsoft sdks \ windows \ v6.0a \ bootstrapper \ packages \ dotnetfx35sp1 directory. If the x64 architecture [program files] is replaced with c: \ ProgramFiles (x86)

2. Use notepad to open the product. xml file in this directory.

3. Insert the following fragments

<Packagefiles copyallpackagefiles = "ifnothomesite"> below this line:

<Packagefile name = "tools \ clwireg.exe"/>

<Packagefile name = "tools \ clwireg_x64.exe"/>

<Packagefile name = "tools \ clwireg_ia64.exe"/>

4. find the <packagefilename = "dotnetfx30 \ XPSEPSC-x86-en-US.exe" line and the <packagefile name = "dotnetfx30 \ XPSEPSC-amd64-en-US.exe" line, replace the original publickey values of the two rows with the following values (note that do not copy them to space characters during replication ):

Bytes

Bytes

Bytes

Bytes

Bytes

Bytes

707cee554d77d2085576810203010001

5. Archive product. xml.

6. the downloaded. net Framework 3.5 Service Pack 1 (full package) decompress the package to any temporary directory. the decompression method must be run through the command: dotnetfx35.exe/X: (or use WinRAR to decompress the package)

7. after decompression, the directory will have an additional WCU directory in which there will be another dotnetframework directory, move all the directories and files under the WCU \ dotnetframework directory to the [ProgramFiles] \ microsoft sdks \ windows \ v6.0a \ bootstrapper \ packages \ dotnetfx35sp1 directory. The following figure shows the result:

8. for example, the highlighted red box contains the Language Pack. You can use the Visual Studio 2008 SP1 readme file 2.3.1. you can also download the downloaded files in the section, just place the downloaded files in the directory. Take traditional as an example. The directory structure after the file is downloaded will become as follows: (the Simplified Chinese directory name is ZH-CHS, copy the dotnetfx35 directory to ZH-CHS .)

This article from the csdn blog, reproduced please indicate the source: http://blog.csdn.net/qwlovedzm/archive/2010/06/03/5645099.aspx

Clickonce release, check. NET Framework 3.5 SP1 in system essentials, and select "from my applicationProgramWhen you download system essential components in the same location, execute the release and you will be prompted that many files are missing. The answer is as follows.

First, we need the Framework 3.5 _ SP1 installation package, which can be downloaded at the address below

Http://download.microsoft.com/download/2/0/e/20e90413-712f-438c-988e-fdaa79a8ac3d/dotnetfx35.exe

Decompress the package and navigate to the Framework 3.5 _ SP1 \ WCU \ dotnetframework \ folder, copy the dotnetfx20, dotnetfx30, dotnetfx35, and dotnetmsp folders and file volumes to the % ProgramFiles % \ microsoft sdks \ windows \ v7.0a \ bootstrapper \ packages \ dotnetfx35sp1 directory. For x64 operating systems, the path is located under % ProgramFiles (x86) %.

When the release is executed, the following error is prompted:

The installation location of required system components is not set to "component supplier's website", and the item "cannot be found on disk. file "dotnetfx35sp1 \ dotnetfx35 \ x64 \ dotnetfx35langpack_x64zh-CHS.exe" in Net Framework 3.5 SP1 ". For more information, see help.

Follow the prompts to download the desired file:

Http://www.microsoft.com/downloads/details.aspx? Familyid = 8489ed13-b831-4855-96f7-dd35e4c02a20 & displaylang = ZH-CN

Here we only need to download the dotnetfx35langpack_x64zh-CHS.exe and dotnetfx35langpack_x86zh-CHS.exe, because the release only prompts that the two files are missing.

======= If you are eager to publish, you can ignore this section ========
After the download is complete, put them in % ProgramFiles % \ microsoft sdks \ windows \ v7.0a \ bootstrapper \ packages \ dotnetfx35sp1 \ dotnetfx35 \ packages to x64, dotnetfx35langpack_x86zh-chs.exe to x86.

I thought everything was normal. I still reported an error when executing the release. What is the problem? Google for a long time, found a solution in this post (http://blog.csdn.net/hhxshhxs88/archive/2009/07/25/4379621.aspx), the following is the specific operation, unlike this post, I did not create the ZH-CHS folder.
========================================================== =

Navigate to the % ProgramFiles % \ microsoft sdks \ windows \ v7.0a \ bootstrapper \ packages \ dotnetfx35sp1 \ ZH-Hans directory and create a folder named dotnetfx35, create two subfolders in the dotnetfx35 folder, named x86 and x64 respectively, and copy the downloaded file to the corresponding subdirectory.

Release again. There should be no errors this time.

* ******* The following content is for your reference only ********
However, there are two warnings, similar to the following:

". The value of the "publickey" feature in Net Framework 3.5 SP1 and the file "C: this feature value for \ Program Files \ microsoft sdks \ windows \ v7.0a \ bootstrapper \ packages \ dotnetfx35sp1 \ dotnetfx30 \ XPSEPSC-x86-en-US.exe does not match.

This is because the publickey of the XPSEPSC-x86-en-US.exe is different from the publickey marked in the % ProgramFiles % \ microsoft sdks \ windows \ v7.0a \ bootstrapper \ packages \ dotnetfx35sp1 \ product. xml file. To eliminate the warning, we need to manually match it.

First, locate the error prompt file, right-click the file, and choose Properties> digital signature ,:

In the "signature list", select a signature and click "details". The window is displayed:

Click "view Certificate" in the window, select the "details" card in the pop-up window, and select "Public Key" in the list below ",:

Then copy the encoding corresponding to the public key to notepad and replace the spaces in it. Finally, we open the product. xml file, look for the XPSEPSC-x86-en-US.exe, replace its corresponding publickey with the string you just processed, and then OK.
**************************************** *

Appendix

When ". net Framework 3.5 SP1 client profile "is a required system. When published, the system will prompt that dotnetfx35clientsetup.exe cannot be found. You can download it from the address below, copy the file to the % ProgramFiles % \ microsoft sdks \ windows \ v7.0a \ bootstrapper \ packages \ dotnetfx35client directory to publish the file.

Http://www.microsoft.com/downloads/details.aspx? Familyid = 8cea6cd1-15bc-4664-b27d-8ceba808b28b & displaylang = ZH-CN

Note: dotnetfx35clientsetup.exe is a Web-based installation program of the client profile. It must be downloaded and installed over the Internet.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.