PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Managing additional languages in WDSetup
  • Running the test of custom WDSetup
  • Overview
  • Configuring and generating the setup program
  • Running the test of custom WDSetup
  • Using a custom WDSetup as setup program
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview
The "WDSetup" project corresponds to the standard setup program of the WINDEV applications.
This project supports French and English (US) by default.
Caution: If you are using a custom WDSetup, you must take into account the evolutions performed between the version 10 and the version 11. Indeed, the format of the setup was modified between these two versions. To apply the evolutions performed in version 11, select "File .. Comparison" between your project and the WDSetup project supplied with WINDEV 11.Notes:
  • If you are using a custom WDSetup, you must take into account the evolutions performed between the different versions. To apply the evolutions, use the file comparison: on the "Project" pane, in the "Other actions" group, expand "Compare" and select "Compare two projects". In the wizard, select your project and the WDSetup project supplied with WINDEV.
  • Versions 21 and later
    To add new planes into the wizard or new features, you have the ability to use a plug-in. See Customizing the setup program (Plug-in) for more details.
    New in version 21
    To add new planes into the wizard or new features, you have the ability to use a plug-in. See Customizing the setup program (Plug-in) for more details.
    To add new planes into the wizard or new features, you have the ability to use a plug-in. See Customizing the setup program (Plug-in) for more details.
  • Versions 22 and later
    From version 22, the WDSetup project is supplied with two configurations: a 32-bit configuration and a 64-bit configuration.
    New in version 22
    From version 22, the WDSetup project is supplied with two configurations: a 32-bit configuration and a 64-bit configuration.
    From version 22, the WDSetup project is supplied with two configurations: a 32-bit configuration and a 64-bit configuration.
Managing additional languages in WDSetup
To manage additional languages in WDSetup:
  1. Open this project in WINDEV ("File .. Open a project").
    By default, this project is found in the "Examples\Full examples\WDSetup" directory of the setup directory of WINDEV.
    Open this project in WINDEV: on the "Home" pane, in the "General" group, expand "Open" and select "Open a project".
    By default, this project is found in the "Examples\Full examples\WDSetup" directory of the setup directory of WINDEV.
  2. Close all the windows opened in the window editor.
  3. Add the additional languages into the "Languages" tab of the project description ("Project .. Project description").Add the additional languages into the "Languages" tab of the project description.
    To display the project description, on the "Project" pane, in the "Project" group, click "Description".
  4. Translate the interface of the project (windows, controls, ...) as well as the code messages.
    Reminder: WDMSG is used to simplify the translation of a project by checking out all the project messages (control captions, window titles, ...) and by checking them back in once they have been translated. WDMSG is an additional module of WINDEV. Contact PC SOFT Sales Department for more details about WDMSG.
  5. Create a new executable ("Workshop .. Executable .. Generate the executable (32 bits)"). In the wizard, don't forget to include the new languages in the executable.
    Note: The executable can be renamed.
    Create a new executable.
    Reminder: To create the executable:
    • expand Generate among the quick access buttons.
    • select "Generate the 32-bit executable (.exe)".
      In the wizard, don't forget to include the new languages in the executable.
      Note: The executable can be renamed.
    Versions 22 and later
    Create a new executable for each configuration (32-bit configuration and 64-bit configuration).
    Reminder: To create the executable:
    • enable the requested configuration (32 bits or 64 bits).
    • expand Generate among 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.
    New in version 22
    Create a new executable for each configuration (32-bit configuration and 64-bit configuration).
    Reminder: To create the executable:
    • enable the requested configuration (32 bits or 64 bits).
    • expand Generate among 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.
    Create a new executable for each configuration (32-bit configuration and 64-bit configuration).
    Reminder: To create the executable:
    • enable the requested configuration (32 bits or 64 bits).
    • expand Generate among 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.
Caution: We recommend that you rename the directory of the custom WDSetup project. Therefore, when installing an upgraded version of WINDEV, the custom WDSetup project will not be overwritten and all your modifications will be stored.
Running the test of custom 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. Run the test of 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 wizard for creating the setup program or in the setup editor WDINST.
  2. If you are using the wizard for creating the setup program, select "Continue to customize the setup in WDINST" at the end of the wizard.If you are using the wizard for creating the setup program, at the end of the wizard, generate the setup and start WDINST.
  3. In the setup editor WDINST, select "Setup parameters .. Options of the installer".
  4. Check "Custom installer" and select the executable of the custom setup program.
    Note: 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).
    Validate.
    In 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.
    Notes:
    • Versions 22 and later
      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.
      New in version 22
      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.
      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. In the "Advanced" tab, check "Keep the WXF file to run the test of a custom WDSetup". See WXF file for more details.
  10. Validate the window to generate the setup program.

Running the test of custom WDSetup

To run the test of a custom WDSetup in WINDEV:
  1. Copy the following files into the "EXE" directory of the custom setup program (custom "WDSetup" project):In the "EXE" directory (sub-directory corresponding to the 32-bit ot 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, ...),
    • 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. Select "Project .. Test mode .. Configure the test mode". On the "Project" pane, in the "Test mode" group, expand "Test mode" and select "Configure the test mode".
  4. Enter the following command line: "/Dir=<PathINSTALLDirectory>", where <PathINSTALLDirectory> corresponds to the path of the INSTALL directory created in the generation directory of the setup program.
    For example, if the generation directory of the setup program is: "C:\Temp", the path of the INSTALL directory will be: "C:\Temp\INSTALL".
  5. Select "Project .. Test mode .. Debug the project".On the "Project" pane, in the "Test mode" group, expand "Test mode" and select "Debug the project".Select the project configuration corresponding to the version to check (32 or 64 bits) and run the project test (CTRL + F9).
Caution: When this test is run, the setup 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 parameters .. Options of the installer".
  2. Check "Custom installer" and select the executable of the custom setup program.
    Note: 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).
    Validate.
    In 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.
    Notes:
    • Versions 22 and later
      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.
      New in version 22
      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.
      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 required version
  • Version 9
Comments
Click [Add] to post a comment