UltraLite ActiveX User's Guide
Tutorial: Using Dynamic SQL in an UltraLite Application for PocketPC
Lesson 4: Deploy to a device
The following procedure deploys your application to a device using the Application Install Wizard. The Application Install Wizard creates a cabinet file (.cab) that contains the files necessary for deployment and an executable to deploy these files.
To deploy using the Application Install Wizard
Before using the Application Install Wizard, you must complete your project and execute it to ensure that it does not generate run-time errors.
Select File
Browse to c:\tutorial\evb. Name your project Form2. Click OK.
Select Tools
The Application Install Wizard appears.
Browse to c:\tutorial\evb\Form2.ebp. Click Next.
Browse to c:\tutorial\evb\Form2.vb. Click Next.
Browse to c:\tutorial\evb\. Click Next.
Select the processors your application will support. If you select more than one processor, each will be contained in a separate .cab file. Click Next.
Select iAnywhere Solutions, ActiveX for UltraLite. The UltraLite ActiveX control will be registered automatically upon installation of your application. Click Next.
Deploy the schema file to your device.
Click Add.
Browse to c:\tutorial\tutorial.usm.
Click Open.
If a prompt asks whether it is a system file, click No.
Check Include Device Runtimes in Cab file if you want the device runtimes to be included in your installation. The device runtimes are not always required and can make the .cab file very large if included. If the application works with the currently installed runtimes, there is no need to check this option.
Click Next.
Enter tutorial in each of the fields. Click Next.
Click Create Install to create the .cab files and setup executable.
The wizard creates a folder, CD1, in the directory you specified to store the output files. CD1 contains all the files you need to distribute your application.
Click Finish.
Run c:\tutorial\evb\CD1\setup.exe on a desktop computer to install your application to the device attached to it.