没有SQL SERVER你怎么运行呀?
--SQL SERVER不能打包的!其实只要把VB程序打包,SQL SERVER的所有设置和值都用SQL文件倒出即可。
(在企业管理器里可以完成)

解决方案 »

  1.   

    不需要装全
    只需要装msde
    Integrating MSDE 2000 with Your Applications The SQL Server 2000 Desktop Engine (MSDE 2000) offers application developers new opportunities to build desktop and shared solutions that are freely distributable and can be easily migrated to SQL Server 2000 technology if the customer or end-user wants to scale the solution up to thousands of users or terabytes of data. For example:Developers can offer an introductory or trial edition of their full product that ordinarily ships with SQL Server 2000. 
    Developers can point to a full range of scalability in their products, where no upgrade or conversion is required if the customer wants to scale the application to serve the entire enterprise. 
    Corporate developers can fully leverage their investment in software development; assuring that applications initially intended to serve the desktop or a small department can be leveraged across the entire enterprise if needed, without requiring a change to single line of code. 
    Licensing
    Developers can freely distribute MSDE 2000 solutions built with Microsoft Visual Studio 6.0 Professional or Enterprise edition development tools, or with Microsoft Office 2000 Developer edition. See the End-User License Agreement (EULA) for the full redistribution and royalty terms.Methods of Distribution
    With MSDE 2000, application developers are given the ability to install a redistributable relational database engine, fully compatible with SQL Server 2000 as part of the custom application setup process. Application solutions using MSDE 2000 can store data in a desktop engine whose configuration and resources are managed dynamically, removing the need for extra graphical tools and administrative utilities. This makes MSDE 2000 the ideal database to embed into desktop and laptop applications.There are two ways application developers can build the MSDE 2000 installation into their application setup. After the database engine is installed, developers can use standard SQL Server APIs to build and manage database objects.Using MSDE 2000 with Windows Installer
    Using Windows Installer technology, MSDE 2000 is shipped as a set of Windows Installer merge modules. The application developer uses these merge modules to install an instance of MSDE 2000 during the customized application setup. This is done by either integrating the merge modules into a standard Windows Installer setup procedure, or having the custom application setup program call Windows Installer directly to an instance of MSDE 2000.The embedded database engine footprint can be reduced by excluding specific feature merge modules (like replication, Distributed Management Objects, and so forth) which the application may not use. To learn more how to integrate MSDE 2000 into applications using Windows Installer technology, read Merging the Desktop Engine into Windows Installer at the MSDN® site.Setting Up MSDE 2000 Using Non-Windows Installer Programs
    To set up an MSDE 2000 instance for an application using programs other than Windows Installer, MSDE 2000 provides a Setup.exe utility file. This file opens up a shell that calls Windows Installer to install an instance of MSDE 2000. You can define settings for customizing the way Setup.exe installs MSDE 2000. These settings can be specified through either command prompt switches or an .ini file. Together with the Setup.exe utility, you will have to distribute the 16 MSDE 2000 installer packages (SQLRun##.msi). Each installer package is a unique MSDE 2000 instance. Before attempting to install an instance of MSDE 2000, an application setup process should first ensure that the proposed instance name has not already been used by another instance of SQL Server, and the computer does not already have more than 16 instances (or 15 named instances) installed. Otherwise, a globally unique identifier (GUID) clash may occur. SQL Server 2000 supplies two API functions to perform these checks. For more information on how to manage the distribution of MSDE 2000 installer files, read Managing Desktop Engine Installation Package Files at MSDN.The setup utility will also check if Windows Installer is installed on the target computer. If Windows Installer is not found, the setup utility will try to install it. The setup utility will then proceed to select an unused MSDE 2000 installer package for this particular installation. This is important if your application supports multiple instances of MSDE 2000. Installing MSDE 2000 without creating your own Windows Installer package can increase the risk of a GUID clash. If your application does not support multiple instances of MSDE 2000, and you are sure that no other identical MSDE 2000 instance will be installed on the target computer, you can distribute a cloned or created Windows Installer package with a GUID, and pass this Windows Installer Package file name when calling the Msiexec.exe utility. In this case, you will not need to distribute all 16 MSDE 2000 installer packages. To learn more on how to use the Setup.exe utility of MSDE 2000, read SQL Server 2000 Desktop Engine Setup at MSDN.Manually Setting Up an MSDE 2000 Database Instance 
    Applications that do not use Windows Installer-based setup programs can also install an instance of MSDE 2000 by calling Windows Installer directly. This is done by calling Msiexec.exe directly. This is typically done when the application setup program has a DLL available that contains a Windows Installer callback function that can process the return codes generated by the MSDE 2000 Windows Installer merge modules.To see a sample installation procedure, read Desktop Engine Installation Sample at MSDN. Integrating MSDE 2000 with Office Applications Installing MSDE 2000
    MSDE 2000 is not automatically installed during the Microsoft Office XP installation. The installation files are on the Office XP CD, in the \MSDE2000 folder. Start the installation by running Setup.exe. After you have installed MSDE 2000 on your computer, if you are running Microsoft Windows® 98 or later, you may need to start the SQL Server Service Manager (double-click the MSSQLServer icon on the taskbar and click Start/Continue). MSDE 2000 starts automatically on computers running Microsoft Windows NT® 4.0 or later. You might want to automatically start MSDE 2000 on Windows 95 or later by selecting the Auto-start service when OS starts check box on the SQL Server Service Manager window.转载自http://www.csdn.net/expert/topic/513/513849.xml?temp=.1040003
      

  2.   

    最好是在服务器端装一 SQL Server客户端当然不用装了