ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Installing applications and websites / WDSETUP
  • Overview
  • Managing additional languages in WDSetup
  • Testing the custom version of WDSetup
  • Overview
  • Configuring and generating the setup program
  • Testing the custom version of WDSetup
  • Using a custom WDSetup as setup program
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
WDSetup: Manage additional languages
Overview
The "WDSetup" project corresponds to the standard setup program of WINDEV applications.
This project supports French and English (US) by default.
Remarks:
  • If you are using a custom WDSetup, you must take into account the evolutions performed between the different versions. To report changes, use the file comparison function: in the "Project" pane, in the "Other actions" group, scroll down to "Compare" and select "Compare two projects". In the wizard, select your project and the WDSetup project provided with WINDEV.
  • The WDSetup project is delivered in two configurations: 32-bit and 64-bit.
Managing additional languages in WDSetup
To manage additional languages in WDSetup, you can:
  • Customize the example "WDSetup", delivered as standard with the product.
  • Create a new project based on the example "WDSetup". This solution is recommended because it eliminates the risk of overwriting the project during an update.
To create a new project based on WDSetup:
  1. From the WINDEV home window, click on "Create a project". The project creation wizard opens.
  2. Give your project a name and indicate the runtime platform.
  3. In "Description - Creation mode", choose "Create a project from an existing example". Proceed to the next step of the wizard.
  4. Choose the predefined project to use: WDSetup. Go to the next step.
  5. Indicate if the project should be saved in the SCM (Source Code Manager).
  6. Validate. The project is automatically created. It contains all the elements of the example "WD Setup" and can be modified and customized.
To add the new languages to the WDSetup custom project:
  1. Add the additional languages to the "Languages" tab of the project description.
    To open the project description, go to the "Project" tab, "Project" group and click "Description".
  2. Translate the interface of the project (windows, controls, etc.) and the text from the code.
    Reminder WDMSG facilitates project translation by extracting all project messages (field labels, window titles, etc.) and reintegrating messages after translation. WDMSG is an additional module of WINDEV. Contact PC SOFT Sales Department for more details about WDMSG.
  3. Create a new executable for each configuration (32-bit configuration and 64-bit configuration).
    Reminder: To create an executable:
    • enable the desired configuration (32 bits or 64 bits).
    • expand Generate in the quick access buttons.
    • select "Generate the 32-bit executable (.exe)" or "Generate the 64-bit executable (.exe)".
      In the wizard, don't forget to include the new languages in the executable.
Testing the custom version of WDSetup

Overview

To run the test of a custom setup program (custom WDSetup), you must:
  1. Configure the setup program and generate this setup program.
  2. Test the custom WDSetup project in WINDEV. To run this test, you must:
    • copy the files into the EXE directory of the custom setup program,
    • enter a specific command line.

Configuring and generating the setup program

To configure the setup program and to generate this setup program:
  1. Configure the setup program with the setup program creation wizard or in the setup editor (WDInst).
  2. If you are using the setup program creation wizard, generate the setup and start WDInst.
  3. In the setup editor WDInst, select "Setup settings .. Options of the installer".
  4. On the "WINDEV framework" tab, select (if necessary) "Copy the WINDEV framework with the setup".
    Then, click the "Customizing the installer" tab.
    Select "Use a custom installer" and select the executable of the custom setup program.
    Remarks:
    • Depending on the type of setup to perform, you can select the executable corresponding to the 32-bit setup program or to the 64-bit setup program.
    • The corresponding libraries (".DLL" files) can be associated with the executable of the custom setup program in the "Installer DLLs" tab (case of renamed libraries for example).
  5. Validate the window for installer options.
  6. Select "File .. Generate".
  7. To run the test, we recommend that you select a unique directory for the support of the setup program.
  8. Specify the directory for generating the setup program.
  9. On the "Advanced" tab, check "Keep the WXF file to run the test of a custom WDSetup". For more details, see WXF file.
  10. Validate the window to generate the setup program.

Testing the custom version of WDSetup

To test the custom version of WDSetup in WINDEV:
  1. In the "EXE" directory (subdirectory corresponding to the 32-bit or 64-bit configuration) of the custom setup program (custom "WDSetup" project), copy the following files:
    • the "<ApplicationName>.WXF" file (found in the directory of the project to install),
    • the license files, if a license agreement is displayed at the beginning of the application setup,
    • the image files used for the interface of the setup program (background image, logo, etc.),
    • the image files used for the slides of the setup program (if necessary).
  2. In WINDEV, open the custom setup program (custom "WDSetup" project).
  3. On the "Project" tab, in the "Test mode" group, expand "Test mode" and select "Configure test mode".
  4. Enter the following Command line: "/Rep=<CheminRépertoireINSTALL>"where <CheminRépertoireINSTALL> is the path to the INSTALL directory created in the installation program generation directory.
    For example, if the installation program generation directory is: "C:\Temp", the INSTALL directory path will be: "C:\Temp\INSTALL".
  5. Select the project configuration corresponding to the version to check (32 or 64 bits) and run the project test (Ctrl + F9).
Please note: In this test, the installation is actually performed in the specified directory.
Using a custom WDSetup as setup program
The custom setup program is selected in the setup editor WDInst.
To use a custom WDSetup as setup program:
  1. Select "Setup settings .. Options of the installer".
  2. On the "WINDEV framework" tab, select (if necessary) "Copy the WINDEV framework with the setup".
    Then, click the "Customizing the installer" tab.
    Select "Use a custom installer" and select the executable of the custom setup program.
    Remarks:
    • Depending on the type of setup to perform, you can select the executable corresponding to the 32-bit setup program or to the 64-bit setup program.
    • The corresponding libraries (".DLL" files) can be associated with the executable of the custom setup program in the "Installer DLLs" tab (case of renamed libraries for example).
  3. Validate the window for installer options.
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help