- How to?
- To create a WINDEV executable
- Error case
Once the development of your WINDEV application is completed (windows, reports, queries, etc.), you can create the corresponding executable file. WINDEV allows you to create the executable file for Windows applications.
The ".EXE" file can be run directly: there is no need to start the application from WINDEV.
Remark: The executables created with WINDEV can be checked by the Windows App Certification Kit. The Windows App Certification Kit tests and validates whether your application is ready to get certified and published on the Microsoft Store.
To create a WINDEV executable
- Start the executable generation wizard via one of the following methods:
- On the "Project" tab, in the "Generation" group, click "Generate".
- Expand in the quick access buttons and select "Generate 32-bit Windows executable (.exe)".
- Specify the general options of the executable (executable name, icon, etc.).
- Enter the error message that will be displayed if a programming error occurs. This error message can be written in all the languages supported by the current project.
- Specify whether the application must send data for the telemetry.
Caution: implementing the telemetry in an application requires implementing a telemetry server. For more details, see the following pages:
- Specify if the executable program will use Patches for updates. In this case, you just have to copy the patch file to the executable directory. For more details, see Application patch.
- Specify the languages to be included in the executable file.
- Specify the files to include in the main library of the application.
- If your project uses external components, specify whether they must be included in the executable file.
- If your application supports the User Groupware, specify the directory in which the user groupware data files will be created.
- Specify the directory in which the data files used by the application will be created.
- Specify the executable information available in the "Version" or "Details" tab of the file description in the explorer:
- Executable information (application description, copyright, etc.).
- Signature of the executable: If the executable must be signed, specify the certificate to use. This certificate must be on the Microsoft Store (more precisely on the user store and not on the computer store). The signature standard used is PKCS7.
This signature is used to:
- make sure that the executable has not been modified since it was generated.
- display the editor name in the Windows download window.
- Specify the executable version number.
- Select the mode for using the WINDEV framework (.DLL files). Specify whether o not the DLLs of the WINDEV framework must be included in the executable. Select the DLLs to be used.
- If your application is used on Windows Vista (or later), specify whether a manifest must be included in the executable file. In this case, specify the level of privilege that must be managed.
- Select the external libraries (".WDL" files) used by the executable program.
- Validate the creation of the executable program. Once the executable program is created, WINDEV prompts you to run it.
- If the executable and the setup procedure are created at the same time, the wizard also allows you to document the new features.
- The generation directory can be opened at any time: on the "Home" tab, in the "General" group, expand and select "Browse generation directory".
If an "Access denied" error occurs during the generation of the executable file, it means that a process is blocking it.
The blocking program must be identified. The programs to be examined are those configured to have an impact on all the files located on the disk (backup, data synchronization, antivirus, etc.). A tool such as "Process Explorer" can help you find the relevant process.