Install and install the. net Framework installation package

Source: Internet
Author: User

. Before the emergence of the net Framework, we always use tools such as inno setup and setupfactory to package ,. net Framework1.0/1.1 has an installation project in vs2002/2003, which is easy to create. In addition, Microsoft also provides a powerful component: Microsoft Visual Studio.. NET 2003 Bootstrap plug-in. With the Microsoft Visual Studio. NET 2003 Bootstrap plug-in, you can easily create an installer and resend. NET Framework 1.1 and/or MDAC 2.7 with your application. Detailed description:

Http://www.microsoft.com/china/MSDN/library/netFramework/netframework/Nfdnnetdepvsredistdeploy1_1.mspx? Mfr = true

This is also used throughout the month of invitation. Unfortunately, this control has no subsequent version. No longer supports Framework2.0/3.0/3.5/4.x. I also had to use the deployment Program that comes with.

Today, I suddenly tried other tools in a project, so I tried InstallShield 2009, the latest version of InstallShield2010. It is also very useful to support the Framework. Sharing experience. Download the trial: http://www.flexerasoftware.com/

First, we create a Basic MSI Project. Settings:

 

Generate the installation Package. Note that there are two common options: Single Executable and Single MSI Package. The difference is that the former generates the Setup file, and the latter generates the MSI installer.To integrate the Framework installation file into the installation package, you must select the first Single Executable.

Find a machine that has not been installed and tested to install Framework2.0 and try it. After the installer detects that Framework2.0 has not been installed, the system prompts "Please install Microsoft Framework2.0 first" and then exits!

So google found that many articles are basically useless. Because the version is too old. ^_^.

So to the official http://www.flexerasoftware.com/products/installshield/files-utilities.htm to download a few try, are giant volume, the minimum also has 217 M, like InstallShield 2009 Setup Prerequisites. NET has 570 M, InstallShield 2009 Setup Prerequisites. NET Language Packs has more than 900 M, only

InstallShield 2009 Setup Prerequisite Files (. prq) for. NET Language Packs is only a few hundred kb,

This is a pure prq file and a key file. However, these files have been installed when InstallShield2009 is installed.

Look,In Designer mode \ Application Data \ ReDistributables

 

Then generate the installation package again. OK! In this case, the system prompts you to install Framework2.0 SP1. The generated installation package is also changed from 6 M to 29 M.

Is it easy? Most frameworks are provided here. To create Framework2.0 SP2, copy the corresponding file in the SetupPrerequisites folder of the installation folder and modify it.Right-click the attribute and change it to "Copy From Source Media"

 

Note that there are two points to note when modifying:

 

Strange is no Framework2.0, manually add one is also very simple, if you have any questions, please contact the monthly 3w@live.cn

The invitation to the month suddenly came up with a better way: InstallShield officially provided:
Http://saturn.installshield.com/is/prerequisites/microsoft. net framework 2.0 sp1.prq

Next, try http://saturn.installshield.com/is/prerequisites/microsoft. net framework 2.0 sp2.prq. OK! If you are interested, try again. Haha.

The path shown in the following figure is downloaded. Great!

This article is also good. Http://blog.csdn.net/veryhappy/archive/2009/04/29/4137836.aspx

For web installation, blog Hall HopeQ articles can refer to: http://blog.joycode.com/hopeq/tags/908.aspx

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.