UltraLite ActiveX User's Guide
Tutorial: An UltraLite Application for PocketPC
Lesson 4: Deploy to a device
The following procedure deploys your application to a mobile device using the Application Install Wizard. The Application Install Wizard creates an executable file and a cabinet (.cab) file that contains the files necessary for deployment.
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 Form1. Click OK.
Select Tools
The Application Install Wizard appears. Click Next.
Browse to c:\tutorial\evb\Form1.ebp. Click Next.
Browse to c:\tutorial\evb\Form1.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\tutcustomer.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 your desktop computer to install your application to the device attached to it.
You can now launch your application on your device by browsing to Program Files\tutorial and launching Form1.vb.