Deploy. Net to a computer without installing. NET Framework.
--------------------------------------------------------------------------------
1. to automatically package. NET Framework, MDAC, and so on to your installer, download
Microsoft Visual Studio. NET 2003 Bootstrap plug-in
Http://www.microsoft.com/downloads/details.aspx? Familyid = 627921a0-d9e7-43d6-a293-72f9c370bd19 & displaylang = ZH-CN
This is a Chinese version. Remember: the version of this plug-in must be the same as that of vs.net.
Http://www.microsoft.com/downloads/details.aspx? Displaylang = en & familyid = 627921a0-d9e7-43d6-a293-72f9c370bd19
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.
2. Right-click the newly created installation project and select Properties. Select "Windows Installation Guide" as the boot program and set other properties such as "File System", which are not described in detail here, it can be found on the Internet and on msdn. In this way, the. NET Framework 1.1 is automatically re-distributed along with your application.
3. If ADO is used in the application, MDAC must be deployed.
Right-click the installation project, select "Startup conditions" from the view, and right-click the target computer and choose "add Registry Search ",
Select search registryentry1. In the Properties window, enter SOFTWARE \ Microsoft \ dataaccess
Enter vsdrrhklm on the Root property.
Enter fullinstallver on the value attribute.
Enter mdacsearch on the property.
Right-click the start condition and select "add start condition ". Select the condition1 node. In the Properties window, select the condition attribute and enter mdacsearch> = "2.6 ".
Note: MDAC or office2k must be installed on your computer. In this way, the system automatically extracts MDAC.
Regenerate the installation project and resend. NET Framework 1.1 and MDAC 2.7 with your application.
If you have any unclear, please refer to: http://msdn.microsoft.com/library/default.asp? Url =/library/en-US/dnnetdep/html/dotnetframedepguid. asp? Frame = true