Deploying Applications from eMbedded Visual Tools
This topic describes deployment during development and final application deployment for applications developed using Microsoft® eMbedded Visual Basic® and Microsoft eMbedded Visual C++®.
Deployment During Development
During development, different deployment options are available depending upon the programming language you are using.
Using eMbedded Visual Basic
The Microsoft eMbedded Visual Basic development environment automates many of the debugging processes that you must use to develop a new application. Part of this process includes downloading the application to a Microsoft Windows® CE-based device on which the application can be run and debugged. The development environment uses Microsoft ActiveSync® on the development computer to download the files to the Windows CE-based device.
Microsoft eMbedded Visual Basic automatically monitors the executable files that are included in the application and the DLLs the application uses. During the download process, eMbedded Visual Basic downloads the latest version of these components: Ssce20.dll and Ssceca20.dll.
Note SQL Server CE Query Analyzer (Isqlw20.exe) and a DLL that provides error descriptions for use during development (Ssceerror20en.dll) must be manually copied to the Windows CE-based device.
To include SQL Server CE in your project, on the Project menu, click References, Microsoft CE SQL Server Control 2.0, and then Microsoft CE ADO Control 3.1. If you are using Microsoft ActiveX® Data Objects Extensions for Data Definition Language (DDL) and Security (ADOXCE), you must also include Microsoft CE ADO Ext. 3.1 for DDL.
Using eMbedded Visual C++
Although eMbedded Visual C++ can deploy the application to the device, it cannot download SQL Server CE components. To install SQL Server CE components, there are two options:
- Create an eMbedded Visual Basic application, as described previously, that references SQL Server CE. (Create a blank application because it is used only to install SQL Server CE.)
- Manually install SQL Server CE components. For more information, see "Manual Installation Process" in Installing SQL Server CE on a Device Using eMbedded Visual Tools.
Final Application Deployment
Windows CE-based applications are typically distributed as .cab files. There are two ways to create .cab files for the eMbedded Visual Tools application:
- If you have an eMbedded Visual Basic project, use the eMbedded Visual Basic Application Install Wizard. This tool creates an installation package for the application that includes Windows CE .cab files. It also leaves the .inf file that is used to create the .cab files in the directory to which the application is deployed. You can modify this .inf file if additional customization is needed. For more information, see "Using the Application Install Wizard" in the eMbedded Visual Basic documentation.
- Create custom cab files using the CAB Wizard (Cabwiz.exe). For information about using the CAB Wizard, see "Installing Applications" in the Windows CE documentation in the MSDN® Library at this Microsoft Web site. For information about the files required to create a SQL Server CE .cab file see "Manual Installation Process" in Installing SQL Server CE on a Device Using eMbedded Visual Tools.