![]() |
|
QA: How can I install ADOCE 3.1?
By Joao Paulo Figueira, November 18, 2003.
QuestionWhat is the correct method of installing ADOCE 3.1 both on the device and emulator? AnswerTo answer this question, I have developed an installation package that you can use in your own projects. Delivering the installation may be achieved by copying the appropriate cab files to the device (or emulator) or by including them in your application's setup script. Generating the Cabinet FilesSource code and cab files are included in the sample installer (see below). The cab files are generated using the makecab.bat command file. This file assumes a specific path that you should change to suit your needs. If there are any generated errors during the cab file creation, these will be reported in the ADOCE31.err file. Always check the contents of the file when running makecab.bat. Localizing ADOCE 3.1In this sample, I have included the Portuguese resource dll (msdaerpt.dll). If you want to include your localized version, you must find it under the Windows CE Tools\wce300\Pocket PC 2002\dataaccess31\target\arm and x86, copy to the appropriate subfolder (SA_Files for arm and x86_Files for x86), replace all occurrences of msdaerpt.dll in ADOCE31.inf by your own dll and run makecab.bat. InstallingYou can install the dlls by either copying the cab files to the device or emulator and executing them (they will be automatically deleted at the end), or by using the CeAppMgr shortcut (you may need to change the target to suit your system). This will simulate a setup session through ActiveSync. WarningsThis setup has been tested only on Pocket PC 2002 devices and emulator. Before you use the sample to create your own cab files, make sure you have changed all the paths (makecab.bat and CeAppMgr). And that's it. Sample InstallerYou can download the sample installer here - ADOCE31.zip (1M). Related resources:
DiscussDiscuss this article. Here you can write your comments and read comments of other developers. |
|||||||||||||||||||||