Install and install the. NET Framework installation package

Source: Internet
Author: User

Before the emergence of. NET Framework, it was always packaged with tools such as Inno Setup and setupfactory. Later,. 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. Use Microsoft Visual Studio. NET 2003
The bootstrap plug-in allows you to easily create an installer that includes. NET Framework 1.1 and/or MDAC 2.7
Resend with your application. Detailed description:

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

Invitation
This is also used for months. 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
First, create a basic MSI project. Settings:


 

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

.

Test 1 is not installed.
Run the following command on the machine where framework2.0 is installed: After the installer detects that framework2.0 is not installed, the system prompts "Install Microsoft
Exit after framework2.0!

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

Yu
Is to the official http://www.flexerasoftware.com/products/installshield/files-utilities.htm
I have downloaded a few demos, all of which are massive, with a minimum size of 217 MB, such as InstallShield 2009 setup prerequisites
. NET Has 570 M, InstallShield 2009 setup prerequisites for. Net Language
Packs is more than 900 m, only

InstallShield
2009 setup prerequisite files (. prq) for. NET language packs is only a few hundred kb,

This
It 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! At this time, no machine with framework2.0 SP1 installed
You will be prompted for installation. The generated installation package is also changed from 6 m to 29 m.

Is it easy? Most frameworks are provided here. If you need
Framework2.0 SP2, which is very simple. Copy the corresponding file in the setupprerequisites folder under 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:

 

Odd
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 comes up with a better solution.
Method: InstallShield provides:
Http://saturn.installshield.com/is/prerequisites/microsoft
. NET Framework 2.0 sp1.prq

So change down, http://saturn.installshield.com/is/prerequisites/microsoft
. NET Framework 2.0 sp2.prq
Try. OK! If you are interested, try again. Haha.

After the download
Path. Great!

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

Off
Install on the web, blog Hall hopeq
Of
The article can refer to: http://blog.joycode.com/hopeq/tags/908.aspx

 

Invitation month Note: The copyright of this article is from invitation month
It is shared with csdn. For more information, see the source.


Helping others is the same as self-help!
3w@live.cn

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.