PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
New WINDEV Mobile 24 feature!
  • This lesson will teach you the following concepts
  • Overview
  • Setup in MSI format
  • Initial setup
  • Update in MSI format
  • Setup in CAB format
  • Initial setup
  • Update in CAB format
Lesson 7.4. Distributing the application
This lesson will teach you the following concepts
  • Available distribution modes.

Estimated time: 20 mn
Previous LessonTable of contentsNext Lesson
Overview
WINDEV Mobile allows you to develop applications for Windows Mobile. Several methods can be used to install a WINDEV Mobile application on a device running Windows Mobile (Pocket PC for example):
  • setup in CAB format. This setup program is run on the mobile device directly.
  • setup in MSI format. This setup program is run on a PC running Windows connected to a mobile device (Pocket PC for example).
  • setup by direct copy of executable from the PC to the Pocket PC (as already seen in the previous lessons).
These different setup modes are available via the wizard for setup creation.

Caution

The setup of a Windows Mobile application can be created with a 32-bit WINDEV Mobile editor only.
  • To start the setup wizard:
    1. On the "Project" pane, in the "Generation" group, click "Setup procedure". The wizard for creating the executable and the setup starts.
    2. The executable being already created, click "2-Setup" on the left of the wizard.
    3. In the message box that is displayed, click "Access the setup options".
    4. The description screen of application is displayed. Go to the next step via the arrow buttons.
    5. You can choose the setup mode of your mobile application:
    6. For our example, we are going to choose a setup by ActiveSync: check the corresponding option and go to the next step.
    7. The wizard asks for the setup directory of application. Keep the default option. Go to the next step via the arrow buttons.
    8. Specify the files to install. The wizard proposes the executable. You also have to install the data files of application. Click the "Add" button and select the HFSQL files (.fic, .ndx and .mmo files) found in the EXE directory of your project.
    9. Go to the next step.
    10. Uncheck the options for configuring the databases. Go to the next step.
    11. The wizard proposes to install additional modules. We won't select any. Go to the next step.
    12. The generation directory of setup is proposed.
    13. Validate. The setup is generated.
    14. WINDEV Mobile proposes to start the setup or to open the generation directory.
Setup in MSI format

Initial setup

This setup consists in:
  • creating the application executable on the development computer via WINDEV Mobile.
  • generating the setup program of application on the development computer via WINDEV Mobile. This program corresponds to a ".MSI" file.
  • distributing this setup program to the end users.
  • running this setup program on PCs. The application will be automatically installed on the mobile device connected to the current computer, via ActiveSync.
Note: If no mobile device is connected, the setup will be performed during the next synchronization between the PC and the mobile device.
To use this application, start the application on the mobile device (double-click the ".EXE" file for example).

Update in MSI format

The MSI format proposes two types of updates:
  • update by entirely re-installing the application . In this case, the update is identical to an initial setup.
  • update by Internet (HTTP protocol) in CAB format. This update consists in:
    • creating the application executable on the development computer via WINDEV Mobile.
    • generating the setup program of application on the development computer via WINDEV Mobile. This setup program corresponds to a ".CAB" file.
    • copying this setup program onto a Web directory by FTP.
    • retrieving and installing the update on the mobile device.
Setup in CAB format

Initial setup

This setup consists in:
  • creating the application executable on the development computer via WINDEV Mobile.
  • generating the setup program of application on the development computer via WINDEV Mobile. This setup program corresponds to a ".CAB" file.
  • copying this setup program onto the mobile devices of the end users (via a memory card, by GPRS from an Internet site or via the file explorer).
  • running this setup program on the mobile devices. This program installs all the files required by the application. At the end of setup, the ".CAB" file is automatically deleted from the device.
To use this application, start the application on the mobile device (double-click the ".EXE" file for example).

Update in CAB format

The CAB format proposes two types of updates:
  • update by entirely re-installing the application . In this case, the update is identical to the initial setup. See the previous paragraph.
  • update by Internet (HTTP protocol). This update consists in:
    • creating the application executable on the development computer via WINDEV Mobile.
    • generating the setup program of application on the development computer via WINDEV Mobile. This setup program corresponds to a ".CAB" file.
    • copying this setup program onto a Web directory by FTP.
    • retrieving and installing the update on the mobile device.
Previous LessonTable of contentsNext Lesson
Minimum version required
  • Version 24
Comments
Click [Add] to post a comment