ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Installing applications and websites / WINDEV application / Setup editor
  • Overview
  • Viewing the list of files to install
  • Sort the list of files to install
  • Modifying the destination directory of a file found in the list of files to install
  • Finding out and modifying the characteristics of a file found in the list of files to install
  • Installing one or more additional files
  • By default, the setup automatically selects all the files found in the "EXE" directory of the project.
  • Adding one or more individual files
  • Adding one or more files corresponding to a generic file
  • Deleting one or more files to install
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
Overview
The setup editor WDInst is used to manage the files to install:
The files to install are managed in the setup editor WDInst. To start WDInst, go to the "Tools" tab, "Utilities" group and click "WDInst".
Unlike the wizard for creating the setup program, WDInst proposes an advanced management of the files to install.
Viewing the list of files to install
The files to install can be viewed in the "List of setup files" window of WDInst.
Two types of files are displayed in this list:
  • Individual files. The file is defined by its full name (name and extension) on the development computer. This file will be included in the setup program (if it is found in the source directory during the generation).
  • Generic files. The name of the file contains wildcard characters (*,?). All the files found in the source directory and corresponding to this filter will be included in the setup program during the generation.
For example:
To view the files associated with a group of files, select the desired group in the "Displayed group" combo box.

Sort the list of files to install

To sort the list of files to install, click the header of the column corresponding to the sort criterion (file name, source directory, destination directory, ...).

Modifying the destination directory of a file found in the list of files to install

The destination directory corresponds to the directory in which the file will be installed.
To define the destination directory, the following keywords can be used:
  • <SetupDir>: setup directory chosen by the user during the setup.
  • <SetupDrive>: drive of the setup directory chosen by the user during the setup.
  • <SetupFile>: setup directory of data files. WDInst is used to configure this directory. For more details, see Configuring the directory of data files.
  • <WinDir>: Windows directory of user computers
  • <SysDir>: system directory.
  • <RefDir>: reference directory for the setups with automatic update only.
For example: "<SetupDir>\MyDirectory".
To modify the destination directory of a file found in the list of files to install:
  1. Select the desired file.
  2. Click the "Destination directory" column.
  3. Enter the new destination directory.

Finding out and modifying the characteristics of a file found in the list of files to install

The characteristics of the selected file can be viewed and modified in the "File description" window of WDInst.
To discover the different elements in the WDInst UI, see WDInst interface
This window allows you to:
Installing one or more additional files

By default, the setup automatically selects all the files found in the "EXE" directory of the project.

The setup editor WDInst allows you to add:
  • Individual files.
  • Generic files.
These types of files have been presented in the previous paragraph.

Adding one or more individual files

To add one or more individual files:
  1. Select "Edit .. Add files". The window for adding files is opened.
  2. Select the drive and the directory where the files to add will be found. The list of the files found in the directory is displayed.
  3. To filter the files displayed according to a search criterion, enter the search criterion in the "Filter" option ("*.DLL" or "*customer*" for example) and click the "Filter" button.
    Remark: Wildcard characters (*,?) are allowed.
  4. Check "one or more files".
  5. Select the files to add.
    To select several files simultaneously, hold the Ctrl or Shift key down when selecting files.
  6. Specify the destination directory of the files to install.
    To define the destination directory, the following keywords can be used:
    • <SetupDir>: setup directory chosen by the user during the setup.
    • <SetupDrive>: drive of the setup directory chosen by the user during the setup.
    • <SetupFile>: setup directory of data files. WDInst is used to configure this directory. For more details, see Configuring the directory of data files.
    • <WinDir>: Windows directory of user computers
    • <SysDir>: system directory.
    • <RefDir>: reference directory for the setups with automatic update only.
      For example: "<SetupDir>\MyDirectory".
  7. To associate the files to install to a group of files, click the "Other" button and specify the group of files to associate.
  8. Validate the addition of files.

Adding one or more files corresponding to a generic file

To add one or more files corresponding to a generic file:
  1. Select "Edit .. Add files". The window for adding files is opened.
  2. Select the drive and the directory where the files to add will be found.
  3. Check "a generic file".
  4. Enter the generic file ("*.BMP" for example).
    Remark: Wildcard characters (*,?) are allowed.
  5. To select the files located in the subdirectories of the specified directory, check "Recursively add all the corresponding files".
  6. Specify the destination directory of the files to install.
    To define the destination directory, the following keywords can be used:
    • <SetupDir>: setup directory chosen by the user during the setup.
    • <SetupDrive>: drive of the setup directory chosen by the user during the setup.
    • <SetupFile>: setup directory of data files. WDInst is used to configure this directory. For more details, see Configuring the directory of data files.
    • <WinDir>: directory of Windows on the user computers.
      For example: "<SetupDir>\MyDirectory".
  7. To associate the files to install to a group of files, click the "Other" button and specify the group of files to associate.
  8. Validate the addition of files.
Deleting one or more files to install
To delete one or more files to install:
  1. Select the files to delete in the "List of setup files" window.
    To select several files simultaneously, hold the Ctrl or Shift key down when selecting files.
  2. Select "Edit .. Delete" (or press the Del key).
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 06/06/2023

Send a report | Local help