ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Installing applications and websites / WINDEV application / Setup editor
  • Overview
  • Installing distributable WINDEV tools
  • Overview
  • To install the distributable WINDEV tools on the user computers:
  • Distribute MDAC
  • Overview
  • Distributing the MDAC executable to the users
  • Installing and configuring the ODBC driver
  • Overview
  • Installing and configuring the ODBC driver
  • Including an automatic uninstaller
  • Overview
  • Uninstalling your application
  • Including an uninstaller in the setup program
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview
By default, only the files found in the "List of setup files" window are installed on the user computers.
The setup editor WDInst gives you the ability to:
Remark: These options can also be configured in the setup program creation wizard.
Installing additional elements
The additional elements to install are managed in WDInst: on the "Tools" tab, in the "Utilities" group, click "WDInst".
The setup program creation wizard also allows you to install additional elements.
Installing distributable WINDEV tools

Overview

Several WINDEV tools can be freely distributed with your applications:
ToolsDescription
DplViewerUsed to view duplicates.
ReplicSynchroAllows you to manage the assisted Universal Replication.
WDConverConverts external files to HFSQL data files.
WDDebugUsed to debug an application remotely
WDLogSaves and restores the data files in HFSQL format and manages the logs.
WDOptimizerOptimizes access to HFSQL data files (reindexing, memo corrections, etc.).
WDReplicManages data replication between computers that use the same application.
WDSQLDefines a connection and creates SQL queries on this connection.
WDTelDiagnoReturns the list of available TAPI lines and specifies the line that will be used by the telephony functions.
WDTransUsed to cancel transactions or to free records in transaction.

To avoid cluttering up the end user computer, the files required for these tools are installed in "\Program Files\Common files\ PC SOFT\29.0". The path of the optional tools directory is returned by SysDir. For example: SysDir(srCommonProgramFiles)+"\PC SOFT\29.0".
If an application shortcut is created in the "Start" menu, the shortcut of each tool installed on the user computer will also be added to the "Start" menu (in the same program group as the application).
The HFSQL optimizer will be installed by default if the application is associated with an HFSQL database.

To install the distributable WINDEV tools on the user computers:

  1. Select "Setup settings .. Advanced parameters".
  2. Check "Include the optional tools when creating the setup.".
  3. Click "Tools" to select the tools to include.
  4. Select the tools to include and validate.
Remark: If you install a WINDEV tool without using WDInst, the following files must be supplied to the users:
  • The executable program of the tool (".EXE" file).
  • The WINDEV libraries ("wd290XXX.DLL" files).
  • The component files (".WDK" files) located in the "Programs" subdirectory of the WINDEV installation directory.
Distribute MDAC

Overview

If your application uses a database via OLE DB, the following elements must be installed on the user computers:
  • an OLE DB provider ("MSDAORA", "OraOLEDB.Oracle", "SQLOLEDB", ...).
  • MDAC (Microsoft Data Access Component) version 2.6 or later.
If MDAC is not installed, only the connection to the OLE DB database will be possible: it will not be possible to read the tables (a message indicates that this interface is not supported).
Caution: The distribution license of MDAC specifies that the executable must be downloaded (from Microsoft's website) in order to get the rights to redistribute it with an application. Before performing the operations described in the following paragraphs, you must download the MDAC executable to the current computer.
The MDAC executable can be downloaded from Microsoft's website at the following address (valid at the time of writing this document):: http://www.microsoft.com/data

Distributing the MDAC executable to the users

To distribute the MDAC executable to the users:
  1. Select "Setup settings .. HFSQL files".
  2. Check "Install MDAC found at the following location".
  3. Specify the path of the MDAC executable that was downloaded beforehand.
Installing and configuring the ODBC driver

Overview

To handle an HFSQL database from a non-WINDEV application, the ODBC driver on HFSQL must be installed and configured on the user computer. For more details, see ODBC driver on HFSQL.
Remark: The ODBC driver on HFSQL can only be used to read and write in an HFSQL database from a non-WINDEV application.

Installing and configuring the ODBC driver

To install and configure the ODBC driver:
  1. Select "Setup settings .. HFSQL files".
  2. Check "Install the ODBC driver for HFSQL".
  3. Enter the name used to identify the HFSQL database when using the ODBC driver on HFSQL.
  4. Enter the path of the analysis used as ODBC source (.WDD file corresponding to the WINDEV analysis).
Including an automatic uninstaller

Overview

To simplify the uninstall process of your application, WDInst allows you to include an uninstaller in the setup program.
In this case, the "uninst.INF" file will be created in the installation directory of the application. This file lists all the application files installed on the current computer.
Remark: To uninstall the application, the uninstaller uses an entry in the Registry. The setup editor WDInst allows you to modify this identifier. For more details, see Modifying the identifier used to uninstall the application.

Uninstalling your application

As for any Windows application that includes an uninstaller, to uninstall an application, you must:
  • display the list of programs installed on the current system ("Add/Remove programs" in the control panel).
  • select the application in the list of programs.
  • click the "Modify/Delete" button.
    The following elements will be deleted:
    • the files listed in the "uninst.INF" file.
    • the entries in the registry created when installing the application.
    • the application shortcuts (on the desktop and in the "Start" menu) if they exist.
    • the data files (".FIC", ".MMO" and ".NDX" files) after user confirmation.
    • the files saved during the different updates (if they exist) after user confirmation.
    • the directories whose files are deleted during the uninstall process.
Special case: If the application creates data files in a specific directory (different from the application subdirectories), these data files will not be automatically deleted during the uninstall process.
Remark: You have the ability to translate the different messages of the uninstaller. For more details, see Translating the uninstaller.

Including an uninstaller in the setup program

To include an uninstaller in the setup program:
  1. Select "Setup settings .. End of setup".
  2. Check "Include the uninstaller".
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 09/01/2023

Send a report | Local help