Article ID: 307595 - Last Review: January 16, 2006 - Revision: 3.0 How To Distribute an eMbedded Visual Basic ApplicationThis article was previously published under Q307595 On This PageSUMMARY After you complete the development and testing of an
eMbedded Visual Basic (eVB) application, you need to properly compile,
distribute, and install the application on target devices. The purpose of this
article is to guide you through the steps necessary to complete this process by
using the Application Install Wizard, which is included with the eMbedded
Visual Tools (eVT), and to provide information on some of the issues that may
come up during the distribution process. MORE INFORMATION The Application Install Wizard handles the creation of the
installation package for your application (including the project and all of the
necessary supporting files) and takes care of downloading the required
components to Microsoft Windows CE-based devices. This article assumes that your application has been fully tested for use on the targeted Windows CE devices and that the project has been compiled into a .vb file before you create the installation package for your project by using the Application Install Wizard. Note that, unlike the Package and Deployment Wizard in Microsoft Visual Basic, the eVB Application Install Wizard does not give you the option of recompiling the program. By default, the folder in which compiled eVB applications are placed is:
C:\Program Files\Microsoft eMbedded Tools\EVB
Of course, you can compile the application to the location of
your choice.The Application Install Wizard can be accessed by selecting it from the Remote Tools submenu under the Tools menu in the eVB design environment. Creating the Installation Program
For Windows CE HPC Pro projects:
For Windows CE Palm-size PC projects:
For PocketPC projects:
For Handheld PC 2000 projects:
The "CD1" directory includes the Setup.exe file that will be started from the desktop to install the application on a remote device. Also in this directory are the .cab files for the appropriate processors and the initialization file for the Setup program. The remaining directories include the processor-specific eVB run-time and ActiveX Control files that were specified during the Wizard process. For more information, see the "References" section of this article. Distributing and Installing the ApplicationOnly the contents of the Cd1 directory need to be distributed in order to install the application on the device.To install your application, run the Setup.exe program on your desktop computer. The first dialog box that appears allows the user to select the location on the desktop to which the application's .cab and .ini files will be copied. If the handheld device is connected to the desktop, the program will be downloaded and installed. Otherwise, this will occur on the next connection. To remove a program from the handheld device, run the Remove Programs tool. To access it, from the Start menu on the device, click Settings. REFERENCESFor additional information, click the article
numbers below to view the articles in the Microsoft Knowledge Base: 194837
(http://support.microsoft.com/kb/194837/EN-US/
)
How To Distribute a Visual Basic Windows CE Application
185223
(http://support.microsoft.com/kb/185223/EN-US/
)
How To Manually Uninstall Visual Basic CE Programs
240435
(http://support.microsoft.com/kb/240435/EN-US/
)
PATCH: WCELoad.exe Fixes ActiveX Control Hanging Problem on Palm-size PC
242312
(http://support.microsoft.com/kb/242312/EN-US/
)
How To Distribute an ADOCE 2.0 Application to a PsPC Device
For more information concerning how to customize
the installation to handle additional nondefault preferences, see the following
MSDN topic:
Using the CAB Wizard http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcesetup/html/_wcesdk_Using_the_CAB_Wizard.asp (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcesetup/html/_wcesdk_Using_the_CAB_Wizard.asp) | Article Translations
|

Back to the top
