Vs.net package (automatically detects the environment and installs. net framwork), vs. netframwork

Source: Internet
Author: User

Vs.net package (automatically detects the environment and installs. net framwork), vs. netframwork
The environment is automatically checked and installed when the vs.net package program or the installation program is created. net framwork setting method I have read the documentation before, but after a while I forgot, and now I finally found the method again. I 'd like to write down this method, it is convenient for you to query and use in the future. When vs.net is packaged or installed, the environment is automatically checked and installed. net framwork setting method: 1. create a "installation and deployment" project. 2. click the "View" menu, select "Editor"> "File System", and add the program to be packaged and related files. Then, the program automatically detects the dependency. 3. select the "View" menu again and select "Editor"> "Startup condition". After this interface is opened, ".. NET Framework. right-click the application name and select "properties". In the displayed properties page dialog box, click the "Required System" button. in "select required system components to install", NET Framework 2.0 check box; 6. in "specify a required installation location", select "download required system components from the same location as my application", so that you can download the required components. the net framwork version is required by your own program. net framwork version is the same; 7. confirm and try again Sub-Compilation: the "dotnetfx" folder is automatically downloaded and generated under the debug folder, which contains the required applications. net framwork installer; 8. select the startup conditions tab in step 1, expand the "Startup conditions" folder, and click ".. NET Framework. Switch to the property manager and set the value of the "InstallUrl" attribute to the "dotnetfx \ dotnetfx.exe" path. 9. re-compile and install the program.
Q: How can I package NET Framwork20 IN THE WinForm installation package?

1. Add an installer

2. Open the "properties" page of the installer and extract the. net2.0 installer in your system from the required buttons.

3. right-click the installer and choose View> startup conditions. select. NET Framework, which has an InstallUrl item in the property. The above is a Web site by default and can be downloaded. net. you can change it to: dotnetfx \ dotnetfx.exe. you can.

Dotnetfx \ dotnetfx.exe has been automatically extracted from the system.

How can I package the net framwork35 and DotNetBar programs?

For DotNetBar, you only need to set DevComponents. the DotNetBar2.dll file can be packaged in the Debug folder. I have never used InstallShield 2010, so how to call the system is required. NET Framwork3.5 I cannot answer you, but the Setup Factory package should be simpler.

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.