PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Setup format
  • Available setup formats
  • Updating the application by Internet
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview
Installing an application on a Pocket PC can be performed:
  • as a setup in CAB format. This setup program is directly run on a Pocket PC.
  • as a setup performed via a setup program (MSI format). This program is directly run on a PC equipped with Windows and connected to a Pocket PC.
You also have the ability to allow the application to be updated by Internet.
Setup format

Available setup formats

  • To generate a setup in CAB format, select "Generate a setup for mobile device (CAB format)".
  • To generate a setup in MSI format, select "Generate a setup for PC with ActiveSync or with the Manager for Windows Mobile Device (MSI format)".
Regardless of the selected setup format, the updates can be performed by Internet. However, the updates must use the CAB format only.

Updating the application by Internet

These options are used to update the application by Internet (HTTP protocol):
  • Frequency for checking the updates (every 2 days, every week, ...). If this option is set to 0, the updates will be checked whenever the application is run on the Pocket PC.
  • URL used for check: Corresponds to the Web directory into which the update will be copied (for example "http://MyServer/MyDirectory"). Two files will be available at this address:
    • a ".CAB" file corresponding to the update of the application
    • the "VERSION.WX" file containing the version number of the update.
      At the end of the wizard, an upload of these files by FTP will be proposed. You can also transfer these files to the specified address by any other method.
  • Version number of application. If the version number of the application installed on the Pocket PC is less than this number, the update will be proposed. This number can:
    • correspond to the version number of an executable.
    • be specified. This solution is recommended if the application contains several executables and/or if the application uses external components.
Important: These options must be specified when creating the initial setup program.
Special case: Using an IIS server
If the update is available on an IIS server, the MIME type of the ".WX" file must be declared on the server. Indeed, if the server does not recognized the MIME type of a file, it will refuse to download it.
To declarer a MIME type in IIS:
  1. In the IIS service manager, display the properties of the Web site.
  2. In the "HTTP headers" tab, click the "Types of files" button found in the "MIME" section.
  3. Click the "New type " button and enter the following information:
    • Associated extension: .WX
    • Type of content: text/plain
  4. Validate.
Special case: Using an Apache server
If the update is available on an Apache server, the MIME type of the ".WX" file must be declared on the server. Indeed, if the server does not recognized the MIME type of a file, it will refuse to download it.
To declarer a MIME type in Apache:
  1. Open the mime.types file. This file is available in the "conf" directory of Apache.
  2. Find the line that starts with "text/plain" and add "wx" at the end of this line. For example:
    text/plain txt text conf def list log in wx
  3. Save the file.
Minimum required version
  • Version 10
Comments
Click [Add] to post a comment