During development you will have installed UltraLite onto your desktop with the SQL Anywhere installer. However, when you deploy UltraLite the end user, you need to manually install and register the ActiveSync provider on the end-user's computer. This ensures that ActiveSync knows when to call a specific instance of a provider for a specific application.
mlasinst.exe Installs the ActiveSync provider and registers it with the ActiveSync Manager. This utility also registers applications with the ActiveSync provider for synchronization.
mlasdesk.dll The DLL that is loaded by the ActiveSync Manager on the desktop. mlasinst.exe registers the location of this file with the ActiveSync Manager.
mlasdev.dll The DLL that is loaded by the ActiveSync Manager on the device. mlasinst.exe deploys this file to the correct location on the device.
dblgen10.dll The language resource library.
To determine which platforms the provider is supported on, see the Synchronization section of the UltraLite table in SQL Anywhere 10.0.1 Components by Platform.
Ensure that the end-user has:
The ActiveSync Manager installed.
The ActiveSync provider files copied from a development machine to the user's hard drive. If you want to use the default location, re-create the install-dir\win32 directory.
Run mlasinst to install a provider for ActiveSync. You can also use it to possibly register and deploy the UltraLite application to the user's Windows CE device—depending on the command line syntax you use. If your UltraLite application uses multiple files, however, you must manually copy the required files.
For example, because the mlasdesk.dll and mlasdev.dll have been copied to the user's install-dir\win32 directory, the following command line has omitted both the -k and -v options. However, this utility must also copy the myULapp.exe application from c:\My Files to \Program Files\ on the device. The -p -x arguments are command line options for myULapp.exe when started by ActiveSync.
mlasinst "C:\My Files\myULapp.exe" "\Program Files\myULapp.exe" "My Application" MYAPP -p -x
NoteYou can also use the ActiveSync manager to register your UltraLite application at a later time if you choose. See Registering applications with the ActiveSync Manager. |
Restart your computer so ActiveSync can recognize the new provider.
Enable the MobiLink provider.
From the ActiveSync window, click Options.
Check MobiLink Clients in the list and click OK to activate the provider.
To see a list of registered applications, click Options, choose MobiLink Clients, and click Settings.