|
|
|
|
|
- Overview
- Allowing the user to configure the directory of data files
- Directory where the data files are created
- Setting during the setup
- Special case: some data files are installed along with the application
- Allowing the user to configure the directory of data files
- Suggest settings for the User Groupware file directory
- Directory in which the User Groupware data files will be created
- Suggest settings for the User Groupware data file directory
WDInst: set directory for data files and User Groupware files
The setup editor WDInst allows you to add additional options into the setup program. These additional options allow the user to specify: - the application's data file directory.
- User Groupware file directory.
These options can also be added using the setup program creation wizard. Reminder: To launch WDInst, under the "Tools" pane, in the "Utilities" group, click on "WDInst". Allowing the user to configure the directory of data files Directory where the data files are created By default, the 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.
- through programming with HSubstDir or HChangeDir.
- when installing the application. The directory for creating the data files will be selected by the user.
Setting during the setup If your application uses data files, you can allow the user to set the location of the data files when installing the application. The directory selected by the user will be automatically used for all the data files created by the application. It is directly stored in the executable, without using the registry or a parameter file. Note: This directory will be proposed by default when installing application updates. This option allows you to avoid programming the location of data files (with HSubstDir for example). Reminder In all cases, the directory for creating data files is defined in the following order of priority: - Directory specified by HSubstDir or HChangeDir.
- Directory selected when installing the application (if this option is proposed to the user).
- Directory selected when creating the executable.
- 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: some data files are installed along with the application These data files are installed in the directory specified in WDInst (destination directory). For a network setup, these data files will be installed in the "<ExecutableName>" subdirectory of the application installation directory on the server. Allowing the user to configure the directory of data files To allow the user to configure the directory of data files: - Select the "Installation parameters . HFSQL files" option.
- Click the "Connections" tab.
- Select "Edit location of data files".
- Click the "Parameter" button.
- Check "The values entered during the setup (specify the default values)".
Suggest settings for the User Groupware file directory Directory in which the User Groupware data files will be created If your application uses the User Groupware, two categories of data files are supported: - 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 windows of the application. These files are specific to the application.
By default, these data files are created in the "GPW_<ApplicationName>" subdirectory of the application installation directory. However, this directory can be modified. The table below presents the different methods proposed by WINDEV to modify this directory. | | | | Data files used to identify the users | Data files used to manage the rights granted to the users |
---|
How to modify the creation directory of these files? | - when configuring User Groupware (note: this directory is only used for application testing).
- when creating the executable of the application.
- when installing the application. This directory is selected by the user.
| - when installing the application. This directory is selected by the user.
| What is the priority order when defining the creation directory of these files? | - The directory selected by the user when installing the application (if the setup program allows the user to select this directory).
- The directory selected when creating the application executable.
- The default directory ("GPW_<ApplicationName>" subdirectory of the application's installation directory).
Therefore, the directory selected by the user has priority over the other directories. | - The directory selected by the user when installing the application (if the setup program allows the user to select this directory).
- The default directory ("GPW_<ApplicationName>" subdirectory of the application's installation directory). Therefore, the directory selected by the user has priority over the default directory.
|
Suggest settings for the User Groupware data file directory To propose the setting of the User Groupware data file directory: - Select the "Installation parameters . HFSQL files" option.
- Check "Configure the directory of the groupware files during the setup".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|