Install. Net framework1.1 automatically during packaging
Deploy the. NET program on a machine without. Net framwork installed?
Http://www.microsoft.com/China/Community/program/originalarticles/TechDoc/deployNETApp.mspx
Download the Microsoft Visual Studio. NET 2003 Bootstrap plug-in from the official Microsoft website.
File Name: plugininstaller. MSI
: Http://www.microsoft.com/downloads/details.aspx? Familyid = 627921a0-d9e7-43d6-a293-72f9c370bd19 & displaylang = ZH-CN
You can install and deploy the plug-in with the built-in ide. It will add three files in your installation package: MDAC 2.8 and. netframework and Chinese Language Pack, and automatically determines whether the system has installed the framework.
The address of the bootstrap plug-in plugininstaller. MSI is:
Http://www.microsoft.com/downloads/details.aspx? Familyid = 627921a0-d9e7-43d6-a293-72f9c370bd19 & displaylang = ZH-CN
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.
To enable. NET Framework applications to run on a specific computer, the. NET Framework must be installed on the computer. MDAC 2.7 is required for any. NET Framework application that uses ADO. Net to connect to the database. Many computers have installed these components, but they should be re-distributed with the application to ensure that an application can run.
The Visual Studio. NET 2003 Bootstrap program is integrated with the Visual Studio. NET installer and deployment project. Based on this, you can create only one installer to automatically detect the required software on the target computer and install it as needed. If the computer is required to restart during installation of any component, the installer will automatically continue subsequent installation. Therefore, you only need to run an installer to install the necessary software and applications.
For more information about the Visual Studio. NET 2003 Bootstrap, see the visusal Studio. NET 1.1 Article in the. NET Framework 2003 Development Guide.
Supplement: after Microsoft Visual Studio is installed. NET 2003, it is best to install the bootstrap plug-in plugininstaller immediately. msi to make your.. Net program installation package has been installed. net Framework 1.1 and/or MDAC 2.7 are packaged into your installation package, but your installation package can be smoothly installed.
Method:
To deploy. NET Framework 1.1 to the target machine, follow these steps:
1. Open Visual Studio. NET 2003, create a new project, select the installation and deployment project, and create a new installation project;
2. Select project-> Properties (make sure you have installed the plug-in). On the pop-up property page (such as), set the boot program to Windows to install the boot program.
3. Now, the settings are complete. You can view the view, editor, and startup conditions to check whether. NET Framework is included in the deployment project.
How to manually add a Search Condition For MDAC 2.7 to the startup conditions when creating the installation package (that is, how to include MDAC 2.7 in the installation and deployment Program ):
1. select View> editor> startup condition, right-click to add a Registry Startup condition.
2. Select search registryentry1, open the Properties dialog box, set regkey to software/Microsoft/dataaccess, root select vsdrrhklm, set property to mdacsearch, and set value to fullinstallver.
3. Select the condition1 node, open the Properties dialog box, and set condition to mdacsearch> = "2.6 ".
4. Set installurl to: http://download.microsoft.com/download/3/ B /f/3bf74b01-16ba-472d-9a8c-42b2b4fa0d76/mdac_typ.exe to install MDAC 2.7 manually online.
5. The message is displayed when MDAC 2.7 is not installed on the target computer, for example, "<this program requires MDAC 2.7 or a later version. Please install it!> ".
6. Now the Basic settings are complete.
Note:
Note when installing the project "requirements on the target computer" with multiple "Registry searches!