ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / WINDEV executable
  • Overview
  • Directory in which the User Groupware data files will be created
  • Directory for creating the HFSQL Classic data files of the application
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
Creating an executable: Data file directory
Directory in which the User Groupware data files will be created
Two categories of files are managed:
  • the data files used to identify the users. These data files can be common to several applications.
  • the data files used to manage the rights granted to the users on the different application windows. These files are specific to the application.
For more details, see User Groupware files.
By default, these data files are created in the "<ApplicationName>_GPW" subdirectory of the installation directory of the application. However, this directory can be modified. This directory can correspond to:
  • a specific directory
  • the directory of the application data. This choice is adapted to the UAC mechanism of Windows Vista. If the users work with Windows Vista (or later) and if the UAC mechanism is enabled, they will be able to use the application without any specific administrator rights.
The table below presents the different methods proposed by WINDEV to modify this directory.
Data files of users
(can be common to several applications)
Data files of the rights granted to the users (specific to the application)
How do I modify the creation directory of these data files?
  • through programming, with gpwOpen (if the User Groupware has not been integrated with the "Automatic start" option).
  • when configuring the User Groupware (caution: this directory is used for the tests of the application only).
  • when creating the executable of the application.
  • when installing the application. This directory is selected by the user.
  • through programming, with gpwOpen (if the User Groupware has not been integrated with the "Automatic start" option).
  • when installing the application. This directory is selected by the user.
What is the priority order when defining the creation directory of these files?
  1. The directory specified with gpwOpen (if the User Groupware has not been integrated with the "Automatic start" option).
  2. The directory selected by the user when installing the application (if the setup program allows the user to select this directory).
  3. The directory selected when creating the application executable.
  4. The default directory ("<ApplicationName>_GPW" sub-directory of the setup directory of the application).
    Therefore, the directory specified by gpwOpen has priority over all the other directories.
  1. The directory specified with gpwOpen (if the User Groupware has not been integrated with the "Automatic start" option).
  2. The directory selected by the user when installing the application (if the setup program allows the user to select this directory).
  3. The default directory ("<ApplicationName>_GPW" sub-directory of the setup directory of the application).
    Therefore, the directory specified by gpwOpen has priority over all the other directories.

Special case: the data files of user groupware are installed with the application
These data files are installed in the directory specified when creating the setup program (destination directory).
Directory for creating the HFSQL Classic data files of the application
By default, the HFSQL data files are created in the directories specified when describing files in the analysis. However, these directories can be modified:
  • when creating the executable of the application.
    Several options are available:
    Available options
    • Automatic (recommended): This option is used to install the data files:
      • in the application data directory (if the executable is installed in "Program files").
      • in the executable directory.
      This option is recommended because it can adapt to most of the setup configurations.
    • Application data directory (defined by Windows). This choice is recommended if the application must be used in Windows Vista. Therefore, the "local" files used by the application will be included in a directory accessible and modifiable by the application (without requiring any specific rights).
    • User data directory (defined by Windows).
    • Specific directory.
    • Executable directory.
  • through programming with HSubstDir or HChangeDir.
  • when installing the application. The directory for creating the data files will be selected by the user.
In any case, the directory for creating the data files is defined according to the following priority order:
  1. Directory specified by HSubstDir or HChangeDir.
  2. Directory selected when installing the application (if this option is proposed to the user).
  3. Directory selected when creating the executable.
  4. Directory specified when describing the files in the analysis.
Therefore, the directory defined by HSubstDir or HChangeDir has priority over all the other directories.
Special case: data files installed with the application
These data files are installed in the directory specified when creating the setup program (destination directory specified in the "Files installed" step).
The same directory should be used to install the data files supplied with the application and to create the new data files.
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 09/04/2023

Send a report | Local help